summaryrefslogtreecommitdiff
path: root/drivers/soc/bcm/Kconfig
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-12-16 16:26:47 -0800
committerEric Anholt <eric@anholt.net>2015-12-21 20:00:41 -0800
commita09cd356586d33f64cbe64ee4f5c1a7c4a6abee5 (patch)
tree8e6cc876c6dd784f09f714601eebd79eadf7af16 /drivers/soc/bcm/Kconfig
parent4c8b338f9ae38dee9c77bda023babc7f7543f52c (diff)
ARM: bcm2835: add rpi power domain driver
This patch adds support for several power domains on Raspberry Pi, including USB (so it can be enabled even if the bootloader didn't do it), and graphics. This patch is the combined work of Eric Anholt (who wrote USB support inside of the Raspberry Pi firmware driver, and wrote the non-USB domain support) and Alexander Aring (who separated the original USB work out from the firmware driver). Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'drivers/soc/bcm/Kconfig')
-rw-r--r--drivers/soc/bcm/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/soc/bcm/Kconfig b/drivers/soc/bcm/Kconfig
new file mode 100644
index 000000000000..5ba1827fe36f
--- /dev/null
+++ b/drivers/soc/bcm/Kconfig
@@ -0,0 +1,9 @@
+config RASPBERRYPI_POWER
+ bool "Raspberry Pi power domain driver"
+ depends on ARCH_BCM2835 || COMPILE_TEST
+ depends on RASPBERRYPI_FIRMWARE
+ select PM_GENERIC_DOMAINS if PM
+ select PM_GENERIC_DOMAINS_OF if PM
+ help
+ This enables support for the RPi power domains which can be enabled
+ or disabled via the RPi firmware.