Commit 7280f01e authored by Daniel Machon's avatar Daniel Machon Committed by Jakub Kicinski
Browse files

net: lan969x: add match data for lan969x



Add match data for lan969x, with initial fields for iomap, iomap_size
and ioranges. Add new Kconfig symbol CONFIG_LAN969X_CONFIG for compiling
the lan969x driver.

It has been decided to give lan969x its own Kconfig symbol, as a
considerable amount of code is needed, beside the Sparx5 code, to add
full chip support (and more will be added in future series). Also this
makes it possible to compile Sparx5 without lan969x.

Reviewed-by: default avatarSteen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: default avatarDaniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241024-sparx5-lan969x-switch-driver-2-v2-6-a0b5fae88a0f@microchip.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 19949849
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -15091,6 +15091,13 @@ S: Maintained
F:	Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml
F:	drivers/irqchip/irq-lan966x-oic.c
MICROCHIP LAN969X ETHERNET DRIVER
M:	Daniel Machon <daniel.machon@microchip.com>
M:	UNGLinuxDriver@microchip.com
L:	netdev@vger.kernel.org
S:	Maintained
F:	drivers/net/ethernet/microchip/lan969x/*
MICROCHIP LCDFB DRIVER
M:	Nicolas Ferre <nicolas.ferre@microchip.com>
L:	linux-fbdev@vger.kernel.org
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ config LAN743X

source "drivers/net/ethernet/microchip/lan865x/Kconfig"
source "drivers/net/ethernet/microchip/lan966x/Kconfig"
source "drivers/net/ethernet/microchip/lan969x/Kconfig"
source "drivers/net/ethernet/microchip/sparx5/Kconfig"
source "drivers/net/ethernet/microchip/vcap/Kconfig"
source "drivers/net/ethernet/microchip/fdma/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ lan743x-objs := lan743x_main.o lan743x_ethtool.o lan743x_ptp.o

obj-$(CONFIG_LAN865X) += lan865x/
obj-$(CONFIG_LAN966X_SWITCH) += lan966x/
obj-$(CONFIG_LAN969X_SWITCH) += lan969x/
obj-$(CONFIG_SPARX5_SWITCH) += sparx5/
obj-$(CONFIG_VCAP) += vcap/
obj-$(CONFIG_FDMA) += fdma/
+5 −0
Original line number Diff line number Diff line
config LAN969X_SWITCH
	tristate "Lan969x switch driver"
	depends on SPARX5_SWITCH
	help
	  This driver supports the lan969x family of network switch devices.
+12 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
#
# Makefile for the Microchip lan969x network device drivers.
#

obj-$(CONFIG_LAN969X_SWITCH) += lan969x-switch.o

lan969x-switch-y := lan969x.o

# Provide include files
ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/fdma
ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap
Loading