xref: /openbmc/linux/drivers/net/dsa/microchip/Kconfig (revision 20e03777)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2c2e86691STristram Haconfig NET_DSA_MICROCHIP_KSZ_COMMON
3c2e86691STristram Ha	tristate
4c2e86691STristram Ha
574a7194fSTristram Hamenuconfig NET_DSA_MICROCHIP_KSZ9477
674a7194fSTristram Ha	tristate "Microchip KSZ9477 series switch support"
7b987e98eSWoojung Huh	depends on NET_DSA
8c2e86691STristram Ha	select NET_DSA_MICROCHIP_KSZ_COMMON
9b987e98eSWoojung Huh	help
1074a7194fSTristram Ha	  This driver adds support for Microchip KSZ9477 switch chips.
11b987e98eSWoojung Huh
1220e03777STristram Haconfig NET_DSA_MICROCHIP_KSZ9477_I2C
1320e03777STristram Ha	tristate "KSZ9477 series I2C connected switch driver"
1420e03777STristram Ha	depends on NET_DSA_MICROCHIP_KSZ9477 && I2C
1520e03777STristram Ha	select REGMAP_I2C
1620e03777STristram Ha	help
1720e03777STristram Ha	  Select to enable support for registering switches configured through I2C.
1820e03777STristram Ha
1974a7194fSTristram Haconfig NET_DSA_MICROCHIP_KSZ9477_SPI
2074a7194fSTristram Ha	tristate "KSZ9477 series SPI connected switch driver"
2174a7194fSTristram Ha	depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
2246558d60SMarek Vasut	select REGMAP_SPI
23b987e98eSWoojung Huh	help
24b987e98eSWoojung Huh	  Select to enable support for registering switches configured through SPI.
25e66f840cSTristram Ha
26e66f840cSTristram Hamenuconfig NET_DSA_MICROCHIP_KSZ8795
27e66f840cSTristram Ha	tristate "Microchip KSZ8795 series switch support"
28e66f840cSTristram Ha	depends on NET_DSA
29e66f840cSTristram Ha	select NET_DSA_MICROCHIP_KSZ_COMMON
30e66f840cSTristram Ha	help
31e66f840cSTristram Ha	  This driver adds support for Microchip KSZ8795 switch chips.
32e66f840cSTristram Ha
33e66f840cSTristram Haconfig NET_DSA_MICROCHIP_KSZ8795_SPI
34e66f840cSTristram Ha	tristate "KSZ8795 series SPI connected switch driver"
35e66f840cSTristram Ha	depends on NET_DSA_MICROCHIP_KSZ8795 && SPI
36e66f840cSTristram Ha	select REGMAP_SPI
37e66f840cSTristram Ha	help
38e66f840cSTristram Ha	  This driver accesses KSZ8795 chip through SPI.
39e66f840cSTristram Ha
40e66f840cSTristram Ha	  It is required to use the KSZ8795 switch driver as the only access
41e66f840cSTristram Ha	  is through SPI.
42