Loading...
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_MICROCHIP_KSZ_COMMON
9 help
10 This driver adds support for Microchip KSZ9477 switch chips.
11
12config NET_DSA_MICROCHIP_KSZ9477_I2C
13 tristate "KSZ9477 series I2C connected switch driver"
14 depends on NET_DSA_MICROCHIP_KSZ9477 && I2C
15 select REGMAP_I2C
16 help
17 Select to enable support for registering switches configured through I2C.
18
19config NET_DSA_MICROCHIP_KSZ9477_SPI
20 tristate "KSZ9477 series SPI connected switch driver"
21 depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
22 select REGMAP_SPI
23 help
24 Select to enable support for registering switches configured through SPI.
25
26menuconfig NET_DSA_MICROCHIP_KSZ8795
27 tristate "Microchip KSZ8795 series switch support"
28 depends on NET_DSA
29 select NET_DSA_MICROCHIP_KSZ_COMMON
30 help
31 This driver adds support for Microchip KSZ8795 switch chips.
32
33config NET_DSA_MICROCHIP_KSZ8795_SPI
34 tristate "KSZ8795 series SPI connected switch driver"
35 depends on NET_DSA_MICROCHIP_KSZ8795 && SPI
36 select REGMAP_SPI
37 help
38 This driver accesses KSZ8795 chip through SPI.
39
40 It is required to use the KSZ8795 switch driver as the only access
41 is through SPI.
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_DSA_MICROCHIP_KSZ_COMMON
3 select NET_DSA_TAG_KSZ
4 tristate
5
6menuconfig NET_DSA_MICROCHIP_KSZ9477
7 tristate "Microchip KSZ9477 series switch support"
8 depends on NET_DSA
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_I2C
14 tristate "KSZ9477 series I2C connected switch driver"
15 depends on NET_DSA_MICROCHIP_KSZ9477 && I2C
16 select REGMAP_I2C
17 help
18 Select to enable support for registering switches configured through I2C.
19
20config NET_DSA_MICROCHIP_KSZ9477_SPI
21 tristate "KSZ9477 series SPI connected switch driver"
22 depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
23 select REGMAP_SPI
24 help
25 Select to enable support for registering switches configured through SPI.
26
27menuconfig NET_DSA_MICROCHIP_KSZ8795
28 tristate "Microchip KSZ8795 series switch support"
29 depends on NET_DSA
30 select NET_DSA_MICROCHIP_KSZ_COMMON
31 help
32 This driver adds support for Microchip KSZ8795 switch chips.
33
34config NET_DSA_MICROCHIP_KSZ8795_SPI
35 tristate "KSZ8795 series SPI connected switch driver"
36 depends on NET_DSA_MICROCHIP_KSZ8795 && SPI
37 select REGMAP_SPI
38 help
39 This driver accesses KSZ8795 chip through SPI.
40
41 It is required to use the KSZ8795 switch driver as the only access
42 is through SPI.