From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH V2 1/2] Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti,system-power-controller' to mark power control Date: Wed, 17 Sep 2014 08:44:00 -0700 Message-ID: <20140917154400.GE30918@lee--X1> References: <1410957252-764-1-git-send-email-nm@ti.com> <1410957252-764-2-git-send-email-nm@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1410957252-764-2-git-send-email-nm@ti.com> Sender: linux-kernel-owner@vger.kernel.org To: Nishanth Menon Cc: Samuel Ortiz , Sebastian Reichel , Tony Lindgren , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On Wed, 17 Sep 2014, Nishanth Menon wrote: > ti,system-power-controller is more or less the standard way of > indicating that the PMIC is the system wide power controller and henc= e > may be used to switch off the system. Almost ALL TI PMIC drivers and > many Maxim PMIC drivers follow the same style. >=20 > So support 'ti,system-power-controller' in addition to the usual > 'ti,use_poweroff' to indicate that the PMIC instance has control for > switching off the system. >=20 > Signed-off-by: Nishanth Menon > --- >=20 > V2: picked up documentation suggestion from Sebastien It would be good to get Sebastian's Ack. > V1: https://patchwork.kernel.org/patch/4836381/ >=20 > .../devicetree/bindings/mfd/twl4030-power.txt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/mfd/twl4030-power.txt = b/Documentation/devicetree/bindings/mfd/twl4030-power.txt > index b9ee7b9..a7390c7 100644 > --- a/Documentation/devicetree/bindings/mfd/twl4030-power.txt > +++ b/Documentation/devicetree/bindings/mfd/twl4030-power.txt > @@ -23,8 +23,13 @@ down during off-idle. Note that this does not work= on all boards > depending on how the external oscillator is wired. > =20 > Optional properties: > -- ti,use_poweroff: With this flag, the chip will initiates an ACTIVE= -to-OFF or > - SLEEP-to-OFF transition when the system poweroffs. > + > +- ti,system-power-controller: This indicates that TWL4030 is the > + power supply master of the system. With this flag, the chip will > + initiates an ACTIVE-to-OFF or SLEEP-to-OFF transition when the > + system poweroffs. > + > +- ti,use_poweroff: Deprecated name for ti,system-power-controller > =20 > Example: > &i2c1 { --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog