ti,lp87565-q1.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mfd/ti,lp87565-q1.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TI LP87565-Q1 / LP87565 dual 2-phase output buck converter
  7. maintainers:
  8. - Keerthy <j-keerthy@ti.com>
  9. properties:
  10. compatible:
  11. enum:
  12. - ti,lp87565
  13. - ti,lp87565-q1
  14. reg:
  15. description: I2C slave address
  16. const: 0x60
  17. reset-gpios:
  18. description: GPIO connected to NRST pin (active low reset, pin 20)
  19. maxItems: 1
  20. gpio-controller: true
  21. '#gpio-cells':
  22. description:
  23. The first cell is the pin number.
  24. The second cell is is used to specify flags.
  25. See ../gpio/gpio.txt for more information.
  26. const: 2
  27. buck10-in-supply:
  28. description:
  29. Voltage regulator supply for BUCK0 and BUCK1 converters.
  30. buck23-in-supply:
  31. description:
  32. Voltage regulator supply for BUCK2 and BUCK3 converters.
  33. regulators:
  34. type: object
  35. patternProperties:
  36. "^buck(10|23)$":
  37. type: object
  38. $ref: /schemas/regulator/regulator.yaml#
  39. unevaluatedProperties: false
  40. required:
  41. - buck10
  42. - buck23
  43. additionalProperties: false
  44. required:
  45. - compatible
  46. - reg
  47. - gpio-controller
  48. - '#gpio-cells'
  49. - buck10-in-supply
  50. - buck23-in-supply
  51. additionalProperties: false
  52. examples:
  53. - |
  54. i2c@0 {
  55. reg = <0x0 0x100>;
  56. #address-cells = <1>;
  57. #size-cells = <0>;
  58. pmic@60 {
  59. compatible = "ti,lp87565-q1";
  60. reg = <0x60>;
  61. gpio-controller;
  62. #gpio-cells = <2>;
  63. buck10-in-supply = <&vsys_3v3>;
  64. buck23-in-supply = <&vsys_3v3>;
  65. regulators {
  66. buck10_reg: buck10 {
  67. /* VDD_MPU */
  68. regulator-name = "buck10";
  69. regulator-min-microvolt = <850000>;
  70. regulator-max-microvolt = <1250000>;
  71. regulator-always-on;
  72. regulator-boot-on;
  73. };
  74. buck23_reg: buck23 {
  75. /* VDD_GPU */
  76. regulator-name = "buck23";
  77. regulator-min-microvolt = <850000>;
  78. regulator-max-microvolt = <1250000>;
  79. regulator-boot-on;
  80. regulator-always-on;
  81. };
  82. };
  83. };
  84. };
  85. ...