xref: /openbmc/linux/drivers/net/dsa/microchip/Kconfig (revision 4658f2fe)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
207bca160SArun Ramadossmenuconfig NET_DSA_MICROCHIP_KSZ_COMMON
307bca160SArun Ramadoss	tristate "Microchip KSZ8795/KSZ9477 series switch support"
4b987e98eSWoojung Huh	depends on NET_DSA
507bca160SArun Ramadoss	select NET_DSA_TAG_KSZ
6b987e98eSWoojung Huh	help
707bca160SArun Ramadoss	  This driver adds support for Microchip KSZ9477 series switch and
807bca160SArun Ramadoss	  KSZ8795/KSZ88x3 switch chips.
9b987e98eSWoojung Huh
1020e03777STristram Haconfig NET_DSA_MICROCHIP_KSZ9477_I2C
11*4658f2feSArun Ramadoss	tristate "KSZ series I2C connected switch driver"
1207bca160SArun 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
17*4658f2feSArun Ramadossconfig NET_DSA_MICROCHIP_KSZ_SPI
18*4658f2feSArun Ramadoss	tristate "KSZ series SPI connected switch driver"
1907bca160SArun 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
2460a36476SMichael Grzeschikconfig NET_DSA_MICROCHIP_KSZ8863_SMI
2560a36476SMichael Grzeschik	tristate "KSZ series SMI connected switch driver"
2607bca160SArun Ramadoss	depends on NET_DSA_MICROCHIP_KSZ_COMMON
2760a36476SMichael Grzeschik	select MDIO_BITBANG
2860a36476SMichael Grzeschik	help
2960a36476SMichael Grzeschik	  Select to enable support for registering switches configured through
3060a36476SMichael Grzeschik	  Microchip SMI. It supports the KSZ8863 and KSZ8873 switch.
31