cpuidle: add Calxeda SOC idle support
PATCH 1/1 cpuidle: add Calxeda SOC idle support
From: Rob Herring <[email protected]>
Add support for core powergating on Calxeda platforms. Initially, this supports ECX-1000 (highbank), but support will be added for ECX-2000 later.
---
It's not really clear where we want ARM cpuidle drivers. We're moving everything else out of arch/arm, and my understanding is Len doesn't want them in drivers/idle. It seems kind of silly to me to have the framework and drivers in 2 places. I've put this in drivers/cpuidle, but it doesn't make any difference to me.
Rob
drivers/cpuidle/Kconfig | 10 +++ drivers/cpuidle/Makefile | 2 + drivers/cpuidle/cpuidle-calxeda.c | 161 +++++++++++++++++++++++++++++++++++++ 3 files changed, 173 insertions(+) create mode 100644 drivers/cpuidle/cpuidle-calxeda.c
drivers/cpuidle/Kconfig +10 -0
@@ -21,3 +21,13 @@ config CPU_IDLE_GOV_MENU config ARCH_NEEDS_CPU_IDLE_COUPLED def_bool n + +if CPU_IDLE + +config CPU_IDLE_CALXEDA + bool "CPU Idle Driver for Calxeda processors" + depends on ARCH_HIGHBANK + help + Select this to enable cpuidle on Calxeda processors. + +endif
drivers/cpuidle/Makefile +2 -0
@@ -4,3 +4,5 @@ obj-y += cpuidle.o driver.o governor.o sysfs.o governors/ obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o + +obj-$(CONFIG_CPU_IDLE_CALXEDA) += cpuidle-calxeda.o
drivers/cpuidle/cpuidle-calxeda.c new file +161 -0
161 lines not on this page · raw message
Signature · 1 line
1.7.10.4
Quoted 9 lines · Rob Herring
From: Rob Herring <[email protected]>
Add support for core powergating on Calxeda platforms. Initially, this supports ECX-1000 (highbank), but support will be added for ECX-2000 later.
Signed-off-by Rob Herring <[email protected]>Cc Len Brown <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>
Quoted 5 lines
It's not really clear where we want ARM cpuidle drivers. We're moving everything else out of
arch/arm, and my understanding is Len doesn't want them indrivers/idle. It seems kind of silly to me to have the framework and drivers in 2 places. I've put this indrivers/cpuidle, but it doesn't make any difference to me.
Fine with me. I just don't want in in arch/arm because I'm guessing this will be shared with arm64, which in turn shares idle (and other) drivers with various powerpc, mips and x86 socs.
Arnd
Rafael J. Wysocki
AppliedQuoted 19 lines · Arnd Bergmann
Quoted 9 lines · Rob Herring
From: Rob Herring <[email protected]>
Add support for core powergating on Calxeda platforms. Initially, this supports ECX-1000 (highbank), but support will be added for ECX-2000 later.
Signed-off-by Rob Herring <[email protected]>Cc Len Brown <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Acked-by Arnd Bergmann <[email protected]>Quoted 5 lines
It's not really clear where we want ARM cpuidle drivers. We're moving everything else out of
arch/arm, and my understanding is Len doesn't want them indrivers/idle. It seems kind of silly to me to have the framework and drivers in 2 places. I've put this indrivers/cpuidle, but it doesn't make any difference to me.
Quoted 3 lines
Fine with me. I just don't want in in
arch/armbecause I'm guessing this will be shared with arm64, which in turn shares idle (and other) drivers with various powerpc, mips and x86 socs.
Applied to linux-pm.git/linux-next as v3.8 material.
Thanks,
Rafael
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
Rafael,
Quoted 20 lines · Rafael J. Wysocki
Quoted 19 lines · Arnd Bergmann
Quoted 9 lines · Rob Herring
From: Rob Herring <[email protected]>
Add support for core powergating on Calxeda platforms. Initially, this supports ECX-1000 (highbank), but support will be added for ECX-2000 later.
Signed-off-by Rob Herring <[email protected]>Cc Len Brown <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Acked-by Arnd Bergmann <[email protected]>Quoted 5 lines
It's not really clear where we want ARM cpuidle drivers. We're moving everything else out of
arch/arm, and my understanding is Len doesn't want them indrivers/idle. It seems kind of silly to me to have the framework and drivers in 2 places. I've put this indrivers/cpuidle, but it doesn't make any difference to me.
Quoted 5 lines
Quoted 3 lines
Fine with me. I just don't want in in
arch/armbecause I'm guessing this will be shared with arm64, which in turn shares idle (and other) drivers with various powerpc, mips and x86 socs.Applied to linux-pm.git/linux-next as v3.8 material.
We already have it in arm-soc. Since there's no maintainer listed for the directory, it didn't seem like there were any better merge paths.
-Olof
Quoted 23 lines · Olof Johansson
Rafael,
Quoted 20 lines · Rafael J. Wysocki
Quoted 19 lines · Arnd Bergmann
Quoted 9 lines · Rob Herring
From: Rob Herring <[email protected]>
Add support for core powergating on Calxeda platforms. Initially, this supports ECX-1000 (highbank), but support will be added for ECX-2000 later.
Signed-off-by Rob Herring <[email protected]>Cc Len Brown <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Acked-by Arnd Bergmann <[email protected]>Quoted 5 lines
It's not really clear where we want ARM cpuidle drivers. We're moving everything else out of
arch/arm, and my understanding is Len doesn't want them indrivers/idle. It seems kind of silly to me to have the framework and drivers in 2 places. I've put this indrivers/cpuidle, but it doesn't make any difference to me.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Fine with me. I just don't want in in
arch/armbecause I'm guessing this will be shared with arm64, which in turn shares idle (and other) drivers with various powerpc, mips and x86 socs.Applied to linux-pm.git/linux-next as v3.8 material.
We already have it in arm-soc. Since there's no maintainer listed for the directory, it didn't seem like there were any better merge paths.
Cool, I'll drop it then.
Thanks,
Rafael
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.