fixed-regulator.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Fixed Voltage regulators
  2. Required properties:
  3. - compatible: Must be "regulator-fixed";
  4. - regulator-name: Defined in regulator.txt as optional, but required here.
  5. Optional properties:
  6. - gpio: gpio to use for enable control
  7. - startup-delay-us: startup time in microseconds
  8. - enable-active-high: Polarity of GPIO is Active high
  9. If this property is missing, the default assumed is Active low.
  10. - gpio-open-drain: GPIO is open drain type.
  11. If this property is missing then default assumption is false.
  12. -vin-supply: Input supply name.
  13. Any property defined as part of the core regulator
  14. binding, defined in regulator.txt, can also be used.
  15. However a fixed voltage regulator is expected to have the
  16. regulator-min-microvolt and regulator-max-microvolt
  17. to be the same.
  18. Example:
  19. abc: fixedregulator@0 {
  20. compatible = "regulator-fixed";
  21. regulator-name = "fixed-supply";
  22. regulator-min-microvolt = <1800000>;
  23. regulator-max-microvolt = <1800000>;
  24. gpio = <&gpio1 16 0>;
  25. startup-delay-us = <70000>;
  26. enable-active-high;
  27. regulator-boot-on;
  28. gpio-open-drain;
  29. vin-supply = <&parent_reg>;
  30. };