mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 09:24:37 +07:00
2d0cf04ce1
Addition of device tree support for DA9210. Two files are modified, the driver source file and the binding document. Updates for the regulator source file include an .of_match_table entry and node match checking in the probe() function for a compatible da9210 string. Minor binding documentation changes have been made to the title and the example. Tested-by: Steve Twiss <stwiss.opensource@diasemi.com> Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
30 lines
662 B
Plaintext
30 lines
662 B
Plaintext
* Dialog Semiconductor DA9210 Multi-phase 12A DCDC BUCK Converter
|
|
|
|
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>;
|
|
|
|
interrupt-parent = <...>;
|
|
interrupts = <...>;
|
|
|
|
regulator-min-microvolt = <300000>;
|
|
regulator-max-microvolt = <1570000>;
|
|
regulator-min-microamp = <1600000>;
|
|
regulator-max-microamp = <4600000>;
|
|
regulator-boot-on;
|
|
};
|