mfd: tps65217: Set PMIC to shutdown on PWR_EN toggle
authorColin Foe-Parker <colin.foeparker@logicpd.com>
Tue, 20 Nov 2012 09:48:44 +0000 (15:18 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Nov 2012 15:07:55 +0000 (16:07 +0100)
commiteb433dad48b49f757255f2860db5c2bd61dcae0d
tree9cbe2fdd7ea582ff6f095dfe3a8fd0efb75ebd30
parent433e075c7f3b45c946c539ceeddc641c61adef5e
mfd: tps65217: Set PMIC to shutdown on PWR_EN toggle

Set tps65217 PMIC status to OFF if power enable toggle is supported.
By setting this bit to 1 to enter PMIC to OFF state when PWR_EN pin
is pulled low. Also adds a DT flag to specify that device pmic
supports shutdown control or not.

Signed-off-by: Colin Foe-Parker <colin.foeparker@logicpd.com>
[anilkumar@ti.com: move the additions to tps65217 MFD driver]
Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Documentation/devicetree/bindings/regulator/tps65217.txt
drivers/mfd/tps65217.c