From cc950633460c2772bc77a1dea7e45590a433bb73 Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Thu, 18 Apr 2019 11:24:02 +0800 Subject: clk: imx6sx: support suspend/resume with FastMix off Add M4 related APIs for suspend/resume support, and make MMDC P1 IPG clock always ON, as it is required during resume with FastMix OFF. Signed-off-by: Anson Huang [ Aisheng: update to CLK HW APIs and add FIXME] Signed-off-by: Dong Aisheng --- include/soc/imx/gpc.h | 7 +++++++ include/soc/imx/src.h | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 include/soc/imx/gpc.h create mode 100644 include/soc/imx/src.h (limited to 'include/soc') diff --git a/include/soc/imx/gpc.h b/include/soc/imx/gpc.h new file mode 100644 index 000000000000..6a976e6aa3fe --- /dev/null +++ b/include/soc/imx/gpc.h @@ -0,0 +1,7 @@ +#ifndef __SOC_IMX_GPC_H +#define __SOC_IMX_GPC_H + +void imx_gpc_hold_m4_in_sleep(void); +void imx_gpc_release_m4_in_sleep(void); + +#endif /* __SOC_IMX_GPC_H */ diff --git a/include/soc/imx/src.h b/include/soc/imx/src.h new file mode 100644 index 000000000000..c55c34cd2366 --- /dev/null +++ b/include/soc/imx/src.h @@ -0,0 +1,6 @@ +#ifndef __SOC_IMX_SRC_H +#define __SOC_IMX_SRC_H + +bool imx_src_is_m4_enabled(void); + +#endif /* __SOC_IMX_SRC_H */ -- cgit v1.2.3