2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2018-11-21 07:55:09 +08:00
|
|
|
config NET_DSA_MICROCHIP_KSZ_COMMON
|
2020-03-31 17:36:51 +08:00
|
|
|
select NET_DSA_TAG_KSZ
|
2018-11-21 07:55:09 +08:00
|
|
|
tristate
|
|
|
|
|
2018-11-21 07:55:08 +08:00
|
|
|
menuconfig NET_DSA_MICROCHIP_KSZ9477
|
|
|
|
tristate "Microchip KSZ9477 series switch support"
|
2017-06-01 04:19:19 +08:00
|
|
|
depends on NET_DSA
|
2018-11-21 07:55:09 +08:00
|
|
|
select NET_DSA_MICROCHIP_KSZ_COMMON
|
2017-06-01 04:19:19 +08:00
|
|
|
help
|
2018-11-21 07:55:08 +08:00
|
|
|
This driver adds support for Microchip KSZ9477 switch chips.
|
2017-06-01 04:19:19 +08:00
|
|
|
|
2019-09-10 21:18:34 +08:00
|
|
|
config NET_DSA_MICROCHIP_KSZ9477_I2C
|
|
|
|
tristate "KSZ9477 series I2C connected switch driver"
|
|
|
|
depends on NET_DSA_MICROCHIP_KSZ9477 && I2C
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
Select to enable support for registering switches configured through I2C.
|
|
|
|
|
2018-11-21 07:55:08 +08:00
|
|
|
config NET_DSA_MICROCHIP_KSZ9477_SPI
|
|
|
|
tristate "KSZ9477 series SPI connected switch driver"
|
|
|
|
depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
|
2019-06-26 07:43:45 +08:00
|
|
|
select REGMAP_SPI
|
2017-06-01 04:19:19 +08:00
|
|
|
help
|
|
|
|
Select to enable support for registering switches configured through SPI.
|
2019-07-30 01:49:47 +08:00
|
|
|
|
|
|
|
menuconfig NET_DSA_MICROCHIP_KSZ8795
|
|
|
|
tristate "Microchip KSZ8795 series switch support"
|
|
|
|
depends on NET_DSA
|
|
|
|
select NET_DSA_MICROCHIP_KSZ_COMMON
|
|
|
|
help
|
|
|
|
This driver adds support for Microchip KSZ8795 switch chips.
|
|
|
|
|
|
|
|
config NET_DSA_MICROCHIP_KSZ8795_SPI
|
|
|
|
tristate "KSZ8795 series SPI connected switch driver"
|
|
|
|
depends on NET_DSA_MICROCHIP_KSZ8795 && SPI
|
|
|
|
select REGMAP_SPI
|
|
|
|
help
|
|
|
|
This driver accesses KSZ8795 chip through SPI.
|
|
|
|
|
|
|
|
It is required to use the KSZ8795 switch driver as the only access
|
|
|
|
is through SPI.
|