xref: /openbmc/linux/drivers/net/dsa/microchip/Kconfig (revision d2be3204)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
207bca160SArun Ramadossmenuconfig NET_DSA_MICROCHIP_KSZ_COMMON
355ab6ffaSArun Ramadoss	tristate "Microchip KSZ8795/KSZ9477/LAN937x series switch support"
4b987e98eSWoojung Huh	depends on NET_DSA
507bca160SArun Ramadoss	select NET_DSA_TAG_KSZ
6*d2be3204SVladimir Oltean	select NET_DSA_TAG_NONE
7b987e98eSWoojung Huh	help
807bca160SArun Ramadoss	  This driver adds support for Microchip KSZ9477 series switch and
907bca160SArun Ramadoss	  KSZ8795/KSZ88x3 switch chips.
10b987e98eSWoojung Huh
1120e03777STristram Haconfig NET_DSA_MICROCHIP_KSZ9477_I2C
124658f2feSArun Ramadoss	tristate "KSZ series I2C connected switch driver"
1307bca160SArun Ramadoss	depends on NET_DSA_MICROCHIP_KSZ_COMMON && I2C
1420e03777STristram Ha	select REGMAP_I2C
1520e03777STristram Ha	help
1620e03777STristram Ha	  Select to enable support for registering switches configured through I2C.
1720e03777STristram Ha
184658f2feSArun Ramadossconfig NET_DSA_MICROCHIP_KSZ_SPI
194658f2feSArun Ramadoss	tristate "KSZ series SPI connected switch driver"
2007bca160SArun Ramadoss	depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
2146558d60SMarek Vasut	select REGMAP_SPI
22b987e98eSWoojung Huh	help
23b987e98eSWoojung Huh	  Select to enable support for registering switches configured through SPI.
24e66f840cSTristram Ha
2560a36476SMichael Grzeschikconfig NET_DSA_MICROCHIP_KSZ8863_SMI
2660a36476SMichael Grzeschik	tristate "KSZ series SMI connected switch driver"
2707bca160SArun Ramadoss	depends on NET_DSA_MICROCHIP_KSZ_COMMON
2860a36476SMichael Grzeschik	select MDIO_BITBANG
2960a36476SMichael Grzeschik	help
3060a36476SMichael Grzeschik	  Select to enable support for registering switches configured through
3160a36476SMichael Grzeschik	  Microchip SMI. It supports the KSZ8863 and KSZ8873 switch.
32