diff options
author | Herve Codina <herve.codina@bootlin.com> | 2024-10-14 14:46:33 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2024-10-24 12:09:34 +0200 |
commit | eba0dedd27f9ad454deb580a1d09d63aa1766293 (patch) | |
tree | f868e93155f40588f98a08686ec606bdcc761fcc /drivers/reset | |
parent | reset: mchp: sparx5: Map cpu-syscon locally in case of LAN966x (diff) | |
download | linux-eba0dedd27f9ad454deb580a1d09d63aa1766293.tar.xz linux-eba0dedd27f9ad454deb580a1d09d63aa1766293.zip |
reset: mchp: sparx5: Add MCHP_LAN966X_PCI dependency
The sparx5 reset controller depends on the SPARX5 architecture or the
LAN966x SoC.
This reset controller can be used by the LAN966x PCI device and so it
needs to be available when the LAN966x PCI device is enabled.
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20241014124636.24221-5-herve.codina@bootlin.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r-- | drivers/reset/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index d28c4401a310..6337bcbd9b67 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -147,7 +147,7 @@ config RESET_LPC18XX config RESET_MCHP_SPARX5 bool "Microchip Sparx5 reset driver" - depends on ARCH_SPARX5 || SOC_LAN966 || COMPILE_TEST + depends on ARCH_SPARX5 || SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST default y if SPARX5_SWITCH select MFD_SYSCON help |