linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP2+: Add HAVE_ARM_SCU for AM43XX
@ 2015-07-10 21:05 Dave Gerlach
  2015-07-14  7:03 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Gerlach @ 2015-07-10 21:05 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 arch/arm/mach-omap2/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index ecc04ff..4a023e8 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -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"
-- 
2.4.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: OMAP2+: Add HAVE_ARM_SCU for AM43XX
  2015-07-10 21:05 [PATCH] ARM: OMAP2+: Add HAVE_ARM_SCU for AM43XX Dave Gerlach
@ 2015-07-14  7:03 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2015-07-14  7:03 UTC (permalink / raw)
  To: linux-arm-kernel

* Dave Gerlach <d-gerlach@ti.com> [150710 14:08]:
> 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.
> 
> Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
> ---
>  arch/arm/mach-omap2/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index ecc04ff..4a023e8 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-14  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-10 21:05 [PATCH] ARM: OMAP2+: Add HAVE_ARM_SCU for AM43XX Dave Gerlach
2015-07-14  7:03 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).