aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorBill Huang <bilhuang@nvidia.com>2013-08-08 07:45:05 -0400
committerLee Jones <lee.jones@linaro.org>2013-08-14 13:53:17 -0400
commitb81eec09a484c588ead035003ce7555ca8a9963a (patch)
treeb6da5dbb56f0718cd9e67134e14ffda1ce2b0e65 /Documentation
parent3134bcae4f70d56df31a5b024c54115d4f504727 (diff)
mfd: palmas: Add power off control
Hook up "pm_power_off" to palmas power off routine if there is DT property "ti,system-power-controller" defined, so platform which is powered by this regulator can be powered off properly. Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Signed-off-by: Bill Huang <bilhuang@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/regulator/palmas-pmic.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/palmas-pmic.txt b/Documentation/devicetree/bindings/regulator/palmas-pmic.txt
index d5a308629c57..02f4c0eb601e 100644
--- a/Documentation/devicetree/bindings/regulator/palmas-pmic.txt
+++ b/Documentation/devicetree/bindings/regulator/palmas-pmic.txt
@@ -37,6 +37,9 @@ Optional nodes:
37 ti,smps-range - OTP has the wrong range set for the hardware so override 37 ti,smps-range - OTP has the wrong range set for the hardware so override
38 0 - low range, 1 - high range. 38 0 - low range, 1 - high range.
39 39
40- ti,system-power-controller: Telling whether or not this pmic is controlling
41 the system power.
42
40Example: 43Example:
41 44
42#include <dt-bindings/interrupt-controller/irq.h> 45#include <dt-bindings/interrupt-controller/irq.h>
@@ -49,6 +52,8 @@ pmic {
49 52
50 ti,ldo6-vibrator; 53 ti,ldo6-vibrator;
51 54
55 ti,system-power-controller;
56
52 regulators { 57 regulators {
53 smps12_reg : smps12 { 58 smps12_reg : smps12 {
54 regulator-name = "smps12"; 59 regulator-name = "smps12";