richtek,rt6160-regulator.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Richtek RT6160 BuckBoost converter
  7. maintainers:
  8. - ChiYuan Huang <cy_huang@richtek.com>
  9. description: |
  10. The RT6160 is a high-efficiency buck-boost converter that can provide
  11. up to 3A output current from 2025mV to 5200mV. And it support the wide
  12. input voltage range from 2200mV to 5500mV.
  13. Datasheet is available at
  14. https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf
  15. allOf:
  16. - $ref: regulator.yaml#
  17. properties:
  18. compatible:
  19. enum:
  20. - richtek,rt6160
  21. reg:
  22. maxItems: 1
  23. enable-gpios:
  24. description: A connection of the 'enable' gpio line.
  25. maxItems: 1
  26. richtek,vsel-active-low:
  27. description: |
  28. Used to indicate the 'vsel' pin active level. if not specified, use
  29. high active level as the default.
  30. type: boolean
  31. required:
  32. - compatible
  33. - reg
  34. unevaluatedProperties: false
  35. examples:
  36. - |
  37. i2c {
  38. #address-cells = <1>;
  39. #size-cells = <0>;
  40. rt6160@75 {
  41. compatible = "richtek,rt6160";
  42. reg = <0x75>;
  43. enable-gpios = <&gpio26 2 0>;
  44. regulator-name = "rt6160-buckboost";
  45. regulator-min-microvolt = <2025000>;
  46. regulator-max-microvolt = <5200000>;
  47. };
  48. };