Svyatoslav Ryhel | 04081b5 | 2023-10-27 11:26:14 +0300 | [diff] [blame] | 1 | Texas Instruments, TPS65911 PMIC |
| 2 | |
| 3 | This device uses two drivers: |
| 4 | - drivers/power/pmic/tps65910.c (for parent device) |
| 5 | - drivers/power/regulator/tps65911_regulator.c (for child regulators) |
| 6 | |
| 7 | This chapter describes the binding info for the PMIC driver and regulators. |
| 8 | |
| 9 | Required properties for PMIC: |
| 10 | - compatible: "ti,tps65911" |
| 11 | - reg: 0x2d |
| 12 | |
| 13 | With those two properties, the pmic device can be used for read/write only. |
| 14 | To bind each regulator, the optional regulators subnode should exists. |
| 15 | |
| 16 | Optional subnode: |
| 17 | - name: regulators (subnode list of each device's regulator) |
| 18 | |
| 19 | Regulators subnode contains set on supported regulators. |
| 20 | |
| 21 | Required properties: |
| 22 | - regulator-name: used for regulator uclass platform data '.name', |
| 23 | |
| 24 | List of supported regulator nodes names for tps65911: |
| 25 | - vdd1, vdd2, vddctrl, vddio |
| 26 | - ldo1, ldo2, ldo3, ldo4, ldo5, ldo6, ldo7, ldo8 |
| 27 | |
| 28 | vddio in datasheet is referred as vio, but for reduction of code and |
| 29 | unification of smps regulators it is named vddio. |
| 30 | |
| 31 | Optional: |
| 32 | - regulator-min-microvolt: minimum allowed Voltage to set |
| 33 | - regulator-max-microvolt: minimum allowed Voltage to set |
| 34 | - regulator-always-on: regulator should be never disabled |
| 35 | - regulator-boot-on: regulator should be enabled by the bootloader |
| 36 | |
| 37 | Example: |
| 38 | |
| 39 | tps65911@2d { |
| 40 | compatible = "ti,tps65911"; |
| 41 | reg = <0x2d>; |
| 42 | |
| 43 | regulators { |
| 44 | vdd1 { |
| 45 | regulator-name = "vdd_1v2_backlight"; |
| 46 | regulator-min-microvolt = <1200000>; |
| 47 | regulator-max-microvolt = <1200000>; |
| 48 | regulator-always-on; |
| 49 | regulator-boot-on; |
| 50 | }; |
| 51 | |
| 52 | ... |
| 53 | |
| 54 | vddio { |
| 55 | regulator-name = "vdd_1v8_gen"; |
| 56 | regulator-min-microvolt = <1800000>; |
| 57 | regulator-max-microvolt = <1800000>; |
| 58 | regulator-always-on; |
| 59 | regulator-boot-on; |
| 60 | }; |
| 61 | |
| 62 | ldo1 { |
| 63 | regulator-name = "vdd_emmc_core"; |
| 64 | regulator-min-microvolt = <3300000>; |
| 65 | regulator-max-microvolt = <3300000>; |
| 66 | regulator-always-on; |
| 67 | regulator-boot-on; |
| 68 | }; |
| 69 | |
| 70 | ... |
| 71 | |
| 72 | ldo8 { |
| 73 | regulator-name = "vdd_ddr_hs"; |
| 74 | regulator-min-microvolt = <1000000>; |
| 75 | regulator-max-microvolt = <1000000>; |
| 76 | }; |
| 77 | }; |
| 78 | }; |