mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
4245746037
Add optional interrupt support to the da9210 regulator driver, to handle over-current, under- and over-voltage, and over-temperature events. Only the interrupt sources for which we handle events are unmasked, to avoid interrupts we cannot handle. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@kernel.org>
26 lines
540 B
Plaintext
26 lines
540 B
Plaintext
* Dialog Semiconductor DA9210 Voltage Regulator
|
|
|
|
Required properties:
|
|
|
|
- compatible: must be "dlg,da9210"
|
|
- reg: the i2c slave address of the regulator. It should be 0x68.
|
|
|
|
Optional properties:
|
|
|
|
- interrupts: a reference to the DA9210 interrupt, if available.
|
|
|
|
Any standard regulator properties can be used to configure the single da9210
|
|
DCDC.
|
|
|
|
Example:
|
|
|
|
da9210@68 {
|
|
compatible = "dlg,da9210";
|
|
reg = <0x68>;
|
|
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|