xref: /openbmc/linux/drivers/net/dsa/microchip/Kconfig (revision 07bca160)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2*07bca160SArun Ramadossmenuconfig NET_DSA_MICROCHIP_KSZ_COMMON
3*07bca160SArun Ramadoss	tristate "Microchip KSZ8795/KSZ9477 series switch support"
4b987e98eSWoojung Huh	depends on NET_DSA
5*07bca160SArun Ramadoss	select NET_DSA_TAG_KSZ
6b987e98eSWoojung Huh	help
7*07bca160SArun Ramadoss	  This driver adds support for Microchip KSZ9477 series switch and
8*07bca160SArun Ramadoss	  KSZ8795/KSZ88x3 switch chips.
9b987e98eSWoojung Huh
1020e03777STristram Haconfig NET_DSA_MICROCHIP_KSZ9477_I2C
1120e03777STristram Ha	tristate "KSZ9477 series I2C connected switch driver"
12*07bca160SArun Ramadoss	depends on NET_DSA_MICROCHIP_KSZ_COMMON && I2C
1320e03777STristram Ha	select REGMAP_I2C
1420e03777STristram Ha	help
1520e03777STristram Ha	  Select to enable support for registering switches configured through I2C.
1620e03777STristram Ha
1774a7194fSTristram Haconfig NET_DSA_MICROCHIP_KSZ9477_SPI
1874a7194fSTristram Ha	tristate "KSZ9477 series SPI connected switch driver"
19*07bca160SArun Ramadoss	depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
2046558d60SMarek Vasut	select REGMAP_SPI
21b987e98eSWoojung Huh	help
22b987e98eSWoojung Huh	  Select to enable support for registering switches configured through SPI.
23e66f840cSTristram Ha
24e66f840cSTristram Haconfig NET_DSA_MICROCHIP_KSZ8795_SPI
25e66f840cSTristram Ha	tristate "KSZ8795 series SPI connected switch driver"
26*07bca160SArun Ramadoss	depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
27e66f840cSTristram Ha	select REGMAP_SPI
28e66f840cSTristram Ha	help
29e66f840cSTristram Ha	  This driver accesses KSZ8795 chip through SPI.
30e66f840cSTristram Ha
31e66f840cSTristram Ha	  It is required to use the KSZ8795 switch driver as the only access
32e66f840cSTristram Ha	  is through SPI.
3360a36476SMichael Grzeschik
3460a36476SMichael Grzeschikconfig NET_DSA_MICROCHIP_KSZ8863_SMI
3560a36476SMichael Grzeschik	tristate "KSZ series SMI connected switch driver"
36*07bca160SArun Ramadoss	depends on NET_DSA_MICROCHIP_KSZ_COMMON
3760a36476SMichael Grzeschik	select MDIO_BITBANG
3860a36476SMichael Grzeschik	help
3960a36476SMichael Grzeschik	  Select to enable support for registering switches configured through
4060a36476SMichael Grzeschik	  Microchip SMI. It supports the KSZ8863 and KSZ8873 switch.
41