xref: /openbmc/linux/drivers/net/dsa/microchip/Kconfig (revision e66f840c)
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
839d6b96fSTristram Ha	select NET_DSA_TAG_KSZ9477
9c2e86691STristram Ha	select NET_DSA_MICROCHIP_KSZ_COMMON
10b987e98eSWoojung Huh	help
1174a7194fSTristram Ha	  This driver adds support for Microchip KSZ9477 switch chips.
12b987e98eSWoojung Huh
1374a7194fSTristram Haconfig NET_DSA_MICROCHIP_KSZ9477_SPI
1474a7194fSTristram Ha	tristate "KSZ9477 series SPI connected switch driver"
1574a7194fSTristram Ha	depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
1646558d60SMarek Vasut	select REGMAP_SPI
17b987e98eSWoojung Huh	help
18b987e98eSWoojung Huh	  Select to enable support for registering switches configured through SPI.
19e66f840cSTristram Ha
20e66f840cSTristram Hamenuconfig NET_DSA_MICROCHIP_KSZ8795
21e66f840cSTristram Ha	tristate "Microchip KSZ8795 series switch support"
22e66f840cSTristram Ha	depends on NET_DSA
23e66f840cSTristram Ha	select NET_DSA_MICROCHIP_KSZ_COMMON
24e66f840cSTristram Ha	help
25e66f840cSTristram Ha	  This driver adds support for Microchip KSZ8795 switch chips.
26e66f840cSTristram Ha
27e66f840cSTristram Haconfig NET_DSA_MICROCHIP_KSZ8795_SPI
28e66f840cSTristram Ha	tristate "KSZ8795 series SPI connected switch driver"
29e66f840cSTristram Ha	depends on NET_DSA_MICROCHIP_KSZ8795 && SPI
30e66f840cSTristram Ha	select REGMAP_SPI
31e66f840cSTristram Ha	help
32e66f840cSTristram Ha	  This driver accesses KSZ8795 chip through SPI.
33e66f840cSTristram Ha
34e66f840cSTristram Ha	  It is required to use the KSZ8795 switch driver as the only access
35e66f840cSTristram Ha	  is through SPI.
36