fixed.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Fixed Voltage regulator
  2. Binding:
  3. The binding is done by the property "compatible" - this is different, than for
  4. binding by the node prefix (doc/device-tree-bindings/regulator/regulator.txt).
  5. Required properties:
  6. - compatible: "regulator-fixed"
  7. - regulator-name: this is required by the regulator uclass
  8. Optional properties:
  9. - gpio: GPIO to use for enable control
  10. - startup-delay-us: startup time in microseconds
  11. - u-boot,off-on-delay-us: off delay time in microseconds
  12. - regulator constraints (binding info: regulator.txt)
  13. - enable-active-high: Polarity of GPIO is Active high. If this property
  14. is missing, the default assumed is Active low.
  15. Other kernel-style properties, are currently not used.
  16. Note:
  17. For the regulator constraints, driver expects that:
  18. - regulator-min-microvolt is equal to regulator-max-microvolt
  19. - regulator-min-microamp is equal to regulator-max-microamp
  20. Example:
  21. fixed_regulator@0 {
  22. /* Mandatory */
  23. compatible = "regulator-fixed";
  24. regulator-name = "LED_3.3V";
  25. /* Optional: */
  26. gpio = <&gpc1 0 GPIO_ACTIVE_LOW>;
  27. /* Optional for regulator uclass */
  28. regulator-min-microvolt = <3300000>;
  29. regulator-max-microvolt = <3300000>;
  30. regulator-min-microamp = <15000>;
  31. regulator-max-microamp = <15000>;
  32. regulator-always-on;
  33. regulator-boot-on;
  34. enable-active-high;
  35. };