tps65910.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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/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 valid names for regulators are:
  20. tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1,
  21. vaux2, vaux33, vmmc
  22. tps65911: vrtc, vio, vdd1, vdd3, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5,
  23. ldo6, ldo7, ldo8
  24. Optional properties:
  25. - ti,vmbch-threshold: (tps65911) main battery charged threshold
  26. comparator. (see VMBCH_VSEL in TPS65910 datasheet)
  27. - ti,vmbch2-threshold: (tps65911) main battery discharged threshold
  28. comparator. (see VMBCH_VSEL in TPS65910 datasheet)
  29. - ti,en-gpio-sleep: enable sleep control for gpios
  30. There should be 9 entries here, one for each gpio.
  31. Regulator Optional properties:
  32. - ti,regulator-ext-sleep-control: enable external sleep
  33. control through external inputs [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)]
  34. If this property is not defined, it defaults to 0 (not enabled).
  35. Example:
  36. pmu: tps65910@d2 {
  37. compatible = "ti,tps65910";
  38. reg = <0xd2>;
  39. interrupt-parent = <&intc>;
  40. interrupts = < 0 118 0x04 >;
  41. #gpio-cells = <2>;
  42. gpio-controller;
  43. #interrupt-cells = <2>;
  44. interrupt-controller;
  45. ti,vmbch-threshold = 0;
  46. ti,vmbch2-threshold = 0;
  47. ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;
  48. regulators {
  49. vdd1_reg: vdd1 {
  50. regulator-min-microvolt = < 600000>;
  51. regulator-max-microvolt = <1500000>;
  52. regulator-always-on;
  53. regulator-boot-on;
  54. ti,regulator-ext-sleep-control = <0>;
  55. };
  56. vdd2_reg: vdd2 {
  57. regulator-min-microvolt = < 600000>;
  58. regulator-max-microvolt = <1500000>;
  59. regulator-always-on;
  60. regulator-boot-on;
  61. ti,regulator-ext-sleep-control = <4>;
  62. };
  63. vddctrl_reg: vddctrl {
  64. regulator-min-microvolt = < 600000>;
  65. regulator-max-microvolt = <1400000>;
  66. regulator-always-on;
  67. regulator-boot-on;
  68. ti,regulator-ext-sleep-control = <0>;
  69. };
  70. vio_reg: vio {
  71. regulator-min-microvolt = <1500000>;
  72. regulator-max-microvolt = <1800000>;
  73. regulator-always-on;
  74. regulator-boot-on;
  75. ti,regulator-ext-sleep-control = <1>;
  76. };
  77. ldo1_reg: ldo1 {
  78. regulator-min-microvolt = <1000000>;
  79. regulator-max-microvolt = <3300000>;
  80. ti,regulator-ext-sleep-control = <0>;
  81. };
  82. ldo2_reg: ldo2 {
  83. regulator-min-microvolt = <1050000>;
  84. regulator-max-microvolt = <1050000>;
  85. ti,regulator-ext-sleep-control = <0>;
  86. };
  87. ldo3_reg: ldo3 {
  88. regulator-min-microvolt = <1000000>;
  89. regulator-max-microvolt = <3300000>;
  90. ti,regulator-ext-sleep-control = <0>;
  91. };
  92. ldo4_reg: ldo4 {
  93. regulator-min-microvolt = <1000000>;
  94. regulator-max-microvolt = <3300000>;
  95. regulator-always-on;
  96. ti,regulator-ext-sleep-control = <0>;
  97. };
  98. ldo5_reg: ldo5 {
  99. regulator-min-microvolt = <1000000>;
  100. regulator-max-microvolt = <3300000>;
  101. ti,regulator-ext-sleep-control = <0>;
  102. };
  103. ldo6_reg: ldo6 {
  104. regulator-min-microvolt = <1200000>;
  105. regulator-max-microvolt = <1200000>;
  106. ti,regulator-ext-sleep-control = <0>;
  107. };
  108. ldo7_reg: ldo7 {
  109. regulator-min-microvolt = <1200000>;
  110. regulator-max-microvolt = <1200000>;
  111. regulator-always-on;
  112. regulator-boot-on;
  113. ti,regulator-ext-sleep-control = <1>;
  114. };
  115. ldo8_reg: ldo8 {
  116. regulator-min-microvolt = <1000000>;
  117. regulator-max-microvolt = <3300000>;
  118. regulator-always-on;
  119. ti,regulator-ext-sleep-control = <1>;
  120. };
  121. };
  122. };