1# SPDX-License-Identifier: GPL-2.0-only 2menuconfig NET_DSA_MICROCHIP_KSZ_COMMON 3 tristate "Microchip KSZ8795/KSZ9477/LAN937x series switch support" 4 depends on NET_DSA 5 select NET_DSA_TAG_KSZ 6 select NET_DSA_TAG_NONE 7 select NET_IEEE8021Q_HELPERS 8 select DCB 9 help 10 This driver adds support for Microchip KSZ9477 series switch and 11 KSZ8795/KSZ88x3 switch chips. 12 13config NET_DSA_MICROCHIP_KSZ9477_I2C 14 tristate "KSZ series I2C connected switch driver" 15 depends on NET_DSA_MICROCHIP_KSZ_COMMON && I2C 16 select REGMAP_I2C 17 help 18 Select to enable support for registering switches configured through I2C. 19 20config NET_DSA_MICROCHIP_KSZ_SPI 21 tristate "KSZ series SPI connected switch driver" 22 depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI 23 select REGMAP_SPI 24 help 25 Select to enable support for registering switches configured through SPI. 26 27config NET_DSA_MICROCHIP_KSZ_PTP 28 bool "Support for the PTP clock on the KSZ9563/LAN937x Ethernet Switch" 29 depends on NET_DSA_MICROCHIP_KSZ_COMMON && PTP_1588_CLOCK 30 depends on NET_DSA_MICROCHIP_KSZ_COMMON=m || PTP_1588_CLOCK=y 31 help 32 Select to enable support for timestamping & PTP clock manipulation in 33 KSZ8563/KSZ9563/LAN937x series of switches. KSZ9563/KSZ8563 supports 34 only one step timestamping. LAN937x switch supports both one step and 35 two step timestamping. 36 37config NET_DSA_MICROCHIP_KSZ8863_SMI 38 tristate "KSZ series SMI connected switch driver" 39 depends on NET_DSA_MICROCHIP_KSZ_COMMON 40 select MDIO_BITBANG 41 help 42 Select to enable support for registering switches configured through 43 Microchip SMI. It supports the KSZ8863 and KSZ8873 switch. 44