mps,mpq7932.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/regulator/mps,mpq7932.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Monolithic Power System MPQ7932 PMIC
  7. maintainers:
  8. - Saravanan Sekar <saravanan@linumiz.com>
  9. properties:
  10. compatible:
  11. enum:
  12. - mps,mpq7932
  13. reg:
  14. maxItems: 1
  15. regulators:
  16. type: object
  17. description: |
  18. list of regulators provided by this controller, must be named
  19. after their hardware counterparts BUCK[1-6]
  20. patternProperties:
  21. "^buck[1-6]$":
  22. type: object
  23. $ref: regulator.yaml#
  24. unevaluatedProperties: false
  25. additionalProperties: false
  26. required:
  27. - compatible
  28. - reg
  29. - regulators
  30. additionalProperties: false
  31. examples:
  32. - |
  33. i2c {
  34. #address-cells = <1>;
  35. #size-cells = <0>;
  36. pmic@3 {
  37. compatible = "mps,mpq7932";
  38. reg = <0x3>;
  39. regulators {
  40. buck1 {
  41. regulator-name = "buck1";
  42. regulator-min-microvolt = <1600000>;
  43. regulator-max-microvolt = <1800000>;
  44. regulator-boot-on;
  45. };
  46. buck2 {
  47. regulator-name = "buck2";
  48. regulator-min-microvolt = <1700000>;
  49. regulator-max-microvolt = <1800000>;
  50. regulator-boot-on;
  51. };
  52. };
  53. };
  54. };
  55. ...