tps65910.txt 6.3 KB

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