Vishwanathrao Badarkhe, Manish | 6116ad9 | 2013-01-24 16:25:18 +0530 | [diff] [blame] | 1 | TPS6507x Power Management Integrated Circuit |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: "ti,tps6507x" |
| 5 | - reg: I2C slave address |
| 6 | - regulators: This is the list of child nodes that specify the regulator |
| 7 | initialization data for defined regulators. Not all regulators for the |
| 8 | given device need to be present. The definition for each of these nodes |
| 9 | is defined using the standard binding for regulators found at |
| 10 | Documentation/devicetree/bindings/regulator/regulator.txt. |
| 11 | The regulator is matched with the regulator-compatible. |
| 12 | |
| 13 | The valid regulator-compatible values are: |
| 14 | tps6507x: vdcdc1, vdcdc2, vdcdc3, vldo1, vldo2 |
| 15 | - xxx-supply: Input voltage supply regulator. |
| 16 | These entries are required if regulators are enabled for a device. |
| 17 | Missing of these properties can cause the regulator registration |
| 18 | fails. |
| 19 | If some of input supply is powered through battery or always-on |
| 20 | supply then also it is require to have these parameters with proper |
| 21 | node handle of always on power supply. |
| 22 | tps6507x: |
| 23 | vindcdc1_2-supply: VDCDC1 and VDCDC2 input. |
| 24 | vindcdc3-supply : VDCDC3 input. |
| 25 | vldo1_2-supply : VLDO1 and VLDO2 input. |
| 26 | |
| 27 | Regulator Optional properties: |
| 28 | - defdcdc_default: It's property of DCDC2 and DCDC3 regulators. |
| 29 | 0: If defdcdc pin of DCDC2/DCDC3 is pulled to GND. |
| 30 | 1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH. |
| 31 | If this property is not defined, it defaults to 0 (not enabled). |
| 32 | |
| 33 | Example: |
| 34 | |
| 35 | pmu: tps6507x@48 { |
| 36 | compatible = "ti,tps6507x"; |
| 37 | reg = <0x48>; |
| 38 | |
| 39 | vindcdc1_2-supply = <&vbat>; |
| 40 | vindcdc3-supply = <...>; |
| 41 | vinldo1_2-supply = <...>; |
| 42 | |
| 43 | regulators { |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <0>; |
| 46 | |
| 47 | vdcdc1_reg: regulator@0 { |
| 48 | regulator-compatible = "VDCDC1"; |
| 49 | reg = <0>; |
| 50 | regulator-min-microvolt = <3150000>; |
| 51 | regulator-max-microvolt = <3450000>; |
| 52 | regulator-always-on; |
| 53 | regulator-boot-on; |
| 54 | }; |
| 55 | vdcdc2_reg: regulator@1 { |
| 56 | regulator-compatible = "VDCDC2"; |
| 57 | reg = <1>; |
| 58 | regulator-min-microvolt = <1710000>; |
| 59 | regulator-max-microvolt = <3450000>; |
| 60 | regulator-always-on; |
| 61 | regulator-boot-on; |
| 62 | defdcdc_default = <1>; |
| 63 | }; |
| 64 | vdcdc3_reg: regulator@2 { |
| 65 | regulator-compatible = "VDCDC3"; |
| 66 | reg = <2>; |
| 67 | regulator-min-microvolt = <950000> |
| 68 | regulator-max-microvolt = <1350000>; |
| 69 | regulator-always-on; |
| 70 | regulator-boot-on; |
| 71 | defdcdc_default = <1>; |
| 72 | }; |
| 73 | ldo1_reg: regulator@3 { |
| 74 | regulator-compatible = "LDO1"; |
| 75 | reg = <3>; |
| 76 | regulator-min-microvolt = <1710000>; |
| 77 | regulator-max-microvolt = <1890000>; |
| 78 | regulator-always-on; |
| 79 | regulator-boot-on; |
| 80 | }; |
| 81 | ldo2_reg: regulator@4 { |
| 82 | regulator-compatible = "LDO2"; |
| 83 | reg = <4>; |
| 84 | regulator-min-microvolt = <1140000>; |
| 85 | regulator-max-microvolt = <1320000>; |
| 86 | regulator-always-on; |
| 87 | regulator-boot-on; |
| 88 | }; |
| 89 | }; |
| 90 | |
| 91 | }; |