summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorZhang Zhuoyu <Zhuoyu.Zhang@freescale.com>2014-10-28 10:26:13 (GMT)
committerMatthew Weigel <Matthew.Weigel@freescale.com>2014-12-11 18:39:03 (GMT)
commitce8f25a1f2483918dc88838599ea1c6e70811bfa (patch)
treef198ebe968c424bb13ffcb42ce034838b4cb3623 /arch/powerpc/include
parent7287030178f83068e4fc8e30688ab50124df321a (diff)
downloadlinux-fsl-qoriq-ce8f25a1f2483918dc88838599ea1c6e70811bfa.tar.xz
powerpc/cpu-hotplug: Support PCL10 state for e6500
PCL10 is a cluster low power state in which cluster clock is gated off. For e6500-based platform, cluster will enter PCL10 state automatically when all cores of this cluster are offline. Signed-off-by: Hongtao Jia <hongtao.jia@freescale.com> Signed-off-by: Zhang Zhuoyu <Zhuoyu.Zhang@freescale.com> Change-Id: Ibac7138ff685bbaeaed139629e9f2833e3148379 Reviewed-on: http://git.am.freescale.net:8181/22315 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Yang Li <LeoLi@freescale.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/fsl_pm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/fsl_pm.h b/arch/powerpc/include/asm/fsl_pm.h
index 4e6fd0e..80484d6 100644
--- a/arch/powerpc/include/asm/fsl_pm.h
+++ b/arch/powerpc/include/asm/fsl_pm.h
@@ -19,7 +19,9 @@
#define E500_PM_PW10 2
#define E500_PM_PH15 3
#define E500_PM_PH20 4
-#define E500_PM_PH30 5
+#define E500_PM_PW20 5
+#define E500_PM_PH30 6
+#define E500_PM_PCL10 7
#define E500_PM_DOZE E500_PM_PH10
#define E500_PM_NAP E500_PM_PH15
@@ -31,9 +33,12 @@ struct fsl_pm_ops {
void (*irq_unmask)(int cpu);
void (*cpu_enter_state)(int cpu, int state);
void (*cpu_exit_state)(int cpu, int state);
+ void (*cluster_enter_state)(int cpu, int state);
+ void (*cluster_exit_state)(int cpu, int state);
int (*plat_enter_state)(int state);
void (*freeze_time_base)(int freeze);
void (*set_ip_power)(int enable, u32 mask);
+ bool (*cpu_ready)(unsigned int cpu, int state);
};
extern const struct fsl_pm_ops *qoriq_pm_ops;