mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 06:30:39 +00:00
52a3de5e12
This is the implementation of driver model PMIC driver. The max77686 PMIC driver implements read/write operations and driver bind method - to bind its childs. This driver will try to bind the regulator devices by using it's child info array with regulator prefixes and driver names. This should succeed when compatible regulator driver is compiled. If no regulator driver found, then the pmic can still provide read/write operations, and can be used with PMIC function calls. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org>
35 lines
808 B
Text
35 lines
808 B
Text
MAXIM, MAX77686 pmic
|
|
|
|
This device uses two drivers:
|
|
- drivers/power/pmic/max77686.c (for parent device)
|
|
- drivers/power/regulator/max77686.c (for child regulators)
|
|
|
|
This file describes the binding info for the PMIC driver.
|
|
|
|
To bind the regulators, please read the additional binding info:
|
|
- doc/device-tree-bindings/regulator/max77686.txt
|
|
|
|
Required properties:
|
|
- compatible: "maxim,max77686"
|
|
- reg = 0x9
|
|
|
|
With those two properties, the pmic device can be used for read/write only.
|
|
To bind each regulator, the optional regulators subnode should exists.
|
|
|
|
Optional subnode:
|
|
- voltage-regulators: subnode list of each device's regulator
|
|
(see max77686.txt - regulator binding info)
|
|
|
|
Example:
|
|
|
|
max77686@09 {
|
|
compatible = "maxim,max77686";
|
|
reg = <0x09>;
|
|
|
|
voltage-regulators {
|
|
ldo1 {
|
|
...
|
|
};
|
|
...
|
|
};
|
|
};
|