Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751156AbdL3PYe (ORCPT ); Sat, 30 Dec 2017 10:24:34 -0500 Received: from gagarine.paulk.fr ([109.190.93.129]:55887 "EHLO gagarine.paulk.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751139AbdL3PYd (ORCPT ); Sat, 30 Dec 2017 10:24:33 -0500 From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Cc: Lee Jones , Rob Herring , Mark Rutland , Chen-Yu Tsai , Russell King , Maxime Ripard , Paul Kocialkowski Subject: [PATCH 1/3] dt-bindings: mfd: axp20x: Document backup battery charging property Date: Sat, 30 Dec 2017 16:23:28 +0100 Message-Id: <20171230152330.28946-2-contact@paulk.fr> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171230152330.28946-1-contact@paulk.fr> References: <20171230152330.28946-1-contact@paulk.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1174 Lines: 30 This adds documentation for the "backup" property of the axp20x driver, that controls the charging mechanism for the backup battery on axp20x. Signed-off-by: Paul Kocialkowski diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt b/Documentation/devicetree/bindings/mfd/axp20x.txt index 9455503b0299..382776b29932 100644 --- a/Documentation/devicetree/bindings/mfd/axp20x.txt +++ b/Documentation/devicetree/bindings/mfd/axp20x.txt @@ -58,6 +58,11 @@ Optional properties: See Documentation/devicetree/bindings/regulator/regulator.txt for more information on standard regulator bindings. +- backup: An array of two integers for backup battery charging (axp20x-only), + describing the charging voltage in mV first and the charging current + in uA second. Backup battery charging is only enabled when these two + fields are filled. + Optional properties for DCDC regulators: - x-powers,dcdc-workmode: 1 for PWM mode, 0 for AUTO (PWM/PFM) mode Default: Current hardware setting @@ -256,4 +261,6 @@ axp209: pmic@34 { /* unused but preferred to be managed by OS */ }; }; + + backup = <3000 200>; }; -- 2.15.1