regulator: dt: add policy to have property "regulator-compatible"
[deliverable/linux.git] / Documentation / devicetree / bindings / regulator / tps6586x.txt
CommitLineData
62f6b087
TR
1TPS6586x family of regulators
2
3Required properties:
4- compatible: "ti,tps6586x"
5- reg: I2C slave address
6- interrupts: the interrupt outputs of the controller
7- #gpio-cells: number of cells to describe a GPIO
8- gpio-controller: mark the device as a GPIO controller
8c5e461d
LD
9- regulators: list of regulators provided by this controller, must have
10 property "regulator-compatible" to match their hardware counterparts:
11 sm[0-2], ldo[0-9] and ldo_rtc
62f6b087
TR
12
13Each regulator is defined using the standard binding for regulators.
14
15Example:
16
17 pmu: tps6586x@34 {
18 compatible = "ti,tps6586x";
19 reg = <0x34>;
20 interrupts = <0 88 0x4>;
21
22 #gpio-cells = <2>;
23 gpio-controller;
24
25 regulators {
8c5e461d
LD
26 #address-cells = <1>;
27 #size-cells = <0>;
28
29 sm0_reg: regulator@0 {
30 reg = <0>;
31 regulator-compatible = "sm0";
62f6b087
TR
32 regulator-min-microvolt = < 725000>;
33 regulator-max-microvolt = <1500000>;
34 regulator-boot-on;
35 regulator-always-on;
36 };
37
8c5e461d
LD
38 sm1_reg: regulator@1 {
39 reg = <1>;
40 regulator-compatible = "sm1";
62f6b087
TR
41 regulator-min-microvolt = < 725000>;
42 regulator-max-microvolt = <1500000>;
43 regulator-boot-on;
44 regulator-always-on;
45 };
46
8c5e461d
LD
47 sm2_reg: regulator@2 {
48 reg = <2>;
49 regulator-compatible = "sm2";
62f6b087
TR
50 regulator-min-microvolt = <3000000>;
51 regulator-max-microvolt = <4550000>;
52 regulator-boot-on;
53 regulator-always-on;
54 };
55
8c5e461d
LD
56 ldo0_reg: regulator@3 {
57 reg = <3>;
58 regulator-compatible = "ldo0";
62f6b087
TR
59 regulator-name = "PCIE CLK";
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
62 };
63
8c5e461d
LD
64 ldo1_reg: regulator@4 {
65 reg = <4>;
66 regulator-compatible = "ldo1";
62f6b087
TR
67 regulator-min-microvolt = < 725000>;
68 regulator-max-microvolt = <1500000>;
69 };
70
8c5e461d
LD
71 ldo2_reg: regulator@5 {
72 reg = <5>;
73 regulator-compatible = "ldo2";
62f6b087
TR
74 regulator-min-microvolt = < 725000>;
75 regulator-max-microvolt = <1500000>;
76 };
77
8c5e461d
LD
78 ldo3_reg: regulator@6 {
79 reg = <6>;
80 regulator-compatible = "ldo3";
62f6b087
TR
81 regulator-min-microvolt = <1250000>;
82 regulator-max-microvolt = <3300000>;
83 };
84
8c5e461d
LD
85 ldo4_reg: regulator@7 {
86 reg = <7>;
87 regulator-compatible = "ldo4";
62f6b087
TR
88 regulator-min-microvolt = <1700000>;
89 regulator-max-microvolt = <2475000>;
90 };
91
8c5e461d
LD
92 ldo5_reg: regulator@8 {
93 reg = <8>;
94 regulator-compatible = "ldo5";
62f6b087
TR
95 regulator-min-microvolt = <1250000>;
96 regulator-max-microvolt = <3300000>;
97 };
98
8c5e461d
LD
99 ldo6_reg: regulator@9 {
100 reg = <9>;
101 regulator-compatible = "ldo6";
62f6b087
TR
102 regulator-min-microvolt = <1250000>;
103 regulator-max-microvolt = <3300000>;
104 };
105
8c5e461d
LD
106 ldo7_reg: regulator@10 {
107 reg = <10>;
108 regulator-compatible = "ldo7";
62f6b087
TR
109 regulator-min-microvolt = <1250000>;
110 regulator-max-microvolt = <3300000>;
111 };
112
8c5e461d
LD
113 ldo8_reg: regulator@11 {
114 reg = <11>;
115 regulator-compatible = "ldo8";
62f6b087
TR
116 regulator-min-microvolt = <1250000>;
117 regulator-max-microvolt = <3300000>;
118 };
119
8c5e461d
LD
120 ldo9_reg: regulator@12 {
121 reg = <12>;
122 regulator-compatible = "ldo9";
62f6b087
TR
123 regulator-min-microvolt = <1250000>;
124 regulator-max-microvolt = <3300000>;
125 };
126 };
127 };
This page took 0.049496 seconds and 5 git commands to generate.