-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 357599 b: refs/heads/master c: 4071931 h: refs/heads/master i: 357597: 9ba7efc 357595: 7098632 357591: 878337d 357583: d43b304 357567: ebe494f v: v3
- Loading branch information
Laxman Dewangan
authored and
Samuel Ortiz
committed
Feb 13, 2013
1 parent
778c6d2
commit 155f087
Showing
3 changed files
with
142 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 5f384c1f8be19487f904731d7232120dcfeca8e1 | ||
refs/heads/master: 40719314f259ab9409ca3d48551c17aa23bc2b4d |
122 changes: 122 additions & 0 deletions
122
trunk/Documentation/devicetree/bindings/regulator/tps65090.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
TPS65090 regulators | ||
|
||
Required properties: | ||
- compatible: "ti,tps65090" | ||
- reg: I2C slave address | ||
- interrupts: the interrupt outputs of the controller | ||
- regulators: A node that houses a sub-node for each regulator within the | ||
device. Each sub-node is identified using the node's name, with valid | ||
values listed below. The content of each sub-node is defined by the | ||
standard binding for regulators; see regulator.txt. | ||
dcdc[1-3], fet[1-7] and ldo[1-2] respectively. | ||
- vsys[1-3]-supply: The input supply for DCDC[1-3] respectively. | ||
- infet[1-7]-supply: The input supply for FET[1-7] respectively. | ||
- vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively. | ||
|
||
Optional properties: | ||
- ti,enable-ext-control: This is applicable for DCDC1, DCDC2 and DCDC3. | ||
If DCDCs are externally controlled then this property should be there. | ||
- "dcdc-ext-control-gpios: This is applicable for DCDC1, DCDC2 and DCDC3. | ||
If DCDCs are externally controlled and if it is from GPIO then GPIO | ||
number should be provided. If it is externally controlled and no GPIO | ||
entry then driver will just configure this rails as external control | ||
and will not provide any enable/disable APIs. | ||
|
||
Each regulator is defined using the standard binding for regulators. | ||
|
||
Example: | ||
|
||
tps65090@48 { | ||
compatible = "ti,tps65090"; | ||
reg = <0x48>; | ||
interrupts = <0 88 0x4>; | ||
|
||
vsys1-supply = <&some_reg>; | ||
vsys2-supply = <&some_reg>; | ||
vsys3-supply = <&some_reg>; | ||
infet1-supply = <&some_reg>; | ||
infet2-supply = <&some_reg>; | ||
infet3-supply = <&some_reg>; | ||
infet4-supply = <&some_reg>; | ||
infet5-supply = <&some_reg>; | ||
infet6-supply = <&some_reg>; | ||
infet7-supply = <&some_reg>; | ||
vsys_l1-supply = <&some_reg>; | ||
vsys_l2-supply = <&some_reg>; | ||
|
||
regulators { | ||
dcdc1 { | ||
regulator-name = "dcdc1"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
ti,enable-ext-control; | ||
dcdc-ext-control-gpios = <&gpio 10 0>; | ||
}; | ||
|
||
dcdc2 { | ||
regulator-name = "dcdc2"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
dcdc3 { | ||
regulator-name = "dcdc3"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
fet1 { | ||
regulator-name = "fet1"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
fet2 { | ||
regulator-name = "fet2"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
fet3 { | ||
regulator-name = "fet3"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
fet4 { | ||
regulator-name = "fet4"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
fet5 { | ||
regulator-name = "fet5"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
fet6 { | ||
regulator-name = "fet6"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
fet7 { | ||
regulator-name = "fet7"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
ldo1 { | ||
regulator-name = "ldo1"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
|
||
ldo2 { | ||
regulator-name = "ldo2"; | ||
regulator-boot-on; | ||
regulator-always-on; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters