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