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:
Tero Kristo 2020-02-14 11:18:14 +02:00 committed by Lokesh Vutla
parent d7de70be41
commit 8cd10a494f

View File

@ -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 = {