From patchwork Thu Nov 6 15:12:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5244241 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 13FC99F2F1 for ; Thu, 6 Nov 2014 15:15:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 345582011E for ; Thu, 6 Nov 2014 15:15:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D47C220107 for ; Thu, 6 Nov 2014 15:15:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751270AbaKFPPT (ORCPT ); Thu, 6 Nov 2014 10:15:19 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:33317 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751218AbaKFPMQ (ORCPT ); Thu, 6 Nov 2014 10:12:16 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEM003Z8ID3DV90@mailout3.w1.samsung.com>; Thu, 06 Nov 2014 15:15:03 +0000 (GMT) X-AuditID: cbfec7f5-b7f956d000005ed7-59-545b8fcb912d Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 4E.7A.24279.BCF8B545; Thu, 06 Nov 2014 15:12:11 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NEM00GCFI85EK30@eusync2.samsung.com>; Thu, 06 Nov 2014 15:12:11 +0000 (GMT) From: Krzysztof Kozlowski To: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-api@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Tomasz Figa , Krzysztof Kozlowski Subject: [PATCH RESEND v3 4/4] Documentation: power: max77693-charger: Document exported sysfs entry Date: Thu, 06 Nov 2014 16:12:00 +0100 Message-id: <1415286720-6358-5-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1415286720-6358-1-git-send-email-k.kozlowski@samsung.com> References: <1415286720-6358-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLLMWRmVeSWpSXmKPExsVy+t/xK7qn+6NDDOZ2ClhsnLGe1WLSk/fM FvOPnGO1mLhyMrPF6xeGFmeb3rBb3P96lNFi8/cONotNj6+xWlzeNYfN4nPvEUaLGef3MVms PXKX3eJ0N6vF6d0lFqt2/WF0EPDYOesuu8fmFVoem1Z1snncubaHzWPeyUCPzUvqPfq2rGL0 +LxJLoAjissmJTUnsyy1SN8ugSuja8JD9oLlQhVL7h1gbWCcx9/FyMkhIWAi8fbEZCYIW0zi wr31bF2MXBxCAksZJSbtu8UI4fQxSbQtXM8KUsUmYCyxefkSsCoRgT1MEp9erGAFcZgFtjNJ /Pk2AaxKWCBN4u+uJYwgNouAqsTai4tYQGxeATeJ41sOMELsk5M4eWwyUD0HB6eAu0T3t0qQ sBBQyfOv8xgnMPIuYGRYxSiaWppcUJyUnmukV5yYW1yal66XnJ+7iRESxF93MC49ZnWIUYCD UYmHN4I9OkSINbGsuDL3EKMEB7OSCG91D1CINyWxsiq1KD++qDQntfgQIxMHp1QDY13+3qpV jiqnKu7ue6D/se63Y/5iJz+GUypKCqcT0w692XV3LsO3llM72kWKFb9+vHFO8Y55mVSE9tT+ tGP5a9s9jfm271h6fIUtu5X53Wy3rOjznybYyBZXN2ev3LJ93vqHiSeqH0z8vHb7iuhVxnP5 1jvwtsf9mfjwW3lv88S+NbG8kbfurlNiKc5INNRiLipOBACfP9YLQAIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document the settings exported by max77693 charger driver through sysfs entries: - fast_charge_timer - top_off_threshold_current - top_off_timer Signed-off-by: Krzysztof Kozlowski --- Documentation/ABI/testing/sysfs-class-power | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power index 909e7602c717..369d2a2d7d3e 100644 --- a/Documentation/ABI/testing/sysfs-class-power +++ b/Documentation/ABI/testing/sysfs-class-power @@ -32,3 +32,45 @@ Description: Valid values: - 5, 6 or 7 (hours), - 0: disabled. + +What: /sys/class/power_supply/max77693-charger/device/fast_charge_timer +Date: January 2015 +KernelVersion: 3.19.0 +Contact: Krzysztof Kozlowski +Description: + This entry shows and sets the maximum time the max77693 + charger operates in fast-charge mode. When the timer expires + the device will terminate fast-charge mode (charging current + will drop to 0 A) and will trigger interrupt. + + Valid values: + - 4 - 16 (hours), step by 2 (rounded down) + - 0: disabled. + +What: /sys/class/power_supply/max77693-charger/device/top_off_threshold_current +Date: January 2015 +KernelVersion: 3.19.0 +Contact: Krzysztof Kozlowski +Description: + This entry shows and sets the charging current threshold for + entering top-off charging mode. When charging current in fast + charge mode drops below this value, the charger will trigger + interrupt and start top-off charging mode. + + Valid values: + - 100000 - 200000 (microamps), step by 25000 (rounded down) + - 200000 - 350000 (microamps), step by 50000 (rounded down) + - 0: disabled. + +What: /sys/class/power_supply/max77693-charger/device/top_off_timer +Date: January 2015 +KernelVersion: 3.19.0 +Contact: Krzysztof Kozlowski +Description: + This entry shows and sets the maximum time the max77693 + charger operates in top-off charge mode. When the timer expires + the device will terminate top-off charge mode (charging current + will drop to 0 A) and will trigger interrupt. + + Valid values: + - 0 - 70 (minutes), step by 10 (rounded down)