ti,tps62864.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/regulator/ti,tps62864.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TI TPS62864/TPS6286/TPS62868/TPS62869 voltage regulator
  7. maintainers:
  8. - Vincent Whitchurch <vincent.whitchurch@axis.com>
  9. properties:
  10. compatible:
  11. enum:
  12. - ti,tps62864
  13. - ti,tps62866
  14. - ti,tps62868
  15. - ti,tps62869
  16. reg:
  17. maxItems: 1
  18. regulators:
  19. type: object
  20. properties:
  21. SW:
  22. type: object
  23. $ref: regulator.yaml#
  24. unevaluatedProperties: false
  25. additionalProperties: false
  26. required:
  27. - compatible
  28. - reg
  29. - regulators
  30. additionalProperties: false
  31. examples:
  32. - |
  33. #include <dt-bindings/regulator/ti,tps62864.h>
  34. i2c {
  35. #address-cells = <1>;
  36. #size-cells = <0>;
  37. regulator@48 {
  38. compatible = "ti,tps62864";
  39. reg = <0x48>;
  40. regulators {
  41. SW {
  42. regulator-name = "+0.85V";
  43. regulator-min-microvolt = <800000>;
  44. regulator-max-microvolt = <890000>;
  45. regulator-initial-mode = <TPS62864_MODE_FPWM>;
  46. };
  47. };
  48. };
  49. };
  50. ...