aboutsummaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings
diff options
context:
space:
mode:
authorVignesh R2016-12-07 16:55:06 +0530
committerTom Rini2016-12-27 08:22:57 -0500
commitbd2e9714c851770652253fab858cb50ecd95d329 (patch)
treef2fc4c7c6ad8e44367e7b5f20c5c6a6f3b1c3287 /doc/device-tree-bindings
parentd26a38fd615466e2d62baa577423ac06d2601d8f (diff)
regulator: fixed: Add support to handle enable-active-high DT property
Add support to handle enable-active-high DT property. This property is used to drive the gpio controlling fixed regulator as active high when claiming gpio line. Signed-off-by: Vignesh R <vigneshr@ti.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/device-tree-bindings')
-rw-r--r--doc/device-tree-bindings/regulator/fixed.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/regulator/fixed.txt b/doc/device-tree-bindings/regulator/fixed.txt
index 8a0d002688d..5fd9033fea2 100644
--- a/doc/device-tree-bindings/regulator/fixed.txt
+++ b/doc/device-tree-bindings/regulator/fixed.txt
@@ -12,6 +12,9 @@ Optional properties:
- gpio: GPIO to use for enable control
- startup-delay-us: startup time in microseconds
- regulator constraints (binding info: regulator.txt)
+- enable-active-high: Polarity of GPIO is Active high. If this property
+ is missing, the default assumed is Active low.
+
Other kernel-style properties, are currently not used.
@@ -36,4 +39,5 @@ fixed_regulator@0 {
regulator-max-microamp = <15000>;
regulator-always-on;
regulator-boot-on;
+ enable-active-high;
};