mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 22:53:55 +08:00
5ff00f6aa8
Three files are modified, the driver, header file and the binding document. Updates for the regulator source file include and .of_match_table entry and node match checking in the probe() function for a compatible pv88080 silicon type. A new "HVBUCK" is added in source file and added regsiter definition in header file for pv88080 bb silicion. The binding documentation changes have been made to reflect these updates. Signed-off-by: Eric Jeong <eric.jeong.opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
* Powerventure Semiconductor PV88080 Voltage Regulator
|
|
|
|
Required properties:
|
|
- compatible: Must be one of the following, depending on the
|
|
silicon version:
|
|
- "pvs,pv88080" (DEPRECATED)
|
|
|
|
- "pvs,pv88080-aa" for PV88080 AA or AB silicon
|
|
- "pvs,pv88080-ba" for PV88080 BA or BB silicon
|
|
NOTE: The use of the compatibles with no silicon version is deprecated.
|
|
- reg: I2C slave address, usually 0x49
|
|
- 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 and HVBUCK.
|
|
|
|
Optional properties:
|
|
- Any optional property defined in regulator.txt
|
|
|
|
Example:
|
|
|
|
pmic: pv88080@49 {
|
|
compatible = "pvs,pv88080-ba";
|
|
reg = <0x49>;
|
|
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>;
|
|
};
|
|
|
|
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 = <1400000>;
|
|
regulator-max-microvolt = <2193750>;
|
|
regulator-min-microamp = <1496000>;
|
|
regulator-max-microamp = <4189000>;
|
|
};
|
|
|
|
HVBUCK {
|
|
regulator-name = "hvbuck";
|
|
regulator-min-microvolt = < 5000>;
|
|
regulator-max-microvolt = <1275000>;
|
|
};
|
|
};
|
|
};
|
|
|