active-semi,act8846.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/active-semi,act8846.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Active-semi ACT8846 regulator
  7. maintainers:
  8. - Paul Cercueil <paul@crapouillou.net>
  9. properties:
  10. compatible:
  11. const: active-semi,act8846
  12. reg:
  13. maxItems: 1
  14. system-power-controller:
  15. description:
  16. Indicates that the ACT8846 is responsible for powering OFF
  17. the system.
  18. type: boolean
  19. active-semi,vsel-high:
  20. description:
  21. Indicates the VSEL pin is high. If this property is missing,
  22. the VSEL pin is assumed to be low.
  23. type: boolean
  24. inl1-supply:
  25. description: Handle to the INL1 input supply (REG5-7)
  26. inl2-supply:
  27. description: Handle to the INL2 input supply (REG8-9)
  28. inl3-supply:
  29. description: Handle to the INL3 input supply (REG10-12)
  30. vp1-supply:
  31. description: Handle to the VP1 input supply (REG1)
  32. vp2-supply:
  33. description: Handle to the VP2 input supply (REG2)
  34. vp3-supply:
  35. description: Handle to the VP3 input supply (REG3)
  36. vp4-supply:
  37. description: Handle to the VP4 input supply (REG4)
  38. regulators:
  39. type: object
  40. additionalProperties: false
  41. patternProperties:
  42. "^REG([1-9]|1[0-2])$":
  43. type: object
  44. $ref: /schemas/regulator/regulator.yaml#
  45. unevaluatedProperties: false
  46. additionalProperties: false
  47. required:
  48. - reg
  49. - compatible
  50. - regulators
  51. examples:
  52. - |
  53. i2c {
  54. #address-cells = <1>;
  55. #size-cells = <0>;
  56. pmic@5a {
  57. compatible = "active-semi,act8846";
  58. reg = <0x5a>;
  59. system-power-controller;
  60. regulators {
  61. REG1 {
  62. regulator-name = "VCC_DDR";
  63. regulator-min-microvolt = <1200000>;
  64. regulator-max-microvolt = <1200000>;
  65. regulator-always-on;
  66. };
  67. REG2 {
  68. regulator-name = "VCC_IO";
  69. regulator-min-microvolt = <3300000>;
  70. regulator-max-microvolt = <3300000>;
  71. regulator-always-on;
  72. };
  73. REG3 {
  74. regulator-name = "VDD_LOG";
  75. regulator-min-microvolt = <1000000>;
  76. regulator-max-microvolt = <1000000>;
  77. regulator-always-on;
  78. };
  79. REG4 {
  80. regulator-name = "VCC_20";
  81. regulator-min-microvolt = <2000000>;
  82. regulator-max-microvolt = <2000000>;
  83. regulator-always-on;
  84. };
  85. REG5 {
  86. regulator-name = "VCCIO_SD";
  87. regulator-min-microvolt = <3300000>;
  88. regulator-max-microvolt = <3300000>;
  89. regulator-always-on;
  90. };
  91. REG6 {
  92. regulator-name = "VDD10_LCD";
  93. regulator-min-microvolt = <1000000>;
  94. regulator-max-microvolt = <1000000>;
  95. regulator-always-on;
  96. };
  97. REG7 {
  98. regulator-name = "VCC_WL";
  99. regulator-min-microvolt = <3300000>;
  100. regulator-max-microvolt = <3300000>;
  101. regulator-always-on;
  102. };
  103. REG8 {
  104. regulator-name = "VCCA_33";
  105. regulator-min-microvolt = <3300000>;
  106. regulator-max-microvolt = <3300000>;
  107. regulator-always-on;
  108. };
  109. REG9 {
  110. regulator-name = "VCC_LAN";
  111. regulator-min-microvolt = <3300000>;
  112. regulator-max-microvolt = <3300000>;
  113. regulator-always-on;
  114. };
  115. REG10 {
  116. regulator-name = "VDD_10";
  117. regulator-min-microvolt = <1000000>;
  118. regulator-max-microvolt = <1000000>;
  119. regulator-always-on;
  120. };
  121. REG11 {
  122. regulator-name = "VCC_18";
  123. regulator-min-microvolt = <1800000>;
  124. regulator-max-microvolt = <1800000>;
  125. regulator-always-on;
  126. };
  127. REG12 {
  128. regulator-name = "VCC18_LCD";
  129. regulator-min-microvolt = <1800000>;
  130. regulator-max-microvolt = <1800000>;
  131. regulator-always-on;
  132. };
  133. };
  134. };
  135. };