Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: dt-bindings: twl4030-power: Use the standard property to mark power control

ti,system-power-controller is more or less the standard way of
indicating that the PMIC is the system wide power controller and hence
may be used to switch off the system. Almost ALL TI PMIC drivers and
many Maxim PMIC drivers follow the same style.

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.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Nishanth Menon and committed by
Lee Jones
b64c6887 c896e68e

+7 -2
+7 -2
Documentation/devicetree/bindings/mfd/twl4030-power.txt
··· 23 23 depending on how the external oscillator is wired. 24 24 25 25 Optional properties: 26 - - ti,use_poweroff: With this flag, the chip will initiates an ACTIVE-to-OFF or 27 - SLEEP-to-OFF transition when the system poweroffs. 26 + 27 + - ti,system-power-controller: This indicates that TWL4030 is the 28 + power supply master of the system. With this flag, the chip will 29 + initiate an ACTIVE-to-OFF or SLEEP-to-OFF transition when the 30 + system poweroffs. 31 + 32 + - ti,use_poweroff: Deprecated name for ti,system-power-controller 28 33 29 34 Example: 30 35 &i2c1 {