From patchwork Thu Feb 13 09:33:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 236301 List-Id: U-Boot discussion From: t-kristo at ti.com (Tero Kristo) Date: Thu, 13 Feb 2020 11:33:57 +0200 Subject: [PATCH 1/7] power: pmic: tps65941: Add support for probing the child devices In-Reply-To: <20200213093403.25037-1-t-kristo@ti.com> References: <20200213093403.25037-1-t-kristo@ti.com> Message-ID: <20200213093403.25037-2-t-kristo@ti.com> 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 --- drivers/power/pmic/tps65941.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = {