gpio-regulator.txt 934 B

123456789101112131415161718192021222324252627282930313233343536
  1. GPIO controlled regulators
  2. Required properties:
  3. - compatible : Must be "regulator-gpio".
  4. Optional properties:
  5. - gpio-enable : GPIO to use to enable/disable the regulator.
  6. - gpios : GPIO group used to control voltage.
  7. - states : Selection of available voltages and GPIO configs.
  8. - startup-delay-us : Startup time in microseconds.
  9. - enable-active-high : Polarity of GPIO is active high (default is low).
  10. Any property defined as part of the core regulator binding defined in
  11. regulator.txt can also be used.
  12. Example:
  13. mmciv: gpio-regulator {
  14. compatible = "regulator-gpio";
  15. regulator-name = "mmci-gpio-supply";
  16. regulator-min-microvolt = <1800000>;
  17. regulator-max-microvolt = <2600000>;
  18. regulator-boot-on;
  19. gpio-enable = <&gpio0 23 0x4>;
  20. gpios = <&gpio0 24 0x4
  21. &gpio0 25 0x4>;
  22. states = <1800000 0x3
  23. 2200000 0x2
  24. 2600000 0x1
  25. 2900000 0x0>;
  26. startup-delay-us = <100000>;
  27. enable-active-high;
  28. };