1# SPDX-License-Identifier: GPL-2.0-only
2menu "Broadcom SoC drivers"
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 SOC_BCM63XX
26	bool "Broadcom 63xx SoC drivers"
27	depends on BMIPS_GENERIC || COMPILE_TEST
28	help
29	  Enables drivers for the Broadcom 63xx series of chips.
30	  Drivers can be enabled individually within this menu.
31
32	  If unsure, say N.
33
34config SOC_BRCMSTB
35	bool "Broadcom STB SoC drivers"
36	depends on ARM || ARM64 || BMIPS_GENERIC || COMPILE_TEST
37	select SOC_BUS
38	help
39	  Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
40	  This option alone enables only some support code, while the drivers
41	  can be enabled individually within this menu.
42
43	  If unsure, say N.
44
45config BCM_PMB
46	bool "Broadcom PMB (Power Management Bus) driver"
47	depends on ARCH_BCMBCA || (COMPILE_TEST && OF)
48	default ARCH_BCMBCA
49	select PM_GENERIC_DOMAINS if PM
50	help
51	  This enables support for the Broadcom's PMB (Power Management Bus) that
52	  is used for disabling and enabling SoC devices.
53
54if SOC_BCM63XX
55
56config BCM63XX_POWER
57	bool "BCM63xx power domain driver"
58	depends on BMIPS_GENERIC || (COMPILE_TEST && OF)
59	select PM_GENERIC_DOMAINS if PM
60	help
61	  This enables support for the BCM63xx power domains controller on
62	  BCM6318, BCM6328, BCM6362 and BCM63268 SoCs.
63
64endif # SOC_BCM63XX
65
66source "drivers/soc/bcm/brcmstb/Kconfig"
67
68endmenu
69