diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2020-07-29 11:00:18 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-10-26 05:54:08 +0300 |
commit | ea0c5cbaf8b70fd6fe0269fb0b951965c82229cc (patch) | |
tree | 953aedf29b8a909cf2898804932967c6e287bf1e /drivers/clk/imx/clk-scu.h | |
parent | 18cdbad40c6c138edf62273417180227e12b198a (diff) | |
download | linux-ea0c5cbaf8b70fd6fe0269fb0b951965c82229cc.tar.xz |
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>
Diffstat (limited to 'drivers/clk/imx/clk-scu.h')
-rw-r--r-- | drivers/clk/imx/clk-scu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-scu.h b/drivers/clk/imx/clk-scu.h index faee1ba5c4ee..e8352164923e 100644 --- a/drivers/clk/imx/clk-scu.h +++ b/drivers/clk/imx/clk-scu.h @@ -11,6 +11,7 @@ #include <linux/of.h> extern struct list_head imx_scu_clks[]; +extern const struct dev_pm_ops imx_clk_lpcg_scu_pm_ops; int imx_clk_scu_init(struct device_node *np); struct clk_hw *imx_scu_of_clk_src_get(struct of_phandle_args *clkspec, |