xref: /openbmc/linux/drivers/net/dsa/microchip/Kconfig (revision 15e3ae36)
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_DSA_MICROCHIP_KSZ_COMMON
3	select NET_DSA_TAG_KSZ
4	tristate
5
6menuconfig NET_DSA_MICROCHIP_KSZ9477
7	tristate "Microchip KSZ9477 series switch support"
8	depends on NET_DSA
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_I2C
14	tristate "KSZ9477 series I2C connected switch driver"
15	depends on NET_DSA_MICROCHIP_KSZ9477 && I2C
16	select REGMAP_I2C
17	help
18	  Select to enable support for registering switches configured through I2C.
19
20config NET_DSA_MICROCHIP_KSZ9477_SPI
21	tristate "KSZ9477 series SPI connected switch driver"
22	depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
23	select REGMAP_SPI
24	help
25	  Select to enable support for registering switches configured through SPI.
26
27menuconfig NET_DSA_MICROCHIP_KSZ8795
28	tristate "Microchip KSZ8795 series switch support"
29	depends on NET_DSA
30	select NET_DSA_MICROCHIP_KSZ_COMMON
31	help
32	  This driver adds support for Microchip KSZ8795 switch chips.
33
34config NET_DSA_MICROCHIP_KSZ8795_SPI
35	tristate "KSZ8795 series SPI connected switch driver"
36	depends on NET_DSA_MICROCHIP_KSZ8795 && SPI
37	select REGMAP_SPI
38	help
39	  This driver accesses KSZ8795 chip through SPI.
40
41	  It is required to use the KSZ8795 switch driver as the only access
42	  is through SPI.
43