blob: 371eccd1cd6897b0395e53ad6a717b964722ba34 [file] [log] [blame]
Gyungoh Yooa91d2f82012-08-15 10:28:46 -06001MAX8907 regulator
2
3Required properties:
4- compatible: "maxim,max8907"
5- reg: I2C slave address
6- interrupts: The interrupt output of the controller
7- mbatt-supply: The input supply for MBATT, BBAT, SDBY, VRTC.
8- in-v1-supply: The input supply for SD1.
9- in-v2-supply: The input supply for SD2.
10- in-v3-supply: The input supply for SD3.
11- in1-supply: The input supply for LDO1.
12...
13- in20-supply: The input supply for LDO20.
14- regulators: A node that houses a sub-node for each regulator within the
Stephen Warren396f70b2012-09-24 13:25:03 -060015 device. Each sub-node is identified using the node's name (or the deprecated
16 regulator-compatible property if present), with valid values listed below.
17 The content of each sub-node is defined by the standard binding for
18 regulators; see regulator.txt.
Gyungoh Yooa91d2f82012-08-15 10:28:46 -060019
Stephen Warren9582fdc2012-09-18 16:51:19 -060020Optional properties:
21- maxim,system-power-controller: Boolean property indicating that the PMIC
22 controls the overall system power.
23
Stephen Warren396f70b2012-09-24 13:25:03 -060024The valid names for regulators are:
Gyungoh Yooa91d2f82012-08-15 10:28:46 -060025
26 sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10,
27 ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v,
28 out33v, bbat, sdby, vrtc.
29
30Example:
31
32 max8907@3c {
33 compatible = "maxim,max8907";
34 reg = <0x3c>;
35 interrupts = <0 86 0x4>;
36
Stephen Warren9582fdc2012-09-18 16:51:19 -060037 maxim,system-power-controller;
38
Gyungoh Yooa91d2f82012-08-15 10:28:46 -060039 mbatt-supply = <&some_reg>;
40 in-v1-supply = <&mbatt_reg>;
41 ...
42 in1-supply = <&mbatt_reg>;
43 ...
44
45 regulators {
Stephen Warren396f70b2012-09-24 13:25:03 -060046 mbatt_reg: mbatt {
Gyungoh Yooa91d2f82012-08-15 10:28:46 -060047 regulator-name = "vbat_pmu";
48 regulator-min-microvolt = <5000000>;
49 regulator-max-microvolt = <5000000>;
50 regulator-always-on;
51 };
52
Stephen Warren396f70b2012-09-24 13:25:03 -060053 sd1 {
Gyungoh Yooa91d2f82012-08-15 10:28:46 -060054 regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
55 regulator-min-microvolt = <1000000>;
56 regulator-max-microvolt = <1000000>;
57 regulator-always-on;
58 };
59
Stephen Warren396f70b2012-09-24 13:25:03 -060060 sd2 {
Gyungoh Yooa91d2f82012-08-15 10:28:46 -060061 regulator-name = "nvvdd_sv2,vdd_core";
62 regulator-min-microvolt = <1200000>;
63 regulator-max-microvolt = <1200000>;
64 regulator-always-on;
65 };
66...
67 };
68 };
69 };