]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc_imx: Enable AHB/IPG clk with clk bulk API
authorPeng Fan <peng.fan@nxp.com>
Tue, 1 Oct 2024 13:07:53 +0000 (21:07 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 4 Oct 2024 12:15:15 +0000 (09:15 -0300)
commit76332fae769acbba49751827ce126b0cb1014b48
tree87f9dc2430b88076763ad6b923150d78f0c23d8a
parentdd95eefb3ad335128f378614a54811acce9c17c9
mmc: fsl_esdhc_imx: Enable AHB/IPG clk with clk bulk API

With partition reset supported for i.MX8QM/QXP/95 and etc, when linux
mmc runtime suspended, the mmc clks are gated off. While at same time
system controller reset Cortex-A cores because of various reasons(
WDOG timeout and etc), with SPL run again, only enable PER clk is not
enough, also need to enable AHB/IPG clk, here use clk bulk API to enable
all the clocks.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/fsl_esdhc_imx.c