maxim,max8973.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/maxim,max8973.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Maxim MAX8973/MAX77621 voltage regulator
  7. maintainers:
  8. - Krzysztof Kozlowski <krzk@kernel.org>
  9. allOf:
  10. - $ref: regulator.yaml#
  11. properties:
  12. compatible:
  13. enum:
  14. - maxim,max8973
  15. - maxim,max77621
  16. junction-warn-millicelsius:
  17. description: |
  18. Junction warning temperature threshold in millicelsius. If die
  19. temperature crosses this level then device generates the warning
  20. interrupts.
  21. Please note that thermal functionality is only supported on MAX77621. The
  22. supported threshold warning temperature for MAX77621 are 120 degC and 140
  23. degC.
  24. maxim,dvs-gpio:
  25. maxItems: 1
  26. description: |
  27. GPIO which is connected to DVS pin of device.
  28. maxim,dvs-default-state:
  29. $ref: /schemas/types.yaml#/definitions/uint32
  30. enum: [0, 1]
  31. description: |
  32. Default state of GPIO during initialisation.
  33. 1 for HIGH and 0 for LOW.
  34. maxim,externally-enable:
  35. type: boolean
  36. description: |
  37. Externally control the regulator output enable/disable.
  38. maxim,enable-gpio:
  39. maxItems: 1
  40. description: |
  41. GPIO for enable control. If the valid GPIO is provided then externally
  42. enable control will be considered.
  43. maxim,enable-remote-sense:
  44. type: boolean
  45. description: Enable remote sense.
  46. maxim,enable-falling-slew-rate:
  47. type: boolean
  48. description: Enable falling slew rate.
  49. maxim,enable-active-discharge:
  50. type: boolean
  51. description: Eable active discharge.
  52. maxim,enable-frequency-shift:
  53. type: boolean
  54. description: Enable 9% frequency shift.
  55. maxim,enable-bias-control:
  56. type: boolean
  57. description: |
  58. Enable bias control which can reduce the startup delay to 20us from 220us.
  59. maxim,enable-etr:
  60. type: boolean
  61. description: Enable Enhanced Transient Response.
  62. maxim,enable-high-etr-sensitivity:
  63. type: boolean
  64. description: |
  65. Enhanced transient response circuit is enabled and set for high
  66. sensitivity. If this property is available then etr will be enable
  67. default.
  68. Enhanced transient response (ETR) will affect the configuration of CKADV.
  69. reg:
  70. maxItems: 1
  71. interrupts:
  72. maxItems: 1
  73. required:
  74. - compatible
  75. - reg
  76. unevaluatedProperties: false
  77. examples:
  78. - |
  79. i2c {
  80. #address-cells = <1>;
  81. #size-cells = <0>;
  82. regulator@1b {
  83. compatible = "maxim,max8973";
  84. reg = <0x1b>;
  85. regulator-min-microvolt = <935000>;
  86. regulator-max-microvolt = <1200000>;
  87. regulator-boot-on;
  88. regulator-always-on;
  89. };
  90. };
  91. - |
  92. #include <dt-bindings/gpio/gpio.h>
  93. #include <dt-bindings/interrupt-controller/irq.h>
  94. i2c {
  95. #address-cells = <1>;
  96. #size-cells = <0>;
  97. regulator@1b {
  98. compatible = "maxim,max77621";
  99. reg = <0x1b>;
  100. interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
  101. regulator-always-on;
  102. regulator-boot-on;
  103. regulator-min-microvolt = <800000>;
  104. regulator-max-microvolt = <1231250>;
  105. regulator-name = "PPVAR_CPU";
  106. regulator-ramp-delay = <12500>;
  107. maxim,dvs-default-state = <1>;
  108. maxim,enable-active-discharge;
  109. maxim,enable-bias-control;
  110. maxim,enable-etr;
  111. maxim,enable-gpio = <&pmic 5 GPIO_ACTIVE_HIGH>;
  112. maxim,externally-enable;
  113. };
  114. };