From: Tero Kristo Date: Fri, 14 Feb 2020 09:18:14 +0000 (+0200) Subject: power: pmic: tps65941: Add support for probing the child devices X-Git-Tag: v2020.07-rc1~41^2~7^2~40 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8cd10a494f45b4d6174ff4b070102b5241747823;p=oweals%2Fu-boot.git 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 --- diff --git a/drivers/power/pmic/tps65941.c b/drivers/power/pmic/tps65941.c index e8f3c950bd..7b3416ae6e 100644 --- a/drivers/power/pmic/tps65941.c +++ b/drivers/power/pmic/tps65941.c @@ -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 = {