diff options
author | Marek Vasut <marex@denx.de> | 2023-02-27 16:54:21 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-03-14 04:12:13 +0100 |
commit | 9cb6d1b39a8f5086bbebb01357ba1e4ada2169e5 (patch) | |
tree | 1b64ce470f43bc7b11013ca2bf43def25593fee9 /drivers/soc/imx | |
parent | firmware: imx: scu-pd: add missed lvds lpi2c and pwm power domains (diff) | |
download | linux-9cb6d1b39a8f5086bbebb01357ba1e4ada2169e5.tar.xz linux-9cb6d1b39a8f5086bbebb01357ba1e4ada2169e5.zip |
soc: imx: imx8m-blk-ctrl: Scan subnodes and bind drivers to them
This particular block can have DT subnodes describing the LVDS LDB
bridge. Instead of misusing simple-bus to scan for those nodes, do
the scan within the driver.
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc/imx')
-rw-r--r-- | drivers/soc/imx/imx8m-blk-ctrl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/soc/imx/imx8m-blk-ctrl.c b/drivers/soc/imx/imx8m-blk-ctrl.c index 399cb85105a1..8bee7280303c 100644 --- a/drivers/soc/imx/imx8m-blk-ctrl.c +++ b/drivers/soc/imx/imx8m-blk-ctrl.c @@ -310,6 +310,10 @@ static int imx8m_blk_ctrl_probe(struct platform_device *pdev) dev_set_drvdata(dev, bc); + ret = devm_of_platform_populate(dev); + if (ret) + goto cleanup_provider; + return 0; cleanup_provider: |