maxim,max77802.yaml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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,max77802.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Maxim MAX77802 Power Management IC regulators
  7. maintainers:
  8. - Javier Martinez Canillas <javier@dowhile0.org>
  9. - Krzysztof Kozlowski <krzk@kernel.org>
  10. description: |
  11. This is a part of device tree bindings for Maxim MAX77802 Power Management
  12. Integrated Circuit (PMIC).
  13. The Maxim MAX77686 provides 10 high-efficiency Buck and 32 Low-DropOut (LDO)
  14. regulators.
  15. See also Documentation/devicetree/bindings/mfd/maxim,max77802.yaml for
  16. additional information and example.
  17. Certain regulators support "regulator-initial-mode" and "regulator-mode".
  18. The valid modes list is defined in the dt-bindings/regulator/maxim,max77802.h
  19. and their meaning is::
  20. 1 - Normal regulator voltage output mode.
  21. 3 - Low Power which reduces the quiescent current down to only 1uA
  22. The standard "regulator-mode" property can only be used for regulators that
  23. support changing their mode to Low Power Mode during suspend. These
  24. regulators are:: bucks 2-4 and LDOs 1-35. Also, it only takes effect if the
  25. regulator has been enabled for the given suspend state using
  26. "regulator-on-in-suspend" and has not been disabled for that state using
  27. "regulator-off-in-suspend".
  28. patternProperties:
  29. # LDO1, LDO3, LDO20, LDO21
  30. "^LDO([13]|2[01])$":
  31. type: object
  32. $ref: regulator.yaml#
  33. unevaluatedProperties: false
  34. description:
  35. LDOs supporting the regulator-initial-mode property and changing their
  36. mode during normal operation.
  37. # LDO2, LDO4-15, LDO17-19, LDO23-30, LDO32-35
  38. "^LDO([24-9]|1[0-5789]|2[3-9]|3[02345])$":
  39. type: object
  40. $ref: regulator.yaml#
  41. unevaluatedProperties: false
  42. description:
  43. LDOs supporting the regulator-mode property (changing mode to Low Power
  44. Mode during suspend).
  45. properties:
  46. regulator-initial-mode: false
  47. # buck2-4
  48. "^BUCK[2-4]$":
  49. type: object
  50. $ref: regulator.yaml#
  51. unevaluatedProperties: false
  52. description:
  53. bucks supporting the regulator-mode property (changing mode to Low Power
  54. Mode during suspend).
  55. properties:
  56. regulator-initial-mode: false
  57. # buck1, buck5-10
  58. "^BUCK([15-9]|10)$":
  59. type: object
  60. $ref: regulator.yaml#
  61. unevaluatedProperties: false
  62. properties:
  63. regulator-initial-mode: false
  64. patternProperties:
  65. "^regulator-state-(standby|mem|disk)$":
  66. type: object
  67. additionalProperties: true
  68. properties:
  69. regulator-mode: false
  70. additionalProperties: false