2022-04-02 13:17:33 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2022-09-13 18:14:27 +00:00
|
|
|
menuconfig NET_DSA_MICROCHIP_KSZ_COMMON
|
|
|
|
tristate "Microchip KSZ8795/KSZ9477/LAN937x series switch support"
|
2022-04-02 13:17:33 +00:00
|
|
|
depends on NET_DSA
|
2022-09-13 18:14:27 +00:00
|
|
|
select NET_DSA_TAG_KSZ
|
2022-04-02 13:17:33 +00:00
|
|
|
help
|
2022-09-13 18:14:27 +00:00
|
|
|
This driver adds support for Microchip KSZ9477 series switch and
|
|
|
|
KSZ8795/KSZ88x3 switch chips.
|
2022-04-02 13:17:33 +00:00
|
|
|
|
|
|
|
config NET_DSA_MICROCHIP_KSZ9477_I2C
|
2022-09-13 18:14:27 +00:00
|
|
|
tristate "KSZ series I2C connected switch driver"
|
|
|
|
depends on NET_DSA_MICROCHIP_KSZ_COMMON && I2C
|
2022-04-02 13:17:33 +00:00
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Select to enable support for registering switches configured through I2C.
|
|
|
|
|
2022-09-13 18:14:27 +00:00
|
|
|
config NET_DSA_MICROCHIP_KSZ_SPI
|
|
|
|
tristate "KSZ series SPI connected switch driver"
|
|
|
|
depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
|
2022-04-02 13:17:33 +00:00
|
|
|
select REGMAP_SPI
|
|
|
|
help
|
|
|
|
Select to enable support for registering switches configured through SPI.
|
|
|
|
|
|
|
|
config NET_DSA_MICROCHIP_KSZ8863_SMI
|
|
|
|
tristate "KSZ series SMI connected switch driver"
|
2022-09-13 18:14:27 +00:00
|
|
|
depends on NET_DSA_MICROCHIP_KSZ_COMMON
|
2022-04-02 13:17:33 +00:00
|
|
|
select MDIO_BITBANG
|
|
|
|
help
|
|
|
|
Select to enable support for registering switches configured through
|
|
|
|
Microchip SMI. It supports the KSZ8863 and KSZ8873 switch.
|