Skip to contentSkip to conversation

reset: Add Broadcom STB SW_INIT reset controller driver

PATCH Applied Florian Fainelli 2 participants 2 messages Jan 23, 2019 – Jan 24, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reset: Add Broadcom STB SW_INIT reset controller driver

Add support for resetting blocks through the Linux reset controller subsystem when reset lines are provided through a SW_INIT-style reset controller on Broadcom STB SoCs.

---
Philipp,

This is a replacement patch for what is currently in your reset/next branch.

Thank you!

 drivers/reset/Kconfig         |   8 +++
 drivers/reset/Makefile        |   1 +
 drivers/reset/reset-brcmstb.c | 132 ++++++++++++++++++++++++++++++++++
 3 files changed, 141 insertions(+)
 create mode 100644 drivers/reset/reset-brcmstb.c
drivers/reset/Kconfig +8 -0
index 2e01bd833ffd..d9a02b7f90cf 100644
@@ -40,6 +40,14 @@ config RESET_BERLIN
 	help
 	  This enables the reset controller driver for Marvell Berlin SoCs.
 
+config RESET_BRCMSTB
+	tristate "Broadcom STB reset controller"
+	depends on ARCH_BRCMSTB || COMPILE_TEST
+	default ARCH_BRCMSTB
+	help
+	  This enables the reset controller driver for Broadcom STB SoCs using
+	  a SUN_TOP_CTRL_SW_INIT style controller.
+
 config RESET_HSDK
 	bool "Synopsys HSDK Reset Driver"
 	depends on HAS_IOMEM
drivers/reset/Makefile +1 -0
index dc7874df78d9..7395db2cb1dd 100644
@@ -7,6 +7,7 @@ obj-$(CONFIG_RESET_A10SR) += reset-a10sr.o
 obj-$(CONFIG_RESET_ATH79) += reset-ath79.o
 obj-$(CONFIG_RESET_AXS10X) += reset-axs10x.o
 obj-$(CONFIG_RESET_BERLIN) += reset-berlin.o
+obj-$(CONFIG_RESET_BRCMSTB) += reset-brcmstb.o
 obj-$(CONFIG_RESET_HSDK) += reset-hsdk.o
 obj-$(CONFIG_RESET_IMX7) += reset-imx7.o
 obj-$(CONFIG_RESET_LANTIQ) += reset-lantiq.o
drivers/reset/reset-brcmstb.c new file +132 -0

132 lines not on this page · raw message

Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw

Hi Florian,

Quoted 6 lines · Florian Fainelli

Add support for resetting blocks through the Linux reset controller subsystem when reset lines are provided through a SW_INIT-style reset controller on Broadcom STB SoCs.

Quoted 7 lines

---
Philipp,

This is a replacement patch for what is currently in your reset/next branch.

Thank you!

Applied to reset/next, thank you.

regards
Philipp