@@ -43,6 +43,7 @@ Optional properties:
- s5m8767,pmic-buck2-uses-gpio-dvs: 'buck2' can be controlled by gpio dvs.
- s5m8767,pmic-buck3-uses-gpio-dvs: 'buck3' can be controlled by gpio dvs.
- s5m8767,pmic-buck4-uses-gpio-dvs: 'buck4' can be controlled by gpio dvs.
+- s5m8767,pmic-buck9-uses-gpio: 'buck9' can be enabled/disabled by GPIO.
Additional properties required if either of the optional properties are used:
@@ -54,6 +55,11 @@ Additional properties required if either of the optional properties are used:
- s5m8767,pmic-buck-dvs-gpios: GPIO specifiers for three host gpio's used
for dvs. The format of the gpio specifier depends in the gpio controller.
+- s5m8767,pmic-buck9-gpio: GPIO specifier for one GPIO controlling buck9.
+ This property is required when 's5m8767,pmic-buck9-uses-gpio' is specified.
+ Additionally for proper GPIO control the buck9 regulator should be also
+ configured with proper opmode (low power or suspend).
+
Regulators: The regulators of s5m8767 that have to be instantiated should be
included in a sub-node named 'regulators'. Regulator nodes included in this
sub-node should be of the format as listed below.
@@ -126,6 +132,9 @@ Example:
<1200000>, <1200000>,
<1200000>, <1200000>;
+ s5m8767,pmic-buck9-uses-gpio;
+ s5m8767,pmic-buck9-gpio = <&gpk0 2 0>;
+
regulators {
ldo1_reg: LDO1 {
regulator-name = "VDD_ABB_3.3V";
@@ -148,5 +157,12 @@ Example:
regulator-always-on;
regulator-boot-on;
};
+
+ vemmc_reg: BUCK9 {
+ regulator-name = "VMEM_VDD_2.8V";
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <2800000>;
+ op_mode = <3>; /* Standby Mode */
+ };
};
};
Add documentation for new bindings for controlling (enable/disable) the Buck9 Converter by GPIO (BUCK9EN). Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> --- .../bindings/regulator/s5m8767-regulator.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)