maxim,max77826.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/maxim,max77826.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Maxim Integrated MAX77826 PMIC
  7. maintainers:
  8. - Iskren Chernev <iskren.chernev@gmail.com>
  9. properties:
  10. $nodename:
  11. pattern: "pmic@[0-9a-f]{1,2}"
  12. compatible:
  13. enum:
  14. - maxim,max77826
  15. reg:
  16. maxItems: 1
  17. regulators:
  18. type: object
  19. $ref: regulator.yaml#
  20. description: |
  21. list of regulators provided by this controller, must be named
  22. after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST
  23. patternProperties:
  24. "^LDO([1-9]|1[0-5])$":
  25. type: object
  26. $ref: regulator.yaml#
  27. unevaluatedProperties: false
  28. "^BUCK|BUCKBOOST$":
  29. type: object
  30. $ref: regulator.yaml#
  31. unevaluatedProperties: false
  32. additionalProperties: false
  33. required:
  34. - compatible
  35. - reg
  36. - regulators
  37. additionalProperties: false
  38. examples:
  39. - |
  40. i2c {
  41. #address-cells = <1>;
  42. #size-cells = <0>;
  43. pmic@69 {
  44. compatible = "maxim,max77826";
  45. reg = <0x69>;
  46. regulators {
  47. LDO2 {
  48. regulator-min-microvolt = <650000>;
  49. regulator-max-microvolt = <3587500>;
  50. };
  51. };
  52. };
  53. };
  54. ...