summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/regulator/max8973-regulator.txt
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-06-24 12:50:16 +0200
committerMark Brown <broonie@linaro.org>2013-06-24 15:22:26 +0100
commit42dc30231ba35939213c33378c17cb81c31b0a37 (patch)
treef908d61307859878cc5d2e926c10cf08da2e3c61 /Documentation/devicetree/bindings/regulator/max8973-regulator.txt
parentdb892ff6c0f49708f13d9dff3957034f2f90e1c1 (diff)
regulator: max8973: initial DT support
This patch adds primitive DT support to the max8973 regulator driver. None of the configuration parameters, supported in the platform data are yet available in DT, therefore no configuration is performed if booting with no platform data. This means, that DT instantiation can only be used on boards, where no run-time configuration of the chip is required. In such cases the driver can be used to scale its output voltage. In the future support for configuration parameters should be added. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/max8973-regulator.txt')
-rw-r--r--Documentation/devicetree/bindings/regulator/max8973-regulator.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/max8973-regulator.txt b/Documentation/devicetree/bindings/regulator/max8973-regulator.txt
new file mode 100644
index 000000000000..8d38ab2acac5
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/max8973-regulator.txt
@@ -0,0 +1,21 @@
+* Maxim MAX8973 Voltage Regulator
+
+Required properties:
+
+- compatible: must be "maxium,max8973"
+- reg: the i2c slave address of the regulator. It should be 0x1b.
+
+Any standard regulator properties can be used to configure the single max8973
+DCDC.
+
+Example:
+
+ max8973@1b {
+ compatible = "maxium,max8973";
+ reg = <0x1b>;
+
+ regulator-min-microvolt = <935000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };