18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig NET_DSA_MICROCHIP_KSZ_COMMON
38c2ecf20Sopenharmony_ci	select NET_DSA_TAG_KSZ
48c2ecf20Sopenharmony_ci	tristate
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cimenuconfig NET_DSA_MICROCHIP_KSZ9477
78c2ecf20Sopenharmony_ci	tristate "Microchip KSZ9477 series switch support"
88c2ecf20Sopenharmony_ci	depends on NET_DSA
98c2ecf20Sopenharmony_ci	select NET_DSA_MICROCHIP_KSZ_COMMON
108c2ecf20Sopenharmony_ci	help
118c2ecf20Sopenharmony_ci	  This driver adds support for Microchip KSZ9477 switch chips.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciconfig NET_DSA_MICROCHIP_KSZ9477_I2C
148c2ecf20Sopenharmony_ci	tristate "KSZ9477 series I2C connected switch driver"
158c2ecf20Sopenharmony_ci	depends on NET_DSA_MICROCHIP_KSZ9477 && I2C
168c2ecf20Sopenharmony_ci	select REGMAP_I2C
178c2ecf20Sopenharmony_ci	help
188c2ecf20Sopenharmony_ci	  Select to enable support for registering switches configured through I2C.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig NET_DSA_MICROCHIP_KSZ9477_SPI
218c2ecf20Sopenharmony_ci	tristate "KSZ9477 series SPI connected switch driver"
228c2ecf20Sopenharmony_ci	depends on NET_DSA_MICROCHIP_KSZ9477 && SPI
238c2ecf20Sopenharmony_ci	select REGMAP_SPI
248c2ecf20Sopenharmony_ci	help
258c2ecf20Sopenharmony_ci	  Select to enable support for registering switches configured through SPI.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_cimenuconfig NET_DSA_MICROCHIP_KSZ8795
288c2ecf20Sopenharmony_ci	tristate "Microchip KSZ8795 series switch support"
298c2ecf20Sopenharmony_ci	depends on NET_DSA
308c2ecf20Sopenharmony_ci	select NET_DSA_MICROCHIP_KSZ_COMMON
318c2ecf20Sopenharmony_ci	help
328c2ecf20Sopenharmony_ci	  This driver adds support for Microchip KSZ8795 switch chips.
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciconfig NET_DSA_MICROCHIP_KSZ8795_SPI
358c2ecf20Sopenharmony_ci	tristate "KSZ8795 series SPI connected switch driver"
368c2ecf20Sopenharmony_ci	depends on NET_DSA_MICROCHIP_KSZ8795 && SPI
378c2ecf20Sopenharmony_ci	select REGMAP_SPI
388c2ecf20Sopenharmony_ci	help
398c2ecf20Sopenharmony_ci	  This driver accesses KSZ8795 chip through SPI.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci	  It is required to use the KSZ8795 switch driver as the only access
428c2ecf20Sopenharmony_ci	  is through SPI.
43