da9211.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. * Dialog Semiconductor DA9211/DA9213/DA9215 Voltage Regulator
  2. Required properties:
  3. - compatible: "dlg,da9211" or "dlg,da9213" or "dlg,da9215"
  4. - reg: I2C slave address, usually 0x68.
  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. BUCKA and BUCKB.
  11. Optional properties:
  12. - enable-gpios: platform gpio for control of BUCKA/BUCKB.
  13. - Any optional property defined in regulator.txt
  14. Example 1) DA9211
  15. pmic: da9211@68 {
  16. compatible = "dlg,da9211";
  17. reg = <0x68>;
  18. interrupts = <3 27>;
  19. regulators {
  20. BUCKA {
  21. regulator-name = "VBUCKA";
  22. regulator-min-microvolt = < 300000>;
  23. regulator-max-microvolt = <1570000>;
  24. regulator-min-microamp = <2000000>;
  25. regulator-max-microamp = <5000000>;
  26. enable-gpios = <&gpio 27 0>;
  27. };
  28. BUCKB {
  29. regulator-name = "VBUCKB";
  30. regulator-min-microvolt = < 300000>;
  31. regulator-max-microvolt = <1570000>;
  32. regulator-min-microamp = <2000000>;
  33. regulator-max-microamp = <5000000>;
  34. enable-gpios = <&gpio 17 0>;
  35. };
  36. };
  37. };
  38. Example 2) DA9213
  39. pmic: da9213@68 {
  40. compatible = "dlg,da9213";
  41. reg = <0x68>;
  42. interrupts = <3 27>;
  43. regulators {
  44. BUCKA {
  45. regulator-name = "VBUCKA";
  46. regulator-min-microvolt = < 300000>;
  47. regulator-max-microvolt = <1570000>;
  48. regulator-min-microamp = <3000000>;
  49. regulator-max-microamp = <6000000>;
  50. enable-gpios = <&gpio 27 0>;
  51. };
  52. BUCKB {
  53. regulator-name = "VBUCKB";
  54. regulator-min-microvolt = < 300000>;
  55. regulator-max-microvolt = <1570000>;
  56. regulator-min-microamp = <3000000>;
  57. regulator-max-microamp = <6000000>;
  58. enable-gpios = <&gpio 17 0>;
  59. };
  60. };
  61. };
  62. Example 3) DA9215
  63. pmic: da9215@68 {
  64. compatible = "dlg,da9215";
  65. reg = <0x68>;
  66. interrupts = <3 27>;
  67. regulators {
  68. BUCKA {
  69. regulator-name = "VBUCKA";
  70. regulator-min-microvolt = < 300000>;
  71. regulator-max-microvolt = <1570000>;
  72. regulator-min-microamp = <4000000>;
  73. regulator-max-microamp = <7000000>;
  74. enable-gpios = <&gpio 27 0>;
  75. };
  76. BUCKB {
  77. regulator-name = "VBUCKB";
  78. regulator-min-microvolt = < 300000>;
  79. regulator-max-microvolt = <1570000>;
  80. regulator-min-microamp = <4000000>;
  81. regulator-max-microamp = <7000000>;
  82. enable-gpios = <&gpio 17 0>;
  83. };
  84. };
  85. };