Skip to contentSkip to conversation

reset: brcmstb: Enable reset drivers for ARCH_BCM2835

PATCH Applied Peter Robinson 3 participants 3 messages Jun 30, 2025 – Jul 1, 2025 Reset controller framework

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 reset: brcmstb: Enable reset drivers for ARCH_BCM2835

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.

---

v2: Update the defaults to add ARCH_BCM2835

This allows 6.16 to boot on the rpi5 when just using ARCH_BCM2835, which is what Fedora uses, otherwise the boot stops due to deps.

 drivers/reset/Kconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/reset/Kconfig +5 -5
index d85be5899da6a..ec8c953cb73d4 100644
@@ -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"
Signature · 1 line
2.50.0
Acked-by on v2 1/1
#1 lore raw
Quoted 9 lines · Peter Robinson

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.

Signature · 1 line
Florian
maintainer Applied
#2 lore raw
In reply to Peter Robinson
Quoted 8 lines · Peter Robinson

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.

Quoted 7 lines

---

v2: Update the defaults to add ARCH_BCM2835

This allows 6.16 to boot on the rpi5 when just using ARCH_BCM2835, which is what Fedora uses, otherwise the boot stops due to deps.

Applied to reset/next, thanks!

[1/1] reset: brcmstb: Enable reset drivers for ARCH_BCM2835

      https://git.pengutronix.de/cgit/pza/linux/commit/?id=1d99f92f71b6

regards
Philipp