summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/common.h
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-06-03 10:33:44 +0800
committerShawn Guo <shawnguo@kernel.org>2018-06-19 09:06:48 +0800
commitc791bbbf812a18a7831619783f12a316beeac558 (patch)
tree8948f88278ffc027c54d952233ddacc6edd00be6 /arch/arm/mach-imx/common.h
parent22021948c98c5d86a7b44d2c610bf610dcea4a81 (diff)
downloadlinux-c791bbbf812a18a7831619783f12a316beeac558.tar.bz2
ARM: imx: add L2 page power control for GPC
Some platforms like i.MX6UL/i.MX6SLL have L2 page power control in GPC, it needs to be disabled if ARM is power gated and L2 is NOT flushed, add GPC interface to control it. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/common.h')
-rw-r--r--arch/arm/mach-imx/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h
index 18aae76fa2da..93225db759f8 100644
--- a/arch/arm/mach-imx/common.h
+++ b/arch/arm/mach-imx/common.h
@@ -57,6 +57,7 @@ struct device *imx_soc_device_init(void);
void imx6_enable_rbc(bool enable);
void imx_gpc_check_dt(void);
void imx_gpc_set_arm_power_in_lpm(bool power_off);
+void imx_gpc_set_l2_mem_power_in_lpm(bool power_off);
void imx_gpc_set_arm_power_up_timing(u32 sw2iso, u32 sw);
void imx_gpc_set_arm_power_down_timing(u32 sw2iso, u32 sw);
void imx25_pm_init(void);