tps6586x.txt 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. TPS6586x family of regulators
  2. Required properties:
  3. - compatible: "ti,tps6586x"
  4. - reg: I2C slave address
  5. - interrupts: the interrupt outputs of the controller
  6. - #gpio-cells: number of cells to describe a GPIO
  7. - gpio-controller: mark the device as a GPIO controller
  8. - regulators: list of regulators provided by this controller, must have
  9. property "regulator-compatible" to match their hardware counterparts:
  10. sm[0-2], ldo[0-9] and ldo_rtc
  11. - sm0-supply: The input supply for the SM0.
  12. - sm1-supply: The input supply for the SM1.
  13. - sm2-supply: The input supply for the SM2.
  14. - vinldo01-supply: The input supply for the LDO1 and LDO2
  15. - vinldo23-supply: The input supply for the LDO2 and LDO3
  16. - vinldo4-supply: The input supply for the LDO4
  17. - vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8
  18. - vinldo9-supply: The input supply for the LDO9
  19. Optional properties:
  20. - ti,system-power-controller: Telling whether or not this pmic is controlling
  21. the system power.
  22. Each regulator is defined using the standard binding for regulators.
  23. Example:
  24. pmu: tps6586x@34 {
  25. compatible = "ti,tps6586x";
  26. reg = <0x34>;
  27. interrupts = <0 88 0x4>;
  28. #gpio-cells = <2>;
  29. gpio-controller;
  30. ti,system-power-controller;
  31. sm0-supply = <&some_reg>;
  32. sm1-supply = <&some_reg>;
  33. sm2-supply = <&some_reg>;
  34. vinldo01-supply = <...>;
  35. vinldo23-supply = <...>;
  36. vinldo4-supply = <...>;
  37. vinldo678-supply = <...>;
  38. vinldo9-supply = <...>;
  39. regulators {
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. sm0_reg: regulator@0 {
  43. reg = <0>;
  44. regulator-compatible = "sm0";
  45. regulator-min-microvolt = < 725000>;
  46. regulator-max-microvolt = <1500000>;
  47. regulator-boot-on;
  48. regulator-always-on;
  49. };
  50. sm1_reg: regulator@1 {
  51. reg = <1>;
  52. regulator-compatible = "sm1";
  53. regulator-min-microvolt = < 725000>;
  54. regulator-max-microvolt = <1500000>;
  55. regulator-boot-on;
  56. regulator-always-on;
  57. };
  58. sm2_reg: regulator@2 {
  59. reg = <2>;
  60. regulator-compatible = "sm2";
  61. regulator-min-microvolt = <3000000>;
  62. regulator-max-microvolt = <4550000>;
  63. regulator-boot-on;
  64. regulator-always-on;
  65. };
  66. ldo0_reg: regulator@3 {
  67. reg = <3>;
  68. regulator-compatible = "ldo0";
  69. regulator-name = "PCIE CLK";
  70. regulator-min-microvolt = <3300000>;
  71. regulator-max-microvolt = <3300000>;
  72. };
  73. ldo1_reg: regulator@4 {
  74. reg = <4>;
  75. regulator-compatible = "ldo1";
  76. regulator-min-microvolt = < 725000>;
  77. regulator-max-microvolt = <1500000>;
  78. };
  79. ldo2_reg: regulator@5 {
  80. reg = <5>;
  81. regulator-compatible = "ldo2";
  82. regulator-min-microvolt = < 725000>;
  83. regulator-max-microvolt = <1500000>;
  84. };
  85. ldo3_reg: regulator@6 {
  86. reg = <6>;
  87. regulator-compatible = "ldo3";
  88. regulator-min-microvolt = <1250000>;
  89. regulator-max-microvolt = <3300000>;
  90. };
  91. ldo4_reg: regulator@7 {
  92. reg = <7>;
  93. regulator-compatible = "ldo4";
  94. regulator-min-microvolt = <1700000>;
  95. regulator-max-microvolt = <2475000>;
  96. };
  97. ldo5_reg: regulator@8 {
  98. reg = <8>;
  99. regulator-compatible = "ldo5";
  100. regulator-min-microvolt = <1250000>;
  101. regulator-max-microvolt = <3300000>;
  102. };
  103. ldo6_reg: regulator@9 {
  104. reg = <9>;
  105. regulator-compatible = "ldo6";
  106. regulator-min-microvolt = <1250000>;
  107. regulator-max-microvolt = <3300000>;
  108. };
  109. ldo7_reg: regulator@10 {
  110. reg = <10>;
  111. regulator-compatible = "ldo7";
  112. regulator-min-microvolt = <1250000>;
  113. regulator-max-microvolt = <3300000>;
  114. };
  115. ldo8_reg: regulator@11 {
  116. reg = <11>;
  117. regulator-compatible = "ldo8";
  118. regulator-min-microvolt = <1250000>;
  119. regulator-max-microvolt = <3300000>;
  120. };
  121. ldo9_reg: regulator@12 {
  122. reg = <12>;
  123. regulator-compatible = "ldo9";
  124. regulator-min-microvolt = <1250000>;
  125. regulator-max-microvolt = <3300000>;
  126. };
  127. };
  128. };