fixed-regulator.txt 1.1 KB
Newer Older
1 2 3 4
Fixed Voltage regulators

Required properties:
- compatible: Must be "regulator-fixed";
5
- regulator-name: Defined in regulator.txt as optional, but required here.
6 7 8 9 10 11

Optional properties:
- gpio: gpio to use for enable control
- startup-delay-us: startup time in microseconds
- enable-active-high: Polarity of GPIO is Active high
If this property is missing, the default assumed is Active low.
12 13
- gpio-open-drain: GPIO is open drain type.
  If this property is missing then default assumption is false.
14
-vin-supply: Input supply name.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Any property defined as part of the core regulator
binding, defined in regulator.txt, can also be used.
However a fixed voltage regulator is expected to have the
regulator-min-microvolt and regulator-max-microvolt
to be the same.

Example:

	abc: fixedregulator@0 {
		compatible = "regulator-fixed";
		regulator-name = "fixed-supply";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		gpio = <&gpio1 16 0>;
		startup-delay-us = <70000>;
		enable-active-high;
32 33
		regulator-boot-on;
		gpio-open-drain;
34
		vin-supply = <&parent_reg>;
35
	};