aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2014-08-31 21:10:52 +0200
committerMark Brown <broonie@kernel.org>2014-09-01 11:35:49 +0100
commit4eea4b8e4491d3b2a96ec4b9b0f3a188da018cd1 (patch)
tree061fb511ed1ea58491adf60e3e099862ec3ac8f9 /Documentation/devicetree/bindings/regulator
parentregulator: max1586: add device-tree support (diff)
downloadlinux-dev-4eea4b8e4491d3b2a96ec4b9b0f3a188da018cd1.tar.xz
linux-dev-4eea4b8e4491d3b2a96ec4b9b0f3a188da018cd1.zip
regulator: max1586: add device-tree binding
Add max1586 regulator device-tree bindings documentation. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
-rw-r--r--Documentation/devicetree/bindings/regulator/max1586-regulator.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/max1586-regulator.txt b/Documentation/devicetree/bindings/regulator/max1586-regulator.txt
new file mode 100644
index 000000000000..c050c1744cb8
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/max1586-regulator.txt
@@ -0,0 +1,28 @@
+Maxim MAX1586 voltage regulator
+
+Required properties:
+- compatible: must be "maxim,max1586"
+- reg: I2C slave address, usually 0x14
+- v3-gain: integer specifying the V3 gain as per datasheet
+ (1 + R24/R25 + R24/185.5kOhm)
+- any required generic properties defined in regulator.txt
+
+Example:
+
+ i2c_master {
+ max1586@14 {
+ compatible = "maxim,max1586";
+ reg = <0x14>;
+ v3-gain = <1000000>;
+
+ regulators {
+ vcc_core: v3 {
+ regulator-name = "vcc_core";
+ regulator-compatible = "Output_V3";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1705000>;
+ regulator-always-on;
+ };
+ };
+ };
+ };