]> git.baikalelectronics.ru Git - uboot.git/commit
misc: imx8: scu: simplify code to make it extendable
authorPeng Fan <peng.fan@nxp.com>
Mon, 2 Sep 2019 10:20:17 +0000 (10:20 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 5 Nov 2019 09:27:18 +0000 (10:27 +0100)
commit731e3d0bacd226fda380365666e9ca40ca8856ae
treed0d10662ff703f1a7ca015626617b10218b7c6a9
parent7dffdf799330727468c6dde73ea01ed502606d66
misc: imx8: scu: simplify code to make it extendable

clk and pinctrl will be get(probed) during each device probe,
we don't need to probe them in scu driver. Only need to bind the sub-nodes
(clk and iomuxc) of MU node with their drivers.

So drop the code to probe the clk/pinctrl, and this patch will make it
easy to add more subnodes.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/misc/imx8/scu.c