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