mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
31e54086dd
Implementation of the regulator framework driver for the Versatile Express voltage control. Devices without voltage constraints (ie. "regulator-[min|max]-microvolt" properties in the DT node) are treated as fixed (or rather read-only) regulators. Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
33 lines
923 B
Plaintext
33 lines
923 B
Plaintext
Versatile Express voltage regulators
|
|
------------------------------------
|
|
|
|
Requires node properties:
|
|
- "compatible" value: "arm,vexpress-volt"
|
|
- "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg
|
|
(see Documentation/devicetree/bindings/arm/vexpress-sysreg.txt
|
|
for more details)
|
|
|
|
Required regulator properties:
|
|
- "regulator-name"
|
|
- "regulator-always-on"
|
|
|
|
Optional regulator properties:
|
|
- "regulator-min-microvolt"
|
|
- "regulator-max-microvolt"
|
|
|
|
See Documentation/devicetree/bindings/regulator/regulator.txt
|
|
for more details about the regulator properties.
|
|
|
|
When no "regulator-[min|max]-microvolt" properties are defined,
|
|
the device is treated as fixed (or rather "read-only") regulator.
|
|
|
|
Example:
|
|
volt@0 {
|
|
compatible = "arm,vexpress-volt";
|
|
arm,vexpress-sysreg,func = <2 0>;
|
|
regulator-name = "Cores";
|
|
regulator-min-microvolt = <800000>;
|
|
regulator-max-microvolt = <1050000>;
|
|
regulator-always-on;
|
|
};
|