clk: imx: lpcg: add suspend/resume support
authorDong Aisheng <aisheng.dong@nxp.com>
Wed, 29 Jul 2020 08:00:18 +0000 (16:00 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 26 Oct 2020 02:54:08 +0000 (10:54 +0800)
commitea0c5cbaf8b70fd6fe0269fb0b951965c82229cc
tree953aedf29b8a909cf2898804932967c6e287bf1e
parent18cdbad40c6c138edf62273417180227e12b198a
clk: imx: lpcg: add suspend/resume support

LPCG clock state may be lost when it's power domain is completely
off during system suspend/resume and we need save and restore the
state properly.

Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8qxp-lpcg.c
drivers/clk/imx/clk-lpcg-scu.c
drivers/clk/imx/clk-scu.h