summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/regulator/vexpress.txt
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2012-09-24 21:56:54 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-15 06:56:08 +0400
commit31e54086dd7bb86ad40f1d76a9063f2a95866b87 (patch)
tree9e54d6dd2491ffa90ef10a4d8e86fd351497bdfe /Documentation/devicetree/bindings/regulator/vexpress.txt
parentbd7a2b600ace90c8819495b639a744c8f5c68feb (diff)
downloadlinux-31e54086dd7bb86ad40f1d76a9063f2a95866b87.tar.xz
regulator: Versatile Express regulator driver
Implementation of the regulator framework driver for the Versatile Express voltage control. Devices without voltage constraints (ie. "regulator-[min|max]-microvolt" properties in the DT node) are treated as fixed (or rather read-only) regulators. Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/vexpress.txt')
-rw-r--r--Documentation/devicetree/bindings/regulator/vexpress.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/vexpress.txt b/Documentation/devicetree/bindings/regulator/vexpress.txt
new file mode 100644
index 000000000000..d775f72487aa
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/vexpress.txt
@@ -0,0 +1,32 @@
+Versatile Express voltage regulators
+------------------------------------
+
+Requires node properties:
+- "compatible" value: "arm,vexpress-volt"
+- "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg
+ (see Documentation/devicetree/bindings/arm/vexpress-sysreg.txt
+ for more details)
+
+Required regulator properties:
+- "regulator-name"
+- "regulator-always-on"
+
+Optional regulator properties:
+- "regulator-min-microvolt"
+- "regulator-max-microvolt"
+
+See Documentation/devicetree/bindings/regulator/regulator.txt
+for more details about the regulator properties.
+
+When no "regulator-[min|max]-microvolt" properties are defined,
+the device is treated as fixed (or rather "read-only") regulator.
+
+Example:
+ volt@0 {
+ compatible = "arm,vexpress-volt";
+ arm,vexpress-sysreg,func = <2 0>;
+ regulator-name = "Cores";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <1050000>;
+ regulator-always-on;
+ };