diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-01-24 08:37:58 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-27 15:24:52 -0500 |
commit | 3471c1224cb5f543b617e2d14000db1fcf71924b (patch) | |
tree | 8ea1dd7046fbe1b828438d38ad4b5d6e66e7aa54 | |
parent | ee1e0994ab1bd302fd03432de79c07751df47ffa (diff) |
regulator: s5m8767: Document new binding for Buck9 GPIO control
Add documentation for new binding for controlling (enable/disable) the
Buck9 Converter by GPIO (BUCK9EN).
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt b/Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt index fc6b38f035bd..d290988ed975 100644 --- a/Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt | |||
@@ -69,13 +69,16 @@ sub-node should be of the format as listed below. | |||
69 | }; | 69 | }; |
70 | }; | 70 | }; |
71 | The above regulator entries are defined in regulator bindings documentation | 71 | The above regulator entries are defined in regulator bindings documentation |
72 | except op_mode description. | 72 | except these properties: |
73 | - op_mode: describes the different operating modes of the LDO's with | 73 | - op_mode: describes the different operating modes of the LDO's with |
74 | power mode change in SOC. The different possible values are, | 74 | power mode change in SOC. The different possible values are, |
75 | 0 - always off mode | 75 | 0 - always off mode |
76 | 1 - on in normal mode | 76 | 1 - on in normal mode |
77 | 2 - low power mode | 77 | 2 - low power mode |
78 | 3 - suspend mode | 78 | 3 - suspend mode |
79 | - s5m8767,pmic-ext-control-gpios: (optional) GPIO specifier for one | ||
80 | GPIO controlling this regulator (enable/disable); This is | ||
81 | valid only for buck9. | ||
79 | 82 | ||
80 | The following are the names of the regulators that the s5m8767 pmic block | 83 | The following are the names of the regulators that the s5m8767 pmic block |
81 | supports. Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number | 84 | supports. Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number |
@@ -148,5 +151,13 @@ Example: | |||
148 | regulator-always-on; | 151 | regulator-always-on; |
149 | regulator-boot-on; | 152 | regulator-boot-on; |
150 | }; | 153 | }; |
154 | |||
155 | vemmc_reg: BUCK9 { | ||
156 | regulator-name = "VMEM_VDD_2.8V"; | ||
157 | regulator-min-microvolt = <2800000>; | ||
158 | regulator-max-microvolt = <2800000>; | ||
159 | op_mode = <3>; /* Standby Mode */ | ||
160 | s5m8767,pmic-ext-control-gpios = <&gpk0 2 0>; | ||
161 | }; | ||
151 | }; | 162 | }; |
152 | }; | 163 | }; |