ti,lp8732.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mfd/ti,lp8732.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TI LP873X Power Management Integrated Circuit
  7. maintainers:
  8. - J Keerthy <j-keerthy@ti.com>
  9. description:
  10. PMIC with two high-current buck converters and two linear regulators.
  11. properties:
  12. compatible:
  13. enum:
  14. - ti,lp8732
  15. - ti,lp8733
  16. reg:
  17. maxItems: 1
  18. gpio-controller: true
  19. '#gpio-cells':
  20. const: 2
  21. regulators:
  22. description:
  23. List of child nodes that specify the regulator initialization data.
  24. type: object
  25. patternProperties:
  26. "^buck[01]|ldo[01]$":
  27. type: object
  28. $ref: /schemas/regulator/regulator.yaml#
  29. unevaluatedProperties: false
  30. additionalProperties: false
  31. patternProperties:
  32. '^(buck[01]|ldo[01])-in-supply$':
  33. description: Phandle to parent supply of each regulator populated under regulators node.
  34. required:
  35. - compatible
  36. - reg
  37. - regulators
  38. - buck0-in-supply
  39. - buck1-in-supply
  40. - ldo0-in-supply
  41. - ldo1-in-supply
  42. additionalProperties: false
  43. examples:
  44. - |
  45. i2c {
  46. #address-cells = <1>;
  47. #size-cells = <0>;
  48. pmic: pmic@60 {
  49. compatible = "ti,lp8733";
  50. reg = <0x60>;
  51. gpio-controller;
  52. #gpio-cells = <2>;
  53. buck0-in-supply = <&vsys_3v3>;
  54. buck1-in-supply = <&vsys_3v3>;
  55. ldo0-in-supply = <&vsys_3v3>;
  56. ldo1-in-supply = <&vsys_3v3>;
  57. regulators {
  58. buck0: buck0 {
  59. regulator-name = "buck0";
  60. regulator-min-microvolt = <800000>;
  61. regulator-max-microvolt = <1400000>;
  62. regulator-min-microamp = <1500000>;
  63. regulator-max-microamp = <4000000>;
  64. regulator-ramp-delay = <10000>;
  65. regulator-always-on;
  66. regulator-boot-on;
  67. };
  68. buck1: buck1 {
  69. regulator-name = "buck1";
  70. regulator-min-microvolt = <800000>;
  71. regulator-max-microvolt = <1400000>;
  72. regulator-min-microamp = <1500000>;
  73. regulator-max-microamp = <4000000>;
  74. regulator-ramp-delay = <10000>;
  75. regulator-boot-on;
  76. regulator-always-on;
  77. };
  78. ldo0: ldo0 {
  79. regulator-name = "ldo0";
  80. regulator-min-microvolt = <800000>;
  81. regulator-max-microvolt = <3000000>;
  82. regulator-boot-on;
  83. regulator-always-on;
  84. };
  85. ldo1: ldo1 {
  86. regulator-name = "ldo1";
  87. regulator-min-microvolt = <800000>;
  88. regulator-max-microvolt = <3000000>;
  89. regulator-always-on;
  90. regulator-boot-on;
  91. };
  92. };
  93. };
  94. };