richtek,rt4803.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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,rt4803.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Richtek RT4803 Boost Regulator
  7. maintainers:
  8. - ChiYuan Huang <cy_huang@richtek.com>
  9. description: |
  10. RT4803 is a boost regulator that's designed to provide the minimum output
  11. voltage, even if the input voltage is lower than the required voltage. It
  12. supports boost and auto bypass mode that depends on the difference between the
  13. input and output voltage. If the input is lower than the output, mode will
  14. transform to boost mode. Otherwise, turn on bypass switch to enter bypass mode.
  15. Datasheet is available at
  16. https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf
  17. https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf
  18. allOf:
  19. - $ref: regulator.yaml#
  20. properties:
  21. compatible:
  22. enum:
  23. - richtek,rt4803
  24. reg:
  25. maxItems: 1
  26. richtek,vsel-active-high:
  27. type: boolean
  28. description: Specify the VSEL register group is using when system is active
  29. regulator-allowed-modes:
  30. description: |
  31. Available operating mode
  32. 1: Auto PFM/PWM
  33. 2: Force PWM
  34. items:
  35. enum: [1, 2]
  36. required:
  37. - compatible
  38. - reg
  39. unevaluatedProperties: false
  40. examples:
  41. - |
  42. i2c {
  43. #address-cells = <1>;
  44. #size-cells = <0>;
  45. regulator@75 {
  46. compatible = "richtek,rt4803";
  47. reg = <0x75>;
  48. richtek,vsel-active-high;
  49. regulator-name = "rt4803-regulator";
  50. regulator-min-microvolt = <2850000>;
  51. regulator-max-microvolt = <4400000>;
  52. regulator-allowed-modes = <1 2>;
  53. regulator-always-on;
  54. };
  55. };