regulator: act8865: add DT binding for property "active-semi,vsel-high"
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 30 Sep 2015 07:25:50 +0000 (15:25 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 2 Oct 2015 16:53:35 +0000 (17:53 +0100)
Add a DT property "active-semi,vsel-high" to indicate the VSEL pin
is high. If this property is missing, then assume the VSEL pin is
low(0).

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/act8865-regulator.txt

index e91485d1124175b807c1930b87a3d1237fe42a33..6067d9830d07d4d21bd27ee715630d2e9ad7e073 100644 (file)
@@ -8,6 +8,8 @@ Required properties:
 Optional properties:
 - system-power-controller: Telling whether or not this pmic is controlling
   the system power. See Documentation/devicetree/bindings/power/power-controller.txt .
+- active-semi,vsel-high: Indicates the VSEL pin is high.
+  If this property is missing, assume the VSEL pin is low(0).
 
 Optional input supply properties:
 - for act8600:
@@ -49,6 +51,7 @@ Example:
                        pmic: act8865@5b {
                                compatible = "active-semi,act8865";
                                reg = <0x5b>;
+                               active-semi,vsel-high;
                                status = "disabled";
 
                                regulators {