Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751426AbeABPsK (ORCPT + 1 other); Tue, 2 Jan 2018 10:48:10 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:38752 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094AbeABPsH (ORCPT ); Tue, 2 Jan 2018 10:48:07 -0500 X-Google-Smtp-Source: ACJfBov7Xrz/uyCWgeKTLeb9ErEyp2Q3onybF8pXD8AsYv39oE8HuwuAC3LsyFi2yAGhS2wN1Hy6nA== Date: Tue, 2 Jan 2018 15:48:03 +0000 From: Lee Jones To: Paul Kocialkowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Rob Herring , Mark Rutland , Chen-Yu Tsai , Russell King , Maxime Ripard Subject: Re: [PATCH 1/3] dt-bindings: mfd: axp20x: Document backup battery charging property Message-ID: <20180102154803.esn3ybxut5iy4bnu@dell> References: <20171230152330.28946-1-contact@paulk.fr> <20171230152330.28946-2-contact@paulk.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171230152330.28946-2-contact@paulk.fr> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Sat, 30 Dec 2017, Paul Kocialkowski wrote: > 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>; It's unlikely that this will become a generic property, so you should prefix it with your vendor ID. > }; -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog