blob: 8b40cac24d93959740b828f8614736177028f066 [file] [log] [blame]
Thierry Reding62f6b082012-04-26 16:52:21 +02001TPS6586x 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
Stephen Warren3006b8d2012-09-24 13:25:02 -06009- regulators: A node that houses a sub-node for each regulator within the
10 device. Each sub-node is identified using the node's name (or the deprecated
11 regulator-compatible property if present), with valid values listed below.
12 The content of each sub-node is defined by the standard binding for
13 regulators; see regulator.txt.
Laxman Dewangan9394b802012-09-04 14:43:39 -060014 sys, sm[0-2], ldo[0-9] and ldo_rtc
15- sys-supply: The input supply for SYS.
Laxman Dewangan7f852e02012-07-24 13:48:00 +053016- vin-sm0-supply: The input supply for the SM0.
17- vin-sm1-supply: The input supply for the SM1.
18- vin-sm2-supply: The input supply for the SM2.
Laxman Dewangan7c7fac32012-07-13 19:20:32 +053019- vinldo01-supply: The input supply for the LDO1 and LDO2
20- vinldo23-supply: The input supply for the LDO2 and LDO3
21- vinldo4-supply: The input supply for the LDO4
22- vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8
23- vinldo9-supply: The input supply for the LDO9
Thierry Reding62f6b082012-04-26 16:52:21 +020024
Bill Huang004c15a2012-08-19 18:07:55 -070025Optional properties:
26- ti,system-power-controller: Telling whether or not this pmic is controlling
27 the system power.
28
Thierry Reding62f6b082012-04-26 16:52:21 +020029Each regulator is defined using the standard binding for regulators.
30
Laxman Dewangan9394b802012-09-04 14:43:39 -060031Note: LDO5 and LDO_RTC is supplied by SYS regulator internally and driver
32 take care of making proper parent child relationship.
33
Thierry Reding62f6b082012-04-26 16:52:21 +020034Example:
35
36 pmu: tps6586x@34 {
37 compatible = "ti,tps6586x";
38 reg = <0x34>;
39 interrupts = <0 88 0x4>;
40
41 #gpio-cells = <2>;
42 gpio-controller;
43
Bill Huang004c15a2012-08-19 18:07:55 -070044 ti,system-power-controller;
45
Laxman Dewangan9394b802012-09-04 14:43:39 -060046 sys-supply = <&some_reg>;
Laxman Dewangan7f852e02012-07-24 13:48:00 +053047 vin-sm0-supply = <&some_reg>;
48 vin-sm1-supply = <&some_reg>;
49 vin-sm2-supply = <&some_reg>;
Laxman Dewangan7c7fac32012-07-13 19:20:32 +053050 vinldo01-supply = <...>;
51 vinldo23-supply = <...>;
52 vinldo4-supply = <...>;
53 vinldo678-supply = <...>;
54 vinldo9-supply = <...>;
55
Thierry Reding62f6b082012-04-26 16:52:21 +020056 regulators {
Stephen Warren3006b8d2012-09-24 13:25:02 -060057 sys_reg: sys {
Laxman Dewangan9394b802012-09-04 14:43:39 -060058 regulator-name = "vdd_sys";
59 regulator-boot-on;
60 regulator-always-on;
61 };
62
Stephen Warren3006b8d2012-09-24 13:25:02 -060063 sm0_reg: sm0 {
Thierry Reding62f6b082012-04-26 16:52:21 +020064 regulator-min-microvolt = < 725000>;
65 regulator-max-microvolt = <1500000>;
66 regulator-boot-on;
67 regulator-always-on;
68 };
69
Stephen Warren3006b8d2012-09-24 13:25:02 -060070 sm1_reg: sm1 {
Thierry Reding62f6b082012-04-26 16:52:21 +020071 regulator-min-microvolt = < 725000>;
72 regulator-max-microvolt = <1500000>;
73 regulator-boot-on;
74 regulator-always-on;
75 };
76
Stephen Warren3006b8d2012-09-24 13:25:02 -060077 sm2_reg: sm2 {
Thierry Reding62f6b082012-04-26 16:52:21 +020078 regulator-min-microvolt = <3000000>;
79 regulator-max-microvolt = <4550000>;
80 regulator-boot-on;
81 regulator-always-on;
82 };
83
Stephen Warren3006b8d2012-09-24 13:25:02 -060084 ldo0_reg: ldo0 {
Thierry Reding62f6b082012-04-26 16:52:21 +020085 regulator-name = "PCIE CLK";
86 regulator-min-microvolt = <3300000>;
87 regulator-max-microvolt = <3300000>;
88 };
89
Stephen Warren3006b8d2012-09-24 13:25:02 -060090 ldo1_reg: ldo1 {
Thierry Reding62f6b082012-04-26 16:52:21 +020091 regulator-min-microvolt = < 725000>;
92 regulator-max-microvolt = <1500000>;
93 };
94
Stephen Warren3006b8d2012-09-24 13:25:02 -060095 ldo2_reg: ldo2 {
Thierry Reding62f6b082012-04-26 16:52:21 +020096 regulator-min-microvolt = < 725000>;
97 regulator-max-microvolt = <1500000>;
98 };
99
Stephen Warren3006b8d2012-09-24 13:25:02 -0600100 ldo3_reg: ldo3 {
Thierry Reding62f6b082012-04-26 16:52:21 +0200101 regulator-min-microvolt = <1250000>;
102 regulator-max-microvolt = <3300000>;
103 };
104
Stephen Warren3006b8d2012-09-24 13:25:02 -0600105 ldo4_reg: ldo4 {
Thierry Reding62f6b082012-04-26 16:52:21 +0200106 regulator-min-microvolt = <1700000>;
107 regulator-max-microvolt = <2475000>;
108 };
109
Stephen Warren3006b8d2012-09-24 13:25:02 -0600110 ldo5_reg: ldo5 {
Thierry Reding62f6b082012-04-26 16:52:21 +0200111 regulator-min-microvolt = <1250000>;
112 regulator-max-microvolt = <3300000>;
113 };
114
Stephen Warren3006b8d2012-09-24 13:25:02 -0600115 ldo6_reg: ldo6 {
Thierry Reding62f6b082012-04-26 16:52:21 +0200116 regulator-min-microvolt = <1250000>;
117 regulator-max-microvolt = <3300000>;
118 };
119
Stephen Warren3006b8d2012-09-24 13:25:02 -0600120 ldo7_reg: ldo7 {
Thierry Reding62f6b082012-04-26 16:52:21 +0200121 regulator-min-microvolt = <1250000>;
122 regulator-max-microvolt = <3300000>;
123 };
124
Stephen Warren3006b8d2012-09-24 13:25:02 -0600125 ldo8_reg: ldo8 {
Thierry Reding62f6b082012-04-26 16:52:21 +0200126 regulator-min-microvolt = <1250000>;
127 regulator-max-microvolt = <3300000>;
128 };
129
Stephen Warren3006b8d2012-09-24 13:25:02 -0600130 ldo9_reg: ldo9 {
Thierry Reding62f6b082012-04-26 16:52:21 +0200131 regulator-min-microvolt = <1250000>;
132 regulator-max-microvolt = <3300000>;
133 };
134 };
135 };