summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/microchip/sparx5/Kconfig
diff options
context:
space:
mode:
authorSteen Hegelund <steen.hegelund@microchip.com>2021-06-24 10:07:50 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-24 21:28:12 +0300
commit3cfa11bac9bbede3066e15bcd5fb26c755c3da45 (patch)
treec02857fd1bf2a055a270e0d62f07cdac885049eb /drivers/net/ethernet/microchip/sparx5/Kconfig
parentf8c63088a98bac8926cb40ecf46ebd71dc1232c4 (diff)
downloadlinux-3cfa11bac9bbede3066e15bcd5fb26c755c3da45.tar.xz
net: sparx5: add the basic sparx5 driver
This adds the Sparx5 basic SwitchDev driver framework with IO range mapping, switch device detection and core clock configuration. Support for ports, phylink, netdev, mactable etc. are in the following patches. Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com> Signed-off-by: Bjarni Jonasson <bjarni.jonasson@microchip.com> Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/microchip/sparx5/Kconfig')
-rw-r--r--drivers/net/ethernet/microchip/sparx5/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ethernet/microchip/sparx5/Kconfig b/drivers/net/ethernet/microchip/sparx5/Kconfig
new file mode 100644
index 000000000000..a80419d8d4b5
--- /dev/null
+++ b/drivers/net/ethernet/microchip/sparx5/Kconfig
@@ -0,0 +1,9 @@
+config SPARX5_SWITCH
+ tristate "Sparx5 switch driver"
+ depends on NET_SWITCHDEV
+ depends on HAS_IOMEM
+ select PHYLINK
+ select PHY_SPARX5_SERDES
+ select RESET_CONTROLLER
+ help
+ This driver supports the Sparx5 network switch device.