About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / regulator / regulator.txt




Custom Search

Based on kernel version 3.9. Page generated on 2013-05-02 23:01 EST.

1	Voltage/Current Regulators
2	
3	Optional properties:
4	- regulator-name: A string used as a descriptive name for regulator outputs
5	- regulator-min-microvolt: smallest voltage consumers may set
6	- regulator-max-microvolt: largest voltage consumers may set
7	- regulator-microvolt-offset: Offset applied to voltages to compensate for voltage drops
8	- regulator-min-microamp: smallest current consumers may set
9	- regulator-max-microamp: largest current consumers may set
10	- regulator-always-on: boolean, regulator should never be disabled
11	- regulator-boot-on: bootloader/firmware enabled regulator
12	- <name>-supply: phandle to the parent supply/regulator node
13	- regulator-ramp-delay: ramp delay for regulator(in uV/uS)
14	
15	Deprecated properties:
16	- regulator-compatible: If a regulator chip contains multiple
17	  regulators, and if the chip's binding contains a child node that
18	  describes each regulator, then this property indicates which regulator
19	  this child node is intended to configure. If this property is missing,
20	  the node's name will be used instead.
21	
22	Example:
23	
24		xyzreg: regulator@0 {
25			regulator-min-microvolt = <1000000>;
26			regulator-max-microvolt = <2500000>;
27			regulator-always-on;
28			vin-supply = <&vin>;
29		};
30	
31	Regulator Consumers:
32	Consumer nodes can reference one or more of its supplies/
33	regulators using the below bindings.
34	
35	- <name>-supply: phandle to the regulator node
36	
37	These are the same bindings that a regulator in the above
38	example used to reference its own supply, in which case
39	its just seen as a special case of a regulator being a
40	consumer itself.
41	
42	Example of a consumer device node (mmc) referencing two
43	regulators (twl_reg1 and twl_reg2),
44	
45		twl_reg1: regulator@0 {
46			...
47			...
48			...
49		};
50	
51		twl_reg2: regulator@1 {
52			...
53			...
54			...
55		};
56	
57		mmc: mmc@0x0 {
58			...
59			...
60			vmmc-supply = <&twl_reg1>;
61			vmmcaux-supply = <&twl_reg2>;
62		};
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.