regulator: add devicetree bindings for mp8865 regulators
authorZain Wang <wzz@rock-chips.com>
Fri, 18 Mar 2016 13:21:58 +0000 (21:21 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 29 Mar 2016 07:03:20 +0000 (15:03 +0800)
Change-Id: Ie837faba6a9f599dcfc5cdbdaffe12ca81060957
Signed-off-by: Zain Wang <wzz@rock-chips.com>
Documentation/devicetree/bindings/regulator/mp8865-regulator.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/regulator/mp8865-regulator.txt b/Documentation/devicetree/bindings/regulator/mp8865-regulator.txt
new file mode 100644 (file)
index 0000000..a132695
--- /dev/null
@@ -0,0 +1,24 @@
+MPS MP8865 Regulator Driver
+
+Required properties:
+- compatible: "mps,mp8865"
+- reg: I2C slave address
+- regulators: List of regulators provided by this controller.
+  The definition for each of these nodes is defined using the standard binding
+  for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.
+
+example:
+       mp8865: mp8865@68 {
+               compatible = "mps,mp8865";
+               reg = <0x68>;
+               status = "okay";
+               regulators {
+                       vdd_gpu: mp8865_dcdc1 {
+                               regulator-name = "vdd_gpu";
+                               regulator-min-microvolt = <712500>;
+                               regulator-max-microvolt = <1500000>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+               };
+       };