[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1411779588-22031-2-git-send-email-stefan.wahren@i2se.com>
Date: Sat, 27 Sep 2014 00:59:47 +0000
From: Stefan Wahren <stefan.wahren@...e.com>
To: lgirdwood@...il.com, broonie@...nel.org, shawn.guo@...aro.org,
robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org
Cc: festevam@...il.com, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, kernel@...gutronix.de,
Stefan Wahren <stefan.wahren@...e.com>
Subject: [PATCH 1/2] DT: add binding for mxs regulator
This patch adds the Device tree bindings for the Freescale MXS
on-chip regulators.
Signed-off-by: Stefan Wahren <stefan.wahren@...e.com>
---
.../bindings/regulator/mxs-regulator.txt | 36 ++++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/mxs-regulator.txt
diff --git a/Documentation/devicetree/bindings/regulator/mxs-regulator.txt b/Documentation/devicetree/bindings/regulator/mxs-regulator.txt
new file mode 100644
index 0000000..e3133a4
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/mxs-regulator.txt
@@ -0,0 +1,36 @@
+MXS regulators
+
+Required node properties:
+- compatible: Should be "simple-bus"
+- #address-cells: Number of cells required to define regulator register,
+ must be 1
+- #size-cells: Number of cells required to define register size, must be 1
+- reg: Absolute physical address and size of the register set for the device
+
+Required regulator properties:
+- compatible: Must be "fsl,mxs-regulator"
+- reg: Absolute physical address of the register set for the regulator
+
+Any regulator property defined as part of the core regulator
+binding, defined in regulator.txt, can also be used.
+
+Example:
+
+ power: power@...44000 {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x80044000 0x2000>;
+ ranges;
+
+ reg_vddd: regulator@...44040 {
+ reg = <0x80044040 0x10>;
+ compatible = "fsl,mxs-regulator";
+ regulator-name = "vddd";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <1575000>;
+ regulator-boot-on;
+ vddd-supply = <®_vdda>;
+ };
+ };
+
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists