summaryrefslogtreecommitdiff
path: root/drivers/soc/bcm/brcmstb/Kconfig
diff options
context:
space:
mode:
authorJustin Chen <justinpopo6@gmail.com>2017-06-16 01:20:31 +0300
committerFlorian Fainelli <f.fainelli@gmail.com>2017-09-25 21:47:14 +0300
commit0e9b11413262ef3d64273e15f7631d9836c53c1a (patch)
tree3a7db95144e5ad88645cb6c1a3ebcf26ba7a9199 /drivers/soc/bcm/brcmstb/Kconfig
parentdedcf233ceb069c2c1d919ec74a913b39b5b4dd5 (diff)
downloadlinux-0e9b11413262ef3d64273e15f7631d9836c53c1a.tar.xz
soc bcm: brcmstb: Add support for S2/S3/S5 suspend states (MIPS)
This commit adds support for the Broadcom STB S2/S3/S5 suspend states on MIPS based SoCs. This requires quite a lot of code in order to deal with the different HW blocks that need to be quiesced during suspend: - DDR PHY - DDR memory controller and arbiter - control processor The final steps of the suspend execute in cache and there is is a little bit of assembly code in order to shut down the DDR PHY PLL and then go into a wait loop until a wake-up even occurs. Conversely the resume part involves waiting for the DDR PHY PLL to come back up and resume executions where we left. Signed-off-by: Justin Chen <justinpopo6@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'drivers/soc/bcm/brcmstb/Kconfig')
-rw-r--r--drivers/soc/bcm/brcmstb/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/bcm/brcmstb/Kconfig b/drivers/soc/bcm/brcmstb/Kconfig
index 4425430119fe..d36f6e03c1a6 100644
--- a/drivers/soc/bcm/brcmstb/Kconfig
+++ b/drivers/soc/bcm/brcmstb/Kconfig
@@ -4,7 +4,7 @@ config BRCMSTB_PM
bool "Support suspend/resume for STB platforms"
default y
depends on PM
- depends on ARCH_BRCMSTB
+ depends on ARCH_BRCMSTB || BMIPS_GENERIC
select ARM_CPU_SUSPEND if ARM
endif # SOC_BRCMSTB