summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-09-19 00:51:19 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-19 12:07:56 +0200
commit9582fdcb6fcf1b596a83b161a2ea886272d2a62f (patch)
treed880190567065d64e86b29194a0ec0ca23cfb50b /Documentation/devicetree/bindings/regulator
parentpwm: Move TWL6030 PWM driver to PWM framework (diff)
downloadlinux-9582fdcb6fcf1b596a83b161a2ea886272d2a62f.tar.xz
linux-9582fdcb6fcf1b596a83b161a2ea886272d2a62f.zip
mfd: max8907: Add power off control
Add DT property "maxim,system-power-controller" to indicate whether the PMIC is in charge of controlling the system power. If this is set, the driver will provide the pm_power_off() function. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
-rw-r--r--Documentation/devicetree/bindings/regulator/max8907.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/max8907.txt b/Documentation/devicetree/bindings/regulator/max8907.txt
index 4fd847f0afc0..51e683b2bf47 100644
--- a/Documentation/devicetree/bindings/regulator/max8907.txt
+++ b/Documentation/devicetree/bindings/regulator/max8907.txt
@@ -16,6 +16,10 @@ Required properties:
property, with valid values listed below. The content of each sub-node
is defined by the standard binding for regulators; see regulator.txt.
+Optional properties:
+- maxim,system-power-controller: Boolean property indicating that the PMIC
+ controls the overall system power.
+
Valid regulator-compatible values are:
sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10,
@@ -29,6 +33,8 @@ Example:
reg = <0x3c>;
interrupts = <0 86 0x4>;
+ maxim,system-power-controller;
+
mbatt-supply = <&some_reg>;
in-v1-supply = <&mbatt_reg>;
...