mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
c90456e36d
This is the driver for the Powerventure PV88090 BUCKs and LDOs regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban <James.Ban.opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
66 lines
1.7 KiB
Plaintext
66 lines
1.7 KiB
Plaintext
* Powerventure Semiconductor PV88090 Voltage Regulator
|
|
|
|
Required properties:
|
|
- compatible: "pvs,pv88090".
|
|
- reg: I2C slave address, usually 0x48.
|
|
- interrupts: the interrupt outputs of the controller
|
|
- regulators: A node that houses a sub-node for each regulator within the
|
|
device. Each sub-node is identified using the node's name, with valid
|
|
values listed below. The content of each sub-node is defined by the
|
|
standard binding for regulators; see regulator.txt.
|
|
BUCK1, BUCK2, BUCK3, LDO1, and LDO2.
|
|
|
|
Optional properties:
|
|
- Any optional property defined in regulator.txt
|
|
|
|
Example
|
|
|
|
pmic: pv88090@48 {
|
|
compatible = "pvs,pv88090";
|
|
reg = <0x48>;
|
|
interrupt-parent = <&gpio>;
|
|
interrupts = <24 24>;
|
|
|
|
regulators {
|
|
BUCK1 {
|
|
regulator-name = "buck1";
|
|
regulator-min-microvolt = < 600000>;
|
|
regulator-max-microvolt = <1393750>;
|
|
regulator-min-microamp = < 220000>;
|
|
regulator-max-microamp = <7040000>;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
BUCK2 {
|
|
regulator-name = "buck2";
|
|
regulator-min-microvolt = < 600000>;
|
|
regulator-max-microvolt = <1393750>;
|
|
regulator-min-microamp = <1496000>;
|
|
regulator-max-microamp = <4189000>;
|
|
};
|
|
|
|
BUCK3 {
|
|
regulator-name = "buck3";
|
|
regulator-min-microvolt = <600000>;
|
|
regulator-max-microvolt = <1393750>;
|
|
regulator-min-microamp = <1496000>;
|
|
regulator-max-microamp = <4189000>;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
LDO1 {
|
|
regulator-name = "ldo1";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <4350000>;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
LDO2 {
|
|
regulator-name = "ldo2";
|
|
regulator-min-microvolt = < 650000>;
|
|
regulator-max-microvolt = <2225000>;
|
|
regulator-boot-on;
|
|
};
|
|
};
|
|
};
|