Kconfig (ed32f8d42cee118b075e4372a55c7739a11094b2) Kconfig (e66f840c08a237acfbb981592047b53e7411012f)
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_DSA_MICROCHIP_KSZ_COMMON
3 tristate
4
5menuconfig NET_DSA_MICROCHIP_KSZ9477
6 tristate "Microchip KSZ9477 series switch support"
7 depends on NET_DSA
8 select NET_DSA_TAG_KSZ9477
9 select NET_DSA_MICROCHIP_KSZ_COMMON
10 help
11 This driver adds support for Microchip KSZ9477 switch chips.
12
13config NET_DSA_MICROCHIP_KSZ9477_SPI
14 tristate "KSZ9477 series SPI connected switch driver"
15 depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
16 select REGMAP_SPI
17 help
18 Select to enable support for registering switches configured through SPI.
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_DSA_MICROCHIP_KSZ_COMMON
3 tristate
4
5menuconfig NET_DSA_MICROCHIP_KSZ9477
6 tristate "Microchip KSZ9477 series switch support"
7 depends on NET_DSA
8 select NET_DSA_TAG_KSZ9477
9 select NET_DSA_MICROCHIP_KSZ_COMMON
10 help
11 This driver adds support for Microchip KSZ9477 switch chips.
12
13config NET_DSA_MICROCHIP_KSZ9477_SPI
14 tristate "KSZ9477 series SPI connected switch driver"
15 depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
16 select REGMAP_SPI
17 help
18 Select to enable support for registering switches configured through SPI.
19
20menuconfig NET_DSA_MICROCHIP_KSZ8795
21 tristate "Microchip KSZ8795 series switch support"
22 depends on NET_DSA
23 select NET_DSA_MICROCHIP_KSZ_COMMON
24 help
25 This driver adds support for Microchip KSZ8795 switch chips.
26
27config NET_DSA_MICROCHIP_KSZ8795_SPI
28 tristate "KSZ8795 series SPI connected switch driver"
29 depends on NET_DSA_MICROCHIP_KSZ8795 && SPI
30 select REGMAP_SPI
31 help
32 This driver accesses KSZ8795 chip through SPI.
33
34 It is required to use the KSZ8795 switch driver as the only access
35 is through SPI.