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