ARM: OMAP2+: Add HAVE_ARM_SCU for AM43XX
Subsystems (3)
PATCH 1/1 ARM: OMAP2+: Add HAVE_ARM_SCU for AM43XX
CONFIG_HAVE_ARM_SCU only gets selected if CONFIG_SMP is selected in an OMAP system, however AM43XX needs this option regardless of CONFIG_SMP and also for an AM43XX only build as it is important for controlling power in the SoC. Without this we cannot suspend the CPU for SoC suspend or cpuidle. The ARM Cortex A9 needs SCU CPU Power Status bits to be set to off mode in order for the PRCM to transition the MPU to low power modes.
--- arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/Kconfig +1 -0
@@ -60,6 +60,7 @@ config SOC_AM43XX select ARM_GIC select MACH_OMAP_GENERIC select MIGHT_HAVE_CACHE_L2X0 + select HAVE_ARM_SCU config SOC_DRA7XX bool "TI DRA7XX"
Signature · 1 line
2.4.5
Tony Lindgren
maintainerPATCH 1/1 ARM: OMAP2+: Add HAVE_ARM_SCU for AM43XX
Quoted 17 lines · Dave Gerlach
CONFIG_HAVE_ARM_SCUonly gets selected ifCONFIG_SMPis selected in an OMAP system, however AM43XX needs this option regardless ofCONFIG_SMPand also for an AM43XX only build as it is important for controlling power in the SoC. Without this we cannot suspend the CPU for SoC suspend or cpuidle. The ARM Cortex A9 needs SCU CPU Power Status bits to be set to off mode in order for the PRCM to transition the MPU to low power modes.Signed-off-by Dave Gerlach <[email protected]>--- arch/arm/mach-omap2/Kconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-omap2/Kconfig +0
-0
arch/arm/mach-omap2/Kconfig config SOC_AM43XX · line 66
Quoted 7 lines
arch/arm/mach-omap2/Kconfig +1
-0@@ -60,6 +60,7 @@ config SOC_AM43XX select ARM_GIC select MACH_OMAP_GENERIC select MIGHT_HAVE_CACHE_L2X0 + select HAVE_ARM_SCU config SOC_DRA7XX bool "TI DRA7XX"
Applying into omap-for-v4.2/fixes thanks.
Tony