]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
reset: brcmstb: Enable reset drivers for ARCH_BCM2835
authorPeter Robinson <pbrobinson@gmail.com>
Mon, 30 Jun 2025 17:52:58 +0000 (18:52 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 1 Jul 2025 08:37:54 +0000 (10:37 +0200)
The BRCMSTB and BRCMSTB_RESCAL reset drivers are also
used in the BCM2712, AKA the RPi5. The RPi platforms
have typically used the ARCH_BCM2835, and the PCIe
support for this SoC can use this config which depends
on these drivers so enable building them when just that
arch option is enabled to ensure the platform works as
expected.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20250630175301.846082-1-pbrobinson@gmail.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/Kconfig

index e2cf29e742d01fea2f356ae0928cfd8c96ea2ed1..ba4bb07309a1d695f2bd7178d7e2b9e200c66cf0 100644 (file)
@@ -51,8 +51,8 @@ config RESET_BERLIN
 
 config RESET_BRCMSTB
        tristate "Broadcom STB reset controller"
-       depends on ARCH_BRCMSTB || COMPILE_TEST
-       default ARCH_BRCMSTB
+       depends on ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST
+       default ARCH_BRCMSTB || ARCH_BCM2835
        help
          This enables the reset controller driver for Broadcom STB SoCs using
          a SUN_TOP_CTRL_SW_INIT style controller.
@@ -60,11 +60,11 @@ config RESET_BRCMSTB
 config RESET_BRCMSTB_RESCAL
        tristate "Broadcom STB RESCAL reset controller"
        depends on HAS_IOMEM
-       depends on ARCH_BRCMSTB || COMPILE_TEST
-       default ARCH_BRCMSTB
+       depends on ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST
+       default ARCH_BRCMSTB || ARCH_BCM2835
        help
          This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on
-         BCM7216.
+         BCM7216 or the BCM2712.
 
 config RESET_EYEQ
        bool "Mobileye EyeQ reset controller"