lm363x-regulator.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. TI LMU LM363x regulator device tree bindings
  2. LM363x regulator driver supports LM3631 and LM3632.
  3. LM3631 has five regulators and LM3632 supports three regulators.
  4. Required property:
  5. - compatible: "ti,lm363x-regulator"
  6. Optional properties:
  7. LM3632 has external enable pins for two LDOs.
  8. - enable-gpios: Two GPIO specifiers for Vpos and Vneg control pins.
  9. The first entry is Vpos, the second is Vneg enable pin.
  10. Child nodes:
  11. LM3631
  12. - vboost
  13. - vcont
  14. - voref
  15. - vpos
  16. - vneg
  17. LM3632
  18. - vboost
  19. - vpos
  20. - vneg
  21. Optional properties of a child node:
  22. Each sub-node should contain the constraints and initialization.
  23. Please refer to [1].
  24. Examples: Please refer to ti-lmu dt-bindings [2].
  25. lm3631@29 {
  26. compatible = "ti,lm3631";
  27. reg = <0x29>;
  28. regulators {
  29. compatible = "ti,lm363x-regulator";
  30. vboost {
  31. regulator-name = "lcd_boost";
  32. regulator-min-microvolt = <4500000>;
  33. regulator-max-microvolt = <6350000>;
  34. regulator-always-on;
  35. };
  36. vcont {
  37. regulator-name = "lcd_vcont";
  38. regulator-min-microvolt = <1800000>;
  39. regulator-max-microvolt = <3300000>;
  40. };
  41. voref {
  42. regulator-name = "lcd_voref";
  43. regulator-min-microvolt = <4000000>;
  44. regulator-max-microvolt = <6000000>;
  45. };
  46. vpos {
  47. regulator-name = "lcd_vpos";
  48. regulator-min-microvolt = <4000000>;
  49. regulator-max-microvolt = <6000000>;
  50. regulator-boot-on;
  51. };
  52. vneg {
  53. regulator-name = "lcd_vneg";
  54. regulator-min-microvolt = <4000000>;
  55. regulator-max-microvolt = <6000000>;
  56. regulator-boot-on;
  57. };
  58. };
  59. };
  60. lm3632@11 {
  61. compatible = "ti,lm3632";
  62. reg = <0x11>;
  63. regulators {
  64. compatible = "ti,lm363x-regulator";
  65. /* GPIO1_16 for Vpos, GPIO1_28 is for Vneg */
  66. enable-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>,
  67. <&gpio1 28 GPIO_ACTIVE_HIGH>;
  68. vboost {
  69. regulator-name = "lcd_boost";
  70. regulator-min-microvolt = <4500000>;
  71. regulator-max-microvolt = <6400000>;
  72. regulator-always-on;
  73. };
  74. vpos {
  75. regulator-name = "lcd_vpos";
  76. regulator-min-microvolt = <4000000>;
  77. regulator-max-microvolt = <6000000>;
  78. };
  79. vneg {
  80. regulator-name = "lcd_vneg";
  81. regulator-min-microvolt = <4000000>;
  82. regulator-max-microvolt = <6000000>;
  83. };
  84. };
  85. };
  86. [1] ../regulator/regulator.txt
  87. [2] ../mfd/ti-lmu.txt