162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenu "Broadcom SoC drivers"
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciconfig BCM2835_POWER
562306a36Sopenharmony_ci	bool "BCM2835 power domain driver"
662306a36Sopenharmony_ci	depends on ARCH_BCM2835 || (COMPILE_TEST && OF)
762306a36Sopenharmony_ci	default y if ARCH_BCM2835
862306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
962306a36Sopenharmony_ci	select RESET_CONTROLLER
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  This enables support for the BCM2835 power domains and reset
1262306a36Sopenharmony_ci	  controller.  Any usage of power domains by the Raspberry Pi
1362306a36Sopenharmony_ci	  firmware means that Linux usage of the same power domain
1462306a36Sopenharmony_ci	  must be accessed using the RASPBERRYPI_POWER driver
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig RASPBERRYPI_POWER
1762306a36Sopenharmony_ci	bool "Raspberry Pi power domain driver"
1862306a36Sopenharmony_ci	depends on ARCH_BCM2835 || (COMPILE_TEST && OF)
1962306a36Sopenharmony_ci	depends on RASPBERRYPI_FIRMWARE=y
2062306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
2162306a36Sopenharmony_ci	help
2262306a36Sopenharmony_ci	  This enables support for the RPi power domains which can be enabled
2362306a36Sopenharmony_ci	  or disabled via the RPi firmware.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig SOC_BCM63XX
2662306a36Sopenharmony_ci	bool "Broadcom 63xx SoC drivers"
2762306a36Sopenharmony_ci	depends on BMIPS_GENERIC || COMPILE_TEST
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  Enables drivers for the Broadcom 63xx series of chips.
3062306a36Sopenharmony_ci	  Drivers can be enabled individually within this menu.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci	  If unsure, say N.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig SOC_BRCMSTB
3562306a36Sopenharmony_ci	bool "Broadcom STB SoC drivers"
3662306a36Sopenharmony_ci	depends on ARM || ARM64 || BMIPS_GENERIC || COMPILE_TEST
3762306a36Sopenharmony_ci	select SOC_BUS
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	  Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
4062306a36Sopenharmony_ci	  This option alone enables only some support code, while the drivers
4162306a36Sopenharmony_ci	  can be enabled individually within this menu.
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci	  If unsure, say N.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig BCM_PMB
4662306a36Sopenharmony_ci	bool "Broadcom PMB (Power Management Bus) driver"
4762306a36Sopenharmony_ci	depends on ARCH_BCMBCA || (COMPILE_TEST && OF)
4862306a36Sopenharmony_ci	default ARCH_BCMBCA
4962306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
5062306a36Sopenharmony_ci	help
5162306a36Sopenharmony_ci	  This enables support for the Broadcom's PMB (Power Management Bus) that
5262306a36Sopenharmony_ci	  is used for disabling and enabling SoC devices.
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ciif SOC_BCM63XX
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ciconfig BCM63XX_POWER
5762306a36Sopenharmony_ci	bool "BCM63xx power domain driver"
5862306a36Sopenharmony_ci	depends on BMIPS_GENERIC || (COMPILE_TEST && OF)
5962306a36Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
6062306a36Sopenharmony_ci	help
6162306a36Sopenharmony_ci	  This enables support for the BCM63xx power domains controller on
6262306a36Sopenharmony_ci	  BCM6318, BCM6328, BCM6362 and BCM63268 SoCs.
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ciendif # SOC_BCM63XX
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_cisource "drivers/soc/bcm/brcmstb/Kconfig"
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ciendmenu
69