diff options
author | Eric Anholt <eric@anholt.net> | 2018-12-12 15:51:48 -0800 |
---|---|---|
committer | Stefan Wahren <stefan.wahren@i2se.com> | 2019-01-09 16:55:09 +0100 |
commit | 670c672608a1ffcbc7ac0f872734843593bb8b15 (patch) | |
tree | ed0a90dbdc31abac4f32f7893e2a532fad810a1e /drivers/soc/bcm/Kconfig | |
parent | 5e6acc3e678ed3db746ab4fb53a980861cd711b6 (diff) | |
download | linux-670c672608a1ffcbc7ac0f872734843593bb8b15.tar.gz |
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/Kconfig | 11 |
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) |