xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/vexpress.txt (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1c66ec88fSEmmanuel VadotVersatile Express voltage regulators
2c66ec88fSEmmanuel Vadot------------------------------------
3c66ec88fSEmmanuel Vadot
4c66ec88fSEmmanuel VadotRequires node properties:
5c66ec88fSEmmanuel Vadot- "compatible" value: "arm,vexpress-volt"
6c66ec88fSEmmanuel Vadot- "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg
7*d5b0e70fSEmmanuel Vadot  (see Documentation/devicetree/bindings/arm/vexpress-config.yaml
8c66ec88fSEmmanuel Vadot  for more details)
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel VadotRequired regulator properties:
11c66ec88fSEmmanuel Vadot- "regulator-name"
12c66ec88fSEmmanuel Vadot- "regulator-always-on"
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel VadotOptional regulator properties:
15c66ec88fSEmmanuel Vadot- "regulator-min-microvolt"
16c66ec88fSEmmanuel Vadot- "regulator-max-microvolt"
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel VadotSee Documentation/devicetree/bindings/regulator/regulator.txt
19c66ec88fSEmmanuel Vadotfor more details about the regulator properties.
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel VadotWhen no "regulator-[min|max]-microvolt" properties are defined,
22c66ec88fSEmmanuel Vadotthe device is treated as fixed (or rather "read-only") regulator.
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel VadotExample:
25c66ec88fSEmmanuel Vadot	volt@0 {
26c66ec88fSEmmanuel Vadot		compatible = "arm,vexpress-volt";
27c66ec88fSEmmanuel Vadot		arm,vexpress-sysreg,func = <2 0>;
28c66ec88fSEmmanuel Vadot		regulator-name = "Cores";
29c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <800000>;
30c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1050000>;
31c66ec88fSEmmanuel Vadot		regulator-always-on;
32c66ec88fSEmmanuel Vadot	};
33