xref: /linux/drivers/net/dsa/microchip/Kconfig (revision 07f0148aafe8c95a3a76cd59e9e75b4d78d1d31d)
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	select NET_DSA_TAG_NONE
7	help
8	  This driver adds support for Microchip KSZ9477 series switch and
9	  KSZ8795/KSZ88x3 switch chips.
10
11config NET_DSA_MICROCHIP_KSZ9477_I2C
12	tristate "KSZ series I2C connected switch driver"
13	depends on NET_DSA_MICROCHIP_KSZ_COMMON && I2C
14	select REGMAP_I2C
15	help
16	  Select to enable support for registering switches configured through I2C.
17
18config NET_DSA_MICROCHIP_KSZ_SPI
19	tristate "KSZ series SPI connected switch driver"
20	depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
21	select REGMAP_SPI
22	help
23	  Select to enable support for registering switches configured through SPI.
24
25config NET_DSA_MICROCHIP_KSZ8863_SMI
26	tristate "KSZ series SMI connected switch driver"
27	depends on NET_DSA_MICROCHIP_KSZ_COMMON
28	select MDIO_BITBANG
29	help
30	  Select to enable support for registering switches configured through
31	  Microchip SMI. It supports the KSZ8863 and KSZ8873 switch.
32