mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 05:34:30 +08:00
power: pmic: tps65941: Add support for probing the child devices
TPS65941 can have child devices under it (like the ESM support), so probe these once the master pmic node completes probe. Signed-off-by: Tero Kristo <t-kristo@ti.com>
This commit is contained in:
parent
d7de70be41
commit
8cd10a494f
@ -59,8 +59,8 @@ static int tps65941_bind(struct udevice *dev)
|
||||
if (!children)
|
||||
printf("%s: %s - no child found\n", __func__, dev->name);
|
||||
|
||||
/* Always return success for this device */
|
||||
return 0;
|
||||
/* Probe all the child devices */
|
||||
return dm_scan_fdt_dev(dev);
|
||||
}
|
||||
|
||||
static struct dm_pmic_ops tps65941_ops = {
|
||||
|
Loading…
Reference in New Issue
Block a user