maxim,max20411.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/maxim,max20411.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Maxim Integrated MAX20411 Step-Down DC-DC Converter
  7. maintainers:
  8. - Bjorn Andersson <andersson@kernel.org>
  9. description:
  10. The MAX20411 is a high-efficiency, DC-DC step-down converter. It provides
  11. configurable output voltage in the range of 0.5V to 1.275V, configurable over
  12. I2C.
  13. allOf:
  14. - $ref: regulator.yaml#
  15. properties:
  16. compatible:
  17. const: maxim,max20411
  18. reg:
  19. maxItems: 1
  20. enable-gpios:
  21. description: GPIO connected to the EN pin, active high
  22. vdd-supply:
  23. description: Input supply for the device (VDD pin, 3.0V to 5.5V)
  24. required:
  25. - compatible
  26. - reg
  27. - enable-gpios
  28. unevaluatedProperties: false
  29. examples:
  30. - |
  31. #include <dt-bindings/gpio/gpio.h>
  32. i2c {
  33. #address-cells = <1>;
  34. #size-cells = <0>;
  35. regulator@39 {
  36. compatible = "maxim,max20411";
  37. reg = <0x39>;
  38. enable-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
  39. regulator-min-microvolt = <800000>;
  40. regulator-max-microvolt = <1000000>;
  41. };
  42. };
  43. ...