xref: /openbmc/linux/drivers/net/dsa/qca/Kconfig (revision 37a826d8)
1ec6698c2SOleksij Rempel# SPDX-License-Identifier: GPL-2.0-only
2ec6698c2SOleksij Rempelconfig NET_DSA_AR9331
3ec6698c2SOleksij Rempel	tristate "Qualcomm Atheros AR9331 Ethernet switch support"
4ec6698c2SOleksij Rempel	depends on NET_DSA
5ec6698c2SOleksij Rempel	select NET_DSA_TAG_AR9331
6ec6698c2SOleksij Rempel	select REGMAP
7a7f7f624SMasahiro Yamada	help
8ec6698c2SOleksij Rempel	  This enables support for the Qualcomm Atheros AR9331 built-in Ethernet
9ec6698c2SOleksij Rempel	  switch.
104bbaf764SChristian Marangi
114bbaf764SChristian Marangiconfig NET_DSA_QCA8K
124bbaf764SChristian Marangi	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
134bbaf764SChristian Marangi	select NET_DSA_TAG_QCA
144bbaf764SChristian Marangi	select REGMAP
154bbaf764SChristian Marangi	help
164bbaf764SChristian Marangi	  This enables support for the Qualcomm Atheros QCA8K Ethernet
174bbaf764SChristian Marangi	  switch chips.
181e264f9dSChristian Marangi
191e264f9dSChristian Marangiconfig NET_DSA_QCA8K_LEDS_SUPPORT
201e264f9dSChristian Marangi	bool "Qualcomm Atheros QCA8K Ethernet switch family LEDs support"
211e264f9dSChristian Marangi	depends on NET_DSA_QCA8K
2233c1af8eSArnd Bergmann	depends on LEDS_CLASS=y || LEDS_CLASS=NET_DSA_QCA8K
23*37a826d8SArnd Bergmann	depends on LEDS_TRIGGERS
241e264f9dSChristian Marangi	help
251e264f9dSChristian Marangi	  This enabled support for LEDs present on the Qualcomm Atheros
261e264f9dSChristian Marangi	  QCA8K Ethernet switch chips.
27