[RFC PATCH v15 04/11] ARM: cpuidle: Register cpuidle_ops for QCOM cpus
Lina Iyer
lina.iyer at linaro.org
Mon Mar 9 08:16:39 PDT 2015
Register cpuidle ops for Krait Processor Sub-System.
Supports v1 and v2 versions of KPSS.
Cc: Stephen Boyd <sboyd at codeaurora.org>
Cc: Arnd Bergmann <arnd at arndb.de>
Cc: Kevin Hilman <khilman at linaro.org>
Cc: Daniel Lezcano <daniel.lezcano at linaro.org>
Signed-off-by: Lina Iyer <lina.iyer at linaro.org>
---
arch/arm/include/asm/cpuidle_ops.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/include/asm/cpuidle_ops.h b/arch/arm/include/asm/cpuidle_ops.h
index be0a612..40cb262 100644
--- a/arch/arm/include/asm/cpuidle_ops.h
+++ b/arch/arm/include/asm/cpuidle_ops.h
@@ -1,3 +1,8 @@
/*
* List of cpuidle operations
*/
+
+#if IS_ENABLED(CONFIG_QCOM_PM)
+CPUIDLE_OPS(qcom_kpss_v1)
+CPUIDLE_OPS(qcom_kpss_v2)
+#endif
--
2.1.0
More information about the linux-arm-kernel
mailing list