xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/vexpress.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunVersatile Express voltage regulators
2*4882a593Smuzhiyun------------------------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequires node properties:
5*4882a593Smuzhiyun- "compatible" value: "arm,vexpress-volt"
6*4882a593Smuzhiyun- "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg
7*4882a593Smuzhiyun  (see Documentation/devicetree/bindings/arm/vexpress-sysreg.txt
8*4882a593Smuzhiyun  for more details)
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunRequired regulator properties:
11*4882a593Smuzhiyun- "regulator-name"
12*4882a593Smuzhiyun- "regulator-always-on"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunOptional regulator properties:
15*4882a593Smuzhiyun- "regulator-min-microvolt"
16*4882a593Smuzhiyun- "regulator-max-microvolt"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunSee Documentation/devicetree/bindings/regulator/regulator.txt
19*4882a593Smuzhiyunfor more details about the regulator properties.
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunWhen no "regulator-[min|max]-microvolt" properties are defined,
22*4882a593Smuzhiyunthe device is treated as fixed (or rather "read-only") regulator.
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunExample:
25*4882a593Smuzhiyun	volt@0 {
26*4882a593Smuzhiyun		compatible = "arm,vexpress-volt";
27*4882a593Smuzhiyun		arm,vexpress-sysreg,func = <2 0>;
28*4882a593Smuzhiyun		regulator-name = "Cores";
29*4882a593Smuzhiyun		regulator-min-microvolt = <800000>;
30*4882a593Smuzhiyun		regulator-max-microvolt = <1050000>;
31*4882a593Smuzhiyun		regulator-always-on;
32*4882a593Smuzhiyun	};
33