adi,max77541.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mfd/adi,max77541.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: MAX77540/MAX77541 PMIC from ADI
  7. maintainers:
  8. - Okan Sahin <okan.sahin@analog.com>
  9. description: |
  10. MAX77540 is a Power Management IC with 2 buck regulators.
  11. MAX77541 is a Power Management IC with 2 buck regulators and 1 ADC.
  12. properties:
  13. compatible:
  14. enum:
  15. - adi,max77540
  16. - adi,max77541
  17. reg:
  18. maxItems: 1
  19. interrupts:
  20. maxItems: 1
  21. regulators:
  22. $ref: /schemas/regulator/adi,max77541-regulator.yaml#
  23. required:
  24. - compatible
  25. - reg
  26. - interrupts
  27. additionalProperties: false
  28. examples:
  29. - |
  30. #include <dt-bindings/interrupt-controller/irq.h>
  31. i2c {
  32. #address-cells = <1>;
  33. #size-cells = <0>;
  34. pmic@69 {
  35. compatible = "adi,max77541";
  36. reg = <0x69>;
  37. interrupt-parent = <&gpio>;
  38. interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
  39. regulators {
  40. buck1 {
  41. regulator-min-microvolt = <500000>;
  42. regulator-max-microvolt = <5200000>;
  43. regulator-boot-on;
  44. regulator-always-on;
  45. };
  46. buck2 {
  47. regulator-min-microvolt = <500000>;
  48. regulator-max-microvolt = <5200000>;
  49. regulator-boot-on;
  50. regulator-always-on;
  51. };
  52. };
  53. };
  54. };