]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/regulator/max8907.txt
mfd: Add MAX8907 core driver
[karo-tx-linux.git] / Documentation / devicetree / bindings / regulator / max8907.txt
1 MAX8907 regulator
2
3 Required 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
15   device. Each sub-node is identified using the regulator-compatible
16   property, with valid values listed below. The content of each sub-node
17   is defined by the standard binding for regulators; see regulator.txt.
18
19 Valid regulator-compatible values are:
20
21   sd1, sd2, sd3, ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8, ldo9, ldo10,
22   ldo11, ldo12, ldo13, ldo14, ldo15, ldo16, ldo17, ldo18, ldo19, ldo20, out5v,
23   out33v, bbat, sdby, vrtc.
24
25 Example:
26
27                 max8907@3c {
28                         compatible = "maxim,max8907";
29                         reg = <0x3c>;
30                         interrupts = <0 86 0x4>;
31
32                         mbatt-supply = <&some_reg>;
33                         in-v1-supply = <&mbatt_reg>;
34                         ...
35                         in1-supply = <&mbatt_reg>;
36                         ...
37
38                         regulators {
39                                 #address-cells = <1>;
40                                 #size-cells = <0>;
41
42                                 mbatt_reg: regulator@0 {
43                                         reg = <0>;
44                                         regulator-compatible = "mbatt";
45                                         regulator-name = "vbat_pmu";
46                                         regulator-min-microvolt = <5000000>;
47                                         regulator-max-microvolt = <5000000>;
48                                         regulator-always-on;
49                                 };
50
51                                 regulator@1 {
52                                         reg = <1>;
53                                         regulator-compatible = "sd1";
54                                         regulator-name = "nvvdd_sv1,vdd_cpu_pmu";
55                                         regulator-min-microvolt = <1000000>;
56                                         regulator-max-microvolt = <1000000>;
57                                         regulator-always-on;
58                                 };
59
60                                 regulator@2 {
61                                         reg = <2>;
62                                         regulator-compatible = "sd2";
63                                         regulator-name = "nvvdd_sv2,vdd_core";
64                                         regulator-min-microvolt = <1200000>;
65                                         regulator-max-microvolt = <1200000>;
66                                         regulator-always-on;
67                                 };
68 ...
69                         };
70                 };
71         };