mt6315-regulator.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/mt6315-regulator.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Mediatek MT6315 Regulator
  7. maintainers:
  8. - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
  9. description: |
  10. The MT6315 is a power management IC (PMIC) configurable with SPMI.
  11. that contains 4 BUCKs output which can combine with each other
  12. by different efuse settings.
  13. properties:
  14. compatible:
  15. oneOf:
  16. - items:
  17. - const: mediatek,mt6319-regulator
  18. - const: mediatek,mt6315-regulator
  19. - const: mediatek,mt6315-regulator
  20. reg:
  21. maxItems: 1
  22. regulators:
  23. type: object
  24. description: List of regulators and its properties
  25. patternProperties:
  26. "^vbuck[1-4]$":
  27. type: object
  28. $ref: regulator.yaml#
  29. unevaluatedProperties: false
  30. additionalProperties: false
  31. required:
  32. - compatible
  33. - reg
  34. - regulators
  35. additionalProperties: false
  36. examples:
  37. - |
  38. pmic@6 {
  39. compatible = "mediatek,mt6315-regulator";
  40. reg = <0x6 0>;
  41. regulators {
  42. vbuck1 {
  43. regulator-min-microvolt = <300000>;
  44. regulator-max-microvolt = <1193750>;
  45. regulator-enable-ramp-delay = <256>;
  46. regulator-allowed-modes = <0 1 2>;
  47. };
  48. vbuck3 {
  49. regulator-min-microvolt = <300000>;
  50. regulator-max-microvolt = <1193750>;
  51. regulator-enable-ramp-delay = <256>;
  52. regulator-allowed-modes = <0 1 2>;
  53. };
  54. };
  55. };