2012-04-26 14:52:21 +00:00
|
|
|
TPS6586x family of regulators
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible: "ti,tps6586x"
|
|
|
|
- reg: I2C slave address
|
|
|
|
- interrupts: the interrupt outputs of the controller
|
|
|
|
- #gpio-cells: number of cells to describe a GPIO
|
|
|
|
- gpio-controller: mark the device as a GPIO controller
|
2012-09-24 19:25:02 +00:00
|
|
|
- regulators: A node that houses a sub-node for each regulator within the
|
|
|
|
device. Each sub-node is identified using the node's name (or the deprecated
|
|
|
|
regulator-compatible property if present), with valid values listed below.
|
|
|
|
The content of each sub-node is defined by the standard binding for
|
|
|
|
regulators; see regulator.txt.
|
2012-09-04 20:43:39 +00:00
|
|
|
sys, sm[0-2], ldo[0-9] and ldo_rtc
|
|
|
|
- sys-supply: The input supply for SYS.
|
2012-07-24 08:18:00 +00:00
|
|
|
- vin-sm0-supply: The input supply for the SM0.
|
|
|
|
- vin-sm1-supply: The input supply for the SM1.
|
|
|
|
- vin-sm2-supply: The input supply for the SM2.
|
2012-07-13 13:50:32 +00:00
|
|
|
- vinldo01-supply: The input supply for the LDO1 and LDO2
|
|
|
|
- vinldo23-supply: The input supply for the LDO2 and LDO3
|
|
|
|
- vinldo4-supply: The input supply for the LDO4
|
|
|
|
- vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8
|
|
|
|
- vinldo9-supply: The input supply for the LDO9
|
2012-04-26 14:52:21 +00:00
|
|
|
|
2012-08-20 01:07:55 +00:00
|
|
|
Optional properties:
|
|
|
|
- ti,system-power-controller: Telling whether or not this pmic is controlling
|
|
|
|
the system power.
|
|
|
|
|
2012-04-26 14:52:21 +00:00
|
|
|
Each regulator is defined using the standard binding for regulators.
|
|
|
|
|
2012-09-04 20:43:39 +00:00
|
|
|
Note: LDO5 and LDO_RTC is supplied by SYS regulator internally and driver
|
|
|
|
take care of making proper parent child relationship.
|
|
|
|
|
2012-04-26 14:52:21 +00:00
|
|
|
Example:
|
|
|
|
|
|
|
|
pmu: tps6586x@34 {
|
|
|
|
compatible = "ti,tps6586x";
|
|
|
|
reg = <0x34>;
|
|
|
|
interrupts = <0 88 0x4>;
|
|
|
|
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-controller;
|
|
|
|
|
2012-08-20 01:07:55 +00:00
|
|
|
ti,system-power-controller;
|
|
|
|
|
2012-09-04 20:43:39 +00:00
|
|
|
sys-supply = <&some_reg>;
|
2012-07-24 08:18:00 +00:00
|
|
|
vin-sm0-supply = <&some_reg>;
|
|
|
|
vin-sm1-supply = <&some_reg>;
|
|
|
|
vin-sm2-supply = <&some_reg>;
|
2012-07-13 13:50:32 +00:00
|
|
|
vinldo01-supply = <...>;
|
|
|
|
vinldo23-supply = <...>;
|
|
|
|
vinldo4-supply = <...>;
|
|
|
|
vinldo678-supply = <...>;
|
|
|
|
vinldo9-supply = <...>;
|
|
|
|
|
2012-04-26 14:52:21 +00:00
|
|
|
regulators {
|
2012-09-24 19:25:02 +00:00
|
|
|
sys_reg: sys {
|
2012-09-04 20:43:39 +00:00
|
|
|
regulator-name = "vdd_sys";
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
sm0_reg: sm0 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = < 725000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
sm1_reg: sm1 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = < 725000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
sm2_reg: sm2 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <4550000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo0_reg: ldo0 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-name = "PCIE CLK";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo1_reg: ldo1 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = < 725000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo2_reg: ldo2 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = < 725000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo3_reg: ldo3 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo4_reg: ldo4 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1700000>;
|
|
|
|
regulator-max-microvolt = <2475000>;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo5_reg: ldo5 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo6_reg: ldo6 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo7_reg: ldo7 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo8_reg: ldo8 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
|
2012-09-24 19:25:02 +00:00
|
|
|
ldo9_reg: ldo9 {
|
2012-04-26 14:52:21 +00:00
|
|
|
regulator-min-microvolt = <1250000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|