Thread (17 messages) read the whole thread 17 messages, 6 authors, 2014-09-11

Re: [PATCH RFC 1/3] DT: add binding for MXS regulator

From: Sergei Shtylyov <hidden>
Date: 2014-09-07 13:35:23
Also in: linux-arm-kernel, lkml

Hello.

On 9/7/2014 3:37 PM, Stefan Wahren wrote:
This patch adds the Device tree bindings for the Freescale MXS on-chip
regulators.
Signed-off-by: Stefan Wahren <redacted>
---
  .../bindings/regulator/mxs-regulator.txt           | 38 ++++++++++++++++++++++
  1 file changed, 38 insertions(+)
  create mode 100644 Documentation/devicetree/bindings/regulator/mxs-regulator.txt
quoted hunk ↗ jump to hunk
diff --git a/Documentation/devicetree/bindings/regulator/mxs-regulator.txt b/Documentation/devicetree/bindings/regulator/mxs-regulator.txt
new file mode 100644
index 0000000..c3226cc
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/mxs-regulator.txt
@@ -0,0 +1,38 @@
+MXS regulators
+
+Required node properties:
+- compatible: Should be "fsl,<soc>-power", where soc is "imx23" or "imx28"
+- reg: Offset and length of the register set for the device
+
+Required regulator properties:
+- compatible: Must be "fsl,mxs-regulator"
+- reg: Offset of the register set for the regulator
+- mxs-max-reg-val: Maximum value of this register
+
+Optional regulator properties:
+- mxs-default-microvolt: initial voltage of the regulator
    Vendor specific property names should be prefixed with the vendor name and 
comma.

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help