aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2020-02-14 11:18:14 +0200
committerLokesh Vutla <lokeshvutla@ti.com>2020-03-03 13:08:14 +0530
commit8cd10a494f45b4d6174ff4b070102b5241747823 (patch)
treea439fb8ef44ea9d54d98c53359942a7c8a7b95b5 /drivers
parentd7de70be41d42d7bf11828daf58fe3f32acd0038 (diff)
downloadu-boot-8cd10a494f45b4d6174ff4b070102b5241747823.zip
u-boot-8cd10a494f45b4d6174ff4b070102b5241747823.tar.gz
u-boot-8cd10a494f45b4d6174ff4b070102b5241747823.tar.bz2
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/power/pmic/tps65941.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/pmic/tps65941.c b/drivers/power/pmic/tps65941.c
index e8f3c95..7b3416a 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 = {