-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regulator: pv88090: new regulator driver
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>
- Loading branch information
James Ban
authored and
Mark Brown
committed
Dec 8, 2015
1 parent
f307a7e
commit c90456e
Showing
5 changed files
with
630 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
* 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; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.