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: 5244191 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2109CC11AC for ; Thu, 6 Nov 2014 15:15:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 13AB6200E3 for ; Thu, 6 Nov 2014 15:15:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26EBA200E1 for ; Thu, 6 Nov 2014 15:14:59 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XmOkH-0005NC-5z; Thu, 06 Nov 2014 15:13:09 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XmOjj-00051J-OC for linux-arm-kernel@lists.infradead.org; Thu, 06 Nov 2014 15:12:36 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141106_071235_962957_672D2305 X-CRM114-Status: UNSURE ( 6.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.6 (-----) Cc: Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, Bartlomiej Zolnierkiewicz , Tomasz Figa , Kyungmin Park , linux-arm-kernel@lists.infradead.org, Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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)