lkml.org 
[lkml]   [2013]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 5/5] regulator: s5m8767: Document new bindings for Buck9 GPIO control
Date
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(+)

diff --git a/Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt b/Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt
index d1660a90fc06..6a921b5582a2 100644
--- a/Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/s5m8767-regulator.txt
@@ -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 */
+ };
};
};
--
1.7.9.5


\
 
 \ /
  Last update: 2013-12-17 15:01    [W:0.136 / U:1.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site