cpuidle: shmobile: Add CPUIdle driver
Subsystems (2)
PATCH 3/6 cpuidle: shmobile: Add CPUIdle driver
Add the wfi and Core-Standby for CPUIdle power states support for the shmobile SoCs.
Signed-off-by Keita Kobayashi <[email protected]>
--- 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
@@ -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
@@ -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