mfd: twl4030-power: Use 'ti,system-power-controller' as alternative way to support...
authorNishanth Menon <nm@ti.com>
Wed, 17 Sep 2014 12:34:12 +0000 (07:34 -0500)
committerLee Jones <lee.jones@linaro.org>
Fri, 26 Sep 2014 07:23:58 +0000 (08:23 +0100)
commitfecc4452b9b3f4bbab41c1b7583a72066ee0c77c
treebca15a2e905b21c3635c3e73c1f671ee4255e622
parentb64c6887f44d9e9220ddf10acf5c0c6b313a9de1
mfd: twl4030-power: Use 'ti,system-power-controller' as alternative way to support system power off

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>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl4030-power.c