xref: /openbmc/linux/drivers/net/dsa/microchip/Kconfig (revision 51bc620b)
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_DSA_MICROCHIP_KSZ_COMMON
3	tristate
4
5menuconfig NET_DSA_MICROCHIP_KSZ9477
6	tristate "Microchip KSZ9477 series switch support"
7	depends on NET_DSA
8	select NET_DSA_TAG_KSZ9477
9	select NET_DSA_MICROCHIP_KSZ_COMMON
10	help
11	  This driver adds support for Microchip KSZ9477 switch chips.
12
13config NET_DSA_MICROCHIP_KSZ9477_SPI
14	tristate "KSZ9477 series SPI connected switch driver"
15	depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
16	select REGMAP_SPI
17	help
18	  Select to enable support for registering switches configured through SPI.
19