xref: /linux/drivers/net/dsa/microchip/Kconfig (revision b92dd11725a7c57f55e148c7d3ce58a86f480575)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig NET_DSA_MICROCHIP_KSZ_COMMON
3	tristate "Microchip KSZ8795/KSZ9477/LAN937x series switch support"
4	depends on NET_DSA
5	select NET_DSA_TAG_KSZ
6	help
7	  This driver adds support for Microchip KSZ9477 series switch and
8	  KSZ8795/KSZ88x3 switch chips.
9
10config NET_DSA_MICROCHIP_KSZ9477_I2C
11	tristate "KSZ series I2C connected switch driver"
12	depends on NET_DSA_MICROCHIP_KSZ_COMMON && I2C
13	select REGMAP_I2C
14	help
15	  Select to enable support for registering switches configured through I2C.
16
17config NET_DSA_MICROCHIP_KSZ_SPI
18	tristate "KSZ series SPI connected switch driver"
19	depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
20	select REGMAP_SPI
21	help
22	  Select to enable support for registering switches configured through SPI.
23
24config NET_DSA_MICROCHIP_KSZ8863_SMI
25	tristate "KSZ series SMI connected switch driver"
26	depends on NET_DSA_MICROCHIP_KSZ_COMMON
27	select MDIO_BITBANG
28	help
29	  Select to enable support for registering switches configured through
30	  Microchip SMI. It supports the KSZ8863 and KSZ8873 switch.
31