tps65090.txt 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. TPS65090 regulators
  2. Required properties:
  3. - compatible: "ti,tps65090"
  4. - reg: I2C slave address
  5. - interrupts: the interrupt outputs of the controller
  6. - regulators: A node that houses a sub-node for each regulator within the
  7. device. Each sub-node is identified using the node's name, with valid
  8. values listed below. The content of each sub-node is defined by the
  9. standard binding for regulators; see regulator.txt.
  10. dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
  11. - vsys[1-3]-supply: The input supply for DCDC[1-3] respectively.
  12. - infet[1-7]-supply: The input supply for FET[1-7] respectively.
  13. - vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively.
  14. Optional properties:
  15. - ti,enable-ext-control: This is applicable for DCDC1, DCDC2 and DCDC3.
  16. If DCDCs are externally controlled then this property should be there.
  17. - "dcdc-ext-control-gpios: This is applicable for DCDC1, DCDC2 and DCDC3.
  18. If DCDCs are externally controlled and if it is from GPIO then GPIO
  19. number should be provided. If it is externally controlled and no GPIO
  20. entry then driver will just configure this rails as external control
  21. and will not provide any enable/disable APIs.
  22. - ti,overcurrent-wait: This is applicable to FET registers, which have a
  23. poorly defined "overcurrent wait" field. If this property is present it
  24. should be between 0 - 3. If this property isn't present we won't touch the
  25. "overcurrent wait" field and we'll leave it to the BIOS/EC to deal with.
  26. Each regulator is defined using the standard binding for regulators.
  27. Example:
  28. tps65090@48 {
  29. compatible = "ti,tps65090";
  30. reg = <0x48>;
  31. interrupts = <0 88 0x4>;
  32. vsys1-supply = <&some_reg>;
  33. vsys2-supply = <&some_reg>;
  34. vsys3-supply = <&some_reg>;
  35. infet1-supply = <&some_reg>;
  36. infet2-supply = <&some_reg>;
  37. infet3-supply = <&some_reg>;
  38. infet4-supply = <&some_reg>;
  39. infet5-supply = <&some_reg>;
  40. infet6-supply = <&some_reg>;
  41. infet7-supply = <&some_reg>;
  42. vsys-l1-supply = <&some_reg>;
  43. vsys-l2-supply = <&some_reg>;
  44. regulators {
  45. dcdc1 {
  46. regulator-name = "dcdc1";
  47. regulator-boot-on;
  48. regulator-always-on;
  49. ti,enable-ext-control;
  50. dcdc-ext-control-gpios = <&gpio 10 0>;
  51. };
  52. dcdc2 {
  53. regulator-name = "dcdc2";
  54. regulator-boot-on;
  55. regulator-always-on;
  56. };
  57. dcdc3 {
  58. regulator-name = "dcdc3";
  59. regulator-boot-on;
  60. regulator-always-on;
  61. };
  62. fet1 {
  63. regulator-name = "fet1";
  64. regulator-boot-on;
  65. regulator-always-on;
  66. };
  67. fet2 {
  68. regulator-name = "fet2";
  69. regulator-boot-on;
  70. regulator-always-on;
  71. };
  72. fet3 {
  73. regulator-name = "fet3";
  74. regulator-boot-on;
  75. regulator-always-on;
  76. };
  77. fet4 {
  78. regulator-name = "fet4";
  79. regulator-boot-on;
  80. regulator-always-on;
  81. };
  82. fet5 {
  83. regulator-name = "fet5";
  84. regulator-boot-on;
  85. regulator-always-on;
  86. };
  87. fet6 {
  88. regulator-name = "fet6";
  89. regulator-boot-on;
  90. regulator-always-on;
  91. };
  92. fet7 {
  93. regulator-name = "fet7";
  94. regulator-boot-on;
  95. regulator-always-on;
  96. };
  97. ldo1 {
  98. regulator-name = "ldo1";
  99. regulator-boot-on;
  100. regulator-always-on;
  101. };
  102. ldo2 {
  103. regulator-name = "ldo2";
  104. regulator-boot-on;
  105. regulator-always-on;
  106. };
  107. };
  108. };