]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: imx: lpcg-scu: Skip HDMI LPCG clock save/restore
authorPeng Fan <peng.fan@nxp.com>
Sun, 27 Oct 2024 12:00:11 +0000 (20:00 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Tue, 5 Nov 2024 10:02:23 +0000 (12:02 +0200)
commit92888f39193419c117e282cce7fd762ba78784a4
tree604962c39a4162d60f42e9602473fd413095c1b0
parente81361f6cf9bf4a1848b0813bc4becb2250870b8
clk: imx: lpcg-scu: Skip HDMI LPCG clock save/restore

On i.MX8QM, HDMI LPCG clocks operation needs SCU clock "hdmi_ipg_clk"
to be ON. While during noirq suspend phase, "hdmi_ipg_clk" is disabled
by HDMI IRQ STEER driver, so SError will be triggered when accessing
the HDMI LPCG registers.

Skip all HDMI LPCG clocks save/restore to avoid SError during
system suspend/resume, it will NOT introduce additional power consumption
as their parent clock is disabled when suspend.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20241027-imx-clk-v1-v3-5-89152574d1d7@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-lpcg-scu.c