^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) TPS65910 Power Management Integrated Circuit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: "ti,tps65910" or "ti,tps65911"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg: I2C slave address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - interrupts: the interrupt outputs of the controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - #gpio-cells: number of cells to describe a GPIO, this should be 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) The first cell is the GPIO number.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) The second cell is used to specify additional options <unused>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - gpio-controller: mark the device as a GPIO controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - #interrupt-cells: the number of cells to describe an IRQ, this should be 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) The first cell is the IRQ number.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) The second cell is the flags, encoded as the trigger masks from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - regulators: This is the list of child nodes that specify the regulator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) initialization data for defined regulators. Not all regulators for the given
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) device need to be present. The definition for each of these nodes is defined
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) using the standard binding for regulators found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Documentation/devicetree/bindings/regulator/regulator.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) The regulator is matched with the regulator-compatible.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) The valid regulator-compatible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) vaux2, vaux33, vmmc, vbb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) tps65911: vrtc, vio, vdd1, vdd2, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) ldo6, ldo7, ldo8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) - xxx-supply: Input voltage supply regulator.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) These entries are required if regulators are enabled for a device. Missing these
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) properties can cause the regulator registration to fail.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) If some of input supply is powered through battery or always-on supply then
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) also it is require to have these parameters with proper node handle of always
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) on power supply.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) tps65910:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) vcc1-supply: VDD1 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) vcc2-supply: VDD2 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) vcc3-supply: VAUX33 and VMMC input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) vcc4-supply: VAUX1 and VAUX2 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) vcc5-supply: VPLL and VDAC input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) vcc6-supply: VDIG1 and VDIG2 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) vcc7-supply: VRTC and VBB input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) vccio-supply: VIO input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) tps65911:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) vcc1-supply: VDD1 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) vcc2-supply: VDD2 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) vcc3-supply: LDO6, LDO7 and LDO8 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) vcc4-supply: LDO5 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) vcc5-supply: LDO3 and LDO4 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) vcc6-supply: LDO1 and LDO2 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) vcc7-supply: VRTC input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) vccio-supply: VIO input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) - ti,vmbch-threshold: (tps65911) main battery charged threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) comparator. (see VMBCH_VSEL in TPS65910 datasheet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) - ti,vmbch2-threshold: (tps65911) main battery discharged threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) comparator. (see VMBCH_VSEL in TPS65910 datasheet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) - ti,en-ck32k-xtal: enable external 32-kHz crystal oscillator (see CK32K_CTRL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) in TPS6591X datasheet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) - ti,en-gpio-sleep: enable sleep control for gpios
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) There should be 9 entries here, one for each gpio.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) - ti,system-power-controller: Telling whether or not this pmic is controlling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) the system power.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) - ti,sleep-enable: Enable SLEEP state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) - ti,sleep-keep-therm: Keep thermal monitoring on in sleep state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) - ti,sleep-keep-ck32k: Keep the 32KHz clock output on in sleep state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) - ti,sleep-keep-hsclk: Keep high speed internal clock on in sleep state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Regulator Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) - ti,regulator-ext-sleep-control: enable external sleep
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) control through external inputs [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) If this property is not defined, it defaults to 0 (not enabled).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) pmu: tps65910@d2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) compatible = "ti,tps65910";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) reg = <0xd2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) interrupt-parent = <&intc>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) interrupts = < 0 118 0x04 >;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) #interrupt-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) ti,system-power-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) ti,vmbch-threshold = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) ti,vmbch2-threshold = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) ti,en-ck32k-xtal;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) vcc1-supply = <®_parent>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) vcc2-supply = <&some_reg>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) vcc3-supply = <...>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) vcc4-supply = <...>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) vcc5-supply = <...>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) vcc6-supply = <...>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) vcc7-supply = <...>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) vccio-supply = <...>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) vdd1_reg: regulator@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) regulator-compatible = "vdd1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) regulator-min-microvolt = < 600000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) regulator-max-microvolt = <1500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) ti,regulator-ext-sleep-control = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) vdd2_reg: regulator@1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) regulator-compatible = "vdd2";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) reg = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) regulator-min-microvolt = < 600000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) regulator-max-microvolt = <1500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) ti,regulator-ext-sleep-control = <4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) vddctrl_reg: regulator@2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) regulator-compatible = "vddctrl";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) reg = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) regulator-min-microvolt = < 600000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) regulator-max-microvolt = <1400000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) ti,regulator-ext-sleep-control = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) vio_reg: regulator@3 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) regulator-compatible = "vio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) reg = <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) regulator-min-microvolt = <1500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) regulator-max-microvolt = <1800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) ti,regulator-ext-sleep-control = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) ldo1_reg: regulator@4 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) regulator-compatible = "ldo1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) reg = <4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) regulator-min-microvolt = <1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) ti,regulator-ext-sleep-control = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) ldo2_reg: regulator@5 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) regulator-compatible = "ldo2";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) reg = <5>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) regulator-min-microvolt = <1050000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) regulator-max-microvolt = <1050000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) ti,regulator-ext-sleep-control = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) ldo3_reg: regulator@6 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) regulator-compatible = "ldo3";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) reg = <6>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) regulator-min-microvolt = <1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) ti,regulator-ext-sleep-control = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) ldo4_reg: regulator@7 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) regulator-compatible = "ldo4";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) reg = <7>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) regulator-min-microvolt = <1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) ti,regulator-ext-sleep-control = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) ldo5_reg: regulator@8 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) regulator-compatible = "ldo5";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) reg = <8>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) regulator-min-microvolt = <1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) ti,regulator-ext-sleep-control = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) ldo6_reg: regulator@9 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) regulator-compatible = "ldo6";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) reg = <9>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) regulator-min-microvolt = <1200000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) regulator-max-microvolt = <1200000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) ti,regulator-ext-sleep-control = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) ldo7_reg: regulator@10 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) regulator-compatible = "ldo7";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) reg = <10>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) regulator-min-microvolt = <1200000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) regulator-max-microvolt = <1200000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) ti,regulator-ext-sleep-control = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) ldo8_reg: regulator@11 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) regulator-compatible = "ldo8";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) reg = <11>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) regulator-min-microvolt = <1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) ti,regulator-ext-sleep-control = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) };