About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / regulator / fixed-regulator.txt




Custom Search

Based on kernel version 3.13. Page generated on 2014-01-20 22:01 EST.

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

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.