xref: /linux/drivers/pmdomain/bcm/Kconfig (revision 79997eda0d31bc68203c95ecb978773ee6ce7a1f)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "Broadcom PM Domains"
3
4config BCM2835_POWER
5	bool "BCM2835 power domain driver"
6	depends on ARCH_BCM2835 || (COMPILE_TEST && OF)
7	default y if ARCH_BCM2835
8	select PM_GENERIC_DOMAINS if PM
9	select RESET_CONTROLLER
10	help
11	  This enables support for the BCM2835 power domains and reset
12	  controller.  Any usage of power domains by the Raspberry Pi
13	  firmware means that Linux usage of the same power domain
14	  must be accessed using the RASPBERRYPI_POWER driver
15
16config RASPBERRYPI_POWER
17	bool "Raspberry Pi power domain driver"
18	depends on ARCH_BCM2835 || (COMPILE_TEST && OF)
19	depends on RASPBERRYPI_FIRMWARE=y
20	select PM_GENERIC_DOMAINS if PM
21	help
22	  This enables support for the RPi power domains which can be enabled
23	  or disabled via the RPi firmware.
24
25config BCM_PMB
26	bool "Broadcom PMB (Power Management Bus) driver"
27	depends on ARCH_BCMBCA || (COMPILE_TEST && OF)
28	default ARCH_BCMBCA
29	select PM_GENERIC_DOMAINS if PM
30	help
31	  This enables support for the Broadcom's PMB (Power Management Bus) that
32	  is used for disabling and enabling SoC devices.
33
34config BCM63XX_POWER
35	bool "BCM63xx power domain driver"
36	depends on BMIPS_GENERIC || (COMPILE_TEST && OF)
37	select PM_GENERIC_DOMAINS if PM
38	help
39	  This enables support for the BCM63xx power domains controller on
40	  BCM6318, BCM6328, BCM6362 and BCM63268 SoCs.
41
42endmenu
43