siliconmitus,sm5703-regulator.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/siliconmitus,sm5703-regulator.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Silicon Mitus SM5703 multi function device regulators
  7. maintainers:
  8. - Markuss Broks <markuss.broks@gmail.com>
  9. description: |
  10. SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD
  11. bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml
  12. Regulator nodes should be named as USBLDO_<number>, BUCK, VBUS, LDO_<number>.
  13. The definition for each of these nodes is defined using the standard
  14. binding for regulators at Documentation/devicetree/bindings/regulator/regulator.txt.
  15. properties:
  16. buck:
  17. type: object
  18. $ref: regulator.yaml#
  19. unevaluatedProperties: false
  20. description:
  21. Properties for the BUCK regulator.
  22. vbus:
  23. type: object
  24. $ref: regulator.yaml#
  25. unevaluatedProperties: false
  26. description:
  27. Properties for the VBUS regulator.
  28. patternProperties:
  29. "^ldo[1-3]$":
  30. type: object
  31. $ref: regulator.yaml#
  32. unevaluatedProperties: false
  33. description:
  34. Properties for single LDO regulator.
  35. "^usbldo[1-2]$":
  36. type: object
  37. $ref: regulator.yaml#
  38. unevaluatedProperties: false
  39. description:
  40. Properties for a single USBLDO regulator.
  41. additionalProperties: false