Kconfig (07bca160469b4d19ca0a35bc83b26ed18fcbd96d) Kconfig (4658f2fe8fbcb12c1db0577ad9c46b67f10d09f1)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig NET_DSA_MICROCHIP_KSZ_COMMON
3 tristate "Microchip KSZ8795/KSZ9477 series switch support"
4 depends on NET_DSA
5 select NET_DSA_TAG_KSZ
6 help
7 This driver adds support for Microchip KSZ9477 series switch and
8 KSZ8795/KSZ88x3 switch chips.
9
10config NET_DSA_MICROCHIP_KSZ9477_I2C
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig NET_DSA_MICROCHIP_KSZ_COMMON
3 tristate "Microchip KSZ8795/KSZ9477 series switch support"
4 depends on NET_DSA
5 select NET_DSA_TAG_KSZ
6 help
7 This driver adds support for Microchip KSZ9477 series switch and
8 KSZ8795/KSZ88x3 switch chips.
9
10config NET_DSA_MICROCHIP_KSZ9477_I2C
11 tristate "KSZ9477 series I2C connected switch driver"
11 tristate "KSZ series I2C connected switch driver"
12 depends on NET_DSA_MICROCHIP_KSZ_COMMON && I2C
13 select REGMAP_I2C
14 help
15 Select to enable support for registering switches configured through I2C.
16
12 depends on NET_DSA_MICROCHIP_KSZ_COMMON && I2C
13 select REGMAP_I2C
14 help
15 Select to enable support for registering switches configured through I2C.
16
17config NET_DSA_MICROCHIP_KSZ9477_SPI
18 tristate "KSZ9477 series SPI connected switch driver"
17config NET_DSA_MICROCHIP_KSZ_SPI
18 tristate "KSZ series SPI connected switch driver"
19 depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
20 select REGMAP_SPI
21 help
22 Select to enable support for registering switches configured through SPI.
23
19 depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
20 select REGMAP_SPI
21 help
22 Select to enable support for registering switches configured through SPI.
23
24config NET_DSA_MICROCHIP_KSZ8795_SPI
25 tristate "KSZ8795 series SPI connected switch driver"
26 depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
27 select REGMAP_SPI
28 help
29 This driver accesses KSZ8795 chip through SPI.
30
31 It is required to use the KSZ8795 switch driver as the only access
32 is through SPI.
33
34config NET_DSA_MICROCHIP_KSZ8863_SMI
35 tristate "KSZ series SMI connected switch driver"
36 depends on NET_DSA_MICROCHIP_KSZ_COMMON
37 select MDIO_BITBANG
38 help
39 Select to enable support for registering switches configured through
40 Microchip SMI. It supports the KSZ8863 and KSZ8873 switch.
24config NET_DSA_MICROCHIP_KSZ8863_SMI
25 tristate "KSZ series SMI connected switch driver"
26 depends on NET_DSA_MICROCHIP_KSZ_COMMON
27 select MDIO_BITBANG
28 help
29 Select to enable support for registering switches configured through
30 Microchip SMI. It supports the KSZ8863 and KSZ8873 switch.