summaryrefslogtreecommitdiffstats
path: root/drivers/reset/Makefile
diff options
context:
space:
mode:
authorSteen Hegelund <steen.hegelund@microchip.com>2021-04-16 10:40:53 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2021-05-10 09:40:05 +0200
commit453ed4283bebd0776682c5a3227619d92caa9c8c (patch)
treef7bb28f490492a6a4490798c4404364b01599fa3 /drivers/reset/Makefile
parentdt-bindings: reset: microchip sparx5 reset driver bindings (diff)
downloadlinux-453ed4283bebd0776682c5a3227619d92caa9c8c.tar.xz
linux-453ed4283bebd0776682c5a3227619d92caa9c8c.zip
reset: mchp: sparx5: add switch reset driver
The Sparx5 Switch SoC has a number of components that can be reset indiviually, but at least the Switch Core needs to be in a well defined state at power on, when any of the Sparx5 drivers starts to access the Switch Core, this reset driver is available. The reset driver is loaded early via the postcore_initcall interface, and will then be available for the other Sparx5 drivers (SGPIO, SwitchDev etc) that are loaded next, and the first of them to be loaded can perform the one-time Switch Core reset that is needed. The driver has protection so that the system busses, DDR controller, PCI-E and ARM A53 CPU and a few other subsystems are not touched by the reset. Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/Makefile')
-rw-r--r--drivers/reset/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile
index 65a118a91b27..c1d6aa9b1b52 100644
--- a/drivers/reset/Makefile
+++ b/drivers/reset/Makefile
@@ -16,6 +16,7 @@ obj-$(CONFIG_RESET_INTEL_GW) += reset-intel-gw.o
obj-$(CONFIG_RESET_K210) += reset-k210.o
obj-$(CONFIG_RESET_LANTIQ) += reset-lantiq.o
obj-$(CONFIG_RESET_LPC18XX) += reset-lpc18xx.o
+obj-$(CONFIG_RESET_MCHP_SPARX5) += reset-microchip-sparx5.o
obj-$(CONFIG_RESET_MESON) += reset-meson.o
obj-$(CONFIG_RESET_MESON_AUDIO_ARB) += reset-meson-audio-arb.o
obj-$(CONFIG_RESET_NPCM) += reset-npcm.o