Skip to contentSkip to conversation

cpuidle: shmobile: Add CPUIdle driver

PATCH In review keita kobayashi 1 participant 1 message Aug 1, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/6 cpuidle: shmobile: Add CPUIdle driver

Add the wfi and Core-Standby for CPUIdle power states support for the shmobile SoCs.

---
 drivers/cpuidle/Kconfig.arm        |    6 +++
 drivers/cpuidle/Makefile           |    1 +
 drivers/cpuidle/cpuidle-shmobile.c |   71 ++++++++++++++++++++++++++++++++++++
 3 files changed, 78 insertions(+)
 create mode 100644 drivers/cpuidle/cpuidle-shmobile.c
drivers/cpuidle/Kconfig.arm +6 -0
index b6d69e8..2908cd0 100644
@@ -61,3 +61,9 @@ config ARM_EXYNOS_CPUIDLE
 	depends on ARCH_EXYNOS
 	help
 	  Select this to enable cpuidle for Exynos processors
+
+config ARM_SHMOBILE_CPUIDLE
+	bool "Cpu Idle Driver for the shmobile SoCs"
+	depends on ARCH_SHMOBILE_MULTI
+	help
+	  Select this to enable cpuidle for shmobile SoCs
drivers/cpuidle/Makefile +1 -0
index d8bb1ff..0d24054 100644
@@ -16,6 +16,7 @@ obj-$(CONFIG_ARM_ZYNQ_CPUIDLE)		+= cpuidle-zynq.o
 obj-$(CONFIG_ARM_U8500_CPUIDLE)         += cpuidle-ux500.o
 obj-$(CONFIG_ARM_AT91_CPUIDLE)          += cpuidle-at91.o
 obj-$(CONFIG_ARM_EXYNOS_CPUIDLE)        += cpuidle-exynos.o
+obj-$(CONFIG_ARM_SHMOBILE_CPUIDLE)      += cpuidle-shmobile.o
 
 ###############################################################################
 # MIPS drivers
drivers/cpuidle/cpuidle-shmobile.c new file +71 -0

71 lines not on this page · raw message

Signature · 1 line
1.7.9.5