aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/bcm/Kconfig
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2018-12-12 15:51:48 -0800
committerStefan Wahren <stefan.wahren@i2se.com>2019-01-09 16:55:09 +0100
commit670c672608a1ffcbc7ac0f872734843593bb8b15 (patch)
treeed0a90dbdc31abac4f32f7893e2a532fad810a1e /drivers/soc/bcm/Kconfig
parentbcm2835-pm: Move bcm2835-watchdog's DT probe to an MFD. (diff)
downloadlinux-dev-670c672608a1ffcbc7ac0f872734843593bb8b15.tar.xz
linux-dev-670c672608a1ffcbc7ac0f872734843593bb8b15.zip
soc: bcm: bcm2835-pm: Add support for power domains under a new binding.
This provides a free software alternative to raspberrypi-power.c's firmware calls to manage power domains. It also exposes a reset line, where previously the vc4 driver had to try to force power off the domain in order to trigger a reset. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Diffstat (limited to 'drivers/soc/bcm/Kconfig')
-rw-r--r--drivers/soc/bcm/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/soc/bcm/Kconfig b/drivers/soc/bcm/Kconfig
index 055a845ed979..fe1af29560e9 100644
--- a/drivers/soc/bcm/Kconfig
+++ b/drivers/soc/bcm/Kconfig
@@ -1,5 +1,16 @@
menu "Broadcom SoC drivers"
+config BCM2835_POWER
+ bool "BCM2835 power domain driver"
+ depends on ARCH_BCM2835 || (COMPILE_TEST && OF)
+ select PM_GENERIC_DOMAINS if PM
+ select RESET_CONTROLLER
+ help
+ This enables support for the BCM2835 power domains and reset
+ controller. Any usage of power domains by the Raspberry Pi
+ firmware means that Linux usage of the same power domain
+ must be accessed using the RASPBERRYPI_POWER driver
+
config RASPBERRYPI_POWER
bool "Raspberry Pi power domain driver"
depends on ARCH_BCM2835 || (COMPILE_TEST && OF)