Commit d3d0710d9a4388751eeec5110818685730f3d40e

Authored by Dave Gerlach
Committed by Rajendra Nayak
1 parent 8b112c0abd

ARM: config: 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 as it is
important for controlling power in the SoC. Without this suspend will
not work as scu_power_mode becomes an empty function.

AM43XX requires SCU CPU Power Status bits for A9 core to be set to off mode
in order for the MSTANDBY signal to be asserted from the MPU during WFI.
This signal is used by the PRCM to determine when it is appropriate to
clock gate the MPU clock domain and also trigger M3_IRQ2 to tell the wkup_m3
firmware to put the part into the desired sleep more.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

arch/arm/mach-omap2/Kconfig
... ... @@ -80,6 +80,7 @@
80 80 depends on ARCH_MULTI_V7
81 81 select CPU_V7
82 82 select ARCH_OMAP2PLUS
  83 + select HAVE_ARM_SCU
83 84 select MULTI_IRQ_HANDLER
84 85 select ARM_GIC
85 86 select COMMON_CLK