maxim,max14577.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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,max14577.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC regulators
  7. maintainers:
  8. - Krzysztof Kozlowski <krzk@kernel.org>
  9. description: |
  10. This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
  11. Integrated Circuit (MUIC).
  12. See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for
  13. additional information and example.
  14. properties:
  15. compatible:
  16. enum:
  17. - maxim,max14577-regulator
  18. - maxim,max77836-regulator
  19. CHARGER:
  20. type: object
  21. $ref: regulator.yaml#
  22. unevaluatedProperties: false
  23. description: |
  24. Current regulator.
  25. properties:
  26. regulator-min-microvolt: false
  27. regulator-max-microvolt: false
  28. SAFEOUT:
  29. type: object
  30. $ref: regulator.yaml#
  31. unevaluatedProperties: false
  32. description: |
  33. Safeout LDO regulator (fixed voltage).
  34. properties:
  35. regulator-min-microamp: false
  36. regulator-max-microamp: false
  37. regulator-min-microvolt:
  38. const: 4900000
  39. regulator-max-microvolt:
  40. const: 4900000
  41. patternProperties:
  42. "^LDO[12]$":
  43. type: object
  44. $ref: regulator.yaml#
  45. unevaluatedProperties: false
  46. description: |
  47. Current regulator.
  48. properties:
  49. regulator-min-microamp: false
  50. regulator-max-microamp: false
  51. regulator-min-microvolt:
  52. minimum: 800000
  53. regulator-max-microvolt:
  54. maximum: 3950000
  55. allOf:
  56. - if:
  57. properties:
  58. compatible:
  59. contains:
  60. const: maxim,max14577-regulator
  61. then:
  62. properties:
  63. LDO1: false
  64. LDO2: false
  65. additionalProperties: false