diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-04-14 04:09:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-14 17:13:05 -0400 |
commit | 9b63cfbfd13b609e8d496852b6714ac686e31901 (patch) | |
tree | 7f7036289b150574a16750180d21bc0791d4962c | |
parent | 97f53d710b9f63cbef1c86ee39d9ecfdda6e674c (diff) |
regulator: s2mps11: Document external GPIO control
Add documentation for new property for controlling (enable/disable) some
of the S2MPS14 regulators by GPIO.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/mfd/s2mps11.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt b/Documentation/devicetree/bindings/mfd/s2mps11.txt index 802e839b0829..d81ba30c0d8b 100644 --- a/Documentation/devicetree/bindings/mfd/s2mps11.txt +++ b/Documentation/devicetree/bindings/mfd/s2mps11.txt | |||
@@ -56,6 +56,20 @@ for a particular group of BUCKs. So provide same regulator-ramp-delay<value>. | |||
56 | Grouping of BUCKs sharing ramp rate setting is as follow : BUCK[1, 6], | 56 | Grouping of BUCKs sharing ramp rate setting is as follow : BUCK[1, 6], |
57 | BUCK[3, 4], and BUCK[7, 8, 10] | 57 | BUCK[3, 4], and BUCK[7, 8, 10] |
58 | 58 | ||
59 | On S2MPS14 the LDO10, LDO11 and LDO12 can be configured to external control | ||
60 | over GPIO. To turn this feature on this property must be added to the regulator | ||
61 | sub-node: | ||
62 | - samsung,ext-control-gpios: GPIO specifier for one GPIO | ||
63 | controlling this regulator (enable/disable); | ||
64 | Example: | ||
65 | LDO12 { | ||
66 | regulator-name = "V_EMMC_2.8V"; | ||
67 | regulator-min-microvolt = <2800000>; | ||
68 | regulator-max-microvolt = <2800000>; | ||
69 | samsung,ext-control-gpios = <&gpk0 2 0>; | ||
70 | }; | ||
71 | |||
72 | |||
59 | The regulator constraints inside the regulator nodes use the standard regulator | 73 | The regulator constraints inside the regulator nodes use the standard regulator |
60 | bindings which are documented elsewhere. | 74 | bindings which are documented elsewhere. |
61 | 75 | ||