xref: /linux/drivers/net/dsa/realtek/Kconfig (revision aac94001067da183455d6d37959892744fa01d9d)
1319a70a5SLuiz Angelo Daros de Luca# SPDX-License-Identifier: GPL-2.0-only
2319a70a5SLuiz Angelo Daros de Lucamenuconfig NET_DSA_REALTEK
3319a70a5SLuiz Angelo Daros de Luca	tristate "Realtek Ethernet switch family support"
4319a70a5SLuiz Angelo Daros de Luca	depends on NET_DSA
5319a70a5SLuiz Angelo Daros de Luca	select FIXED_PHY
6319a70a5SLuiz Angelo Daros de Luca	select IRQ_DOMAIN
7319a70a5SLuiz Angelo Daros de Luca	select REALTEK_PHY
8319a70a5SLuiz Angelo Daros de Luca	select REGMAP
9319a70a5SLuiz Angelo Daros de Luca	help
10319a70a5SLuiz Angelo Daros de Luca	  Select to enable support for Realtek Ethernet switch chips.
11319a70a5SLuiz Angelo Daros de Luca
12*aac94001SLuiz Angelo Daros de Lucaconfig NET_DSA_REALTEK_MDIO
13*aac94001SLuiz Angelo Daros de Luca	tristate "Realtek MDIO connected switch driver"
14*aac94001SLuiz Angelo Daros de Luca	depends on NET_DSA_REALTEK
15*aac94001SLuiz Angelo Daros de Luca	default y
16*aac94001SLuiz Angelo Daros de Luca	help
17*aac94001SLuiz Angelo Daros de Luca	  Select to enable support for registering switches configured
18*aac94001SLuiz Angelo Daros de Luca	  through MDIO.
19*aac94001SLuiz Angelo Daros de Luca
20319a70a5SLuiz Angelo Daros de Lucaconfig NET_DSA_REALTEK_SMI
21319a70a5SLuiz Angelo Daros de Luca	tristate "Realtek SMI connected switch driver"
22319a70a5SLuiz Angelo Daros de Luca	depends on NET_DSA_REALTEK
23319a70a5SLuiz Angelo Daros de Luca	default y
24319a70a5SLuiz Angelo Daros de Luca	help
25319a70a5SLuiz Angelo Daros de Luca	  Select to enable support for registering switches connected
26319a70a5SLuiz Angelo Daros de Luca	  through SMI.
27765c39a4SLuiz Angelo Daros de Luca
28765c39a4SLuiz Angelo Daros de Lucaconfig NET_DSA_REALTEK_RTL8365MB
29765c39a4SLuiz Angelo Daros de Luca	tristate "Realtek RTL8365MB switch subdriver"
30765c39a4SLuiz Angelo Daros de Luca	default y
31765c39a4SLuiz Angelo Daros de Luca	depends on NET_DSA_REALTEK
32*aac94001SLuiz Angelo Daros de Luca	depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO
33765c39a4SLuiz Angelo Daros de Luca	select NET_DSA_TAG_RTL8_4
34765c39a4SLuiz Angelo Daros de Luca	help
35765c39a4SLuiz Angelo Daros de Luca	  Select to enable support for Realtek RTL8365MB
36765c39a4SLuiz Angelo Daros de Luca
37765c39a4SLuiz Angelo Daros de Lucaconfig NET_DSA_REALTEK_RTL8366RB
38765c39a4SLuiz Angelo Daros de Luca	tristate "Realtek RTL8366RB switch subdriver"
39765c39a4SLuiz Angelo Daros de Luca	default y
40765c39a4SLuiz Angelo Daros de Luca	depends on NET_DSA_REALTEK
41*aac94001SLuiz Angelo Daros de Luca	depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO
42765c39a4SLuiz Angelo Daros de Luca	select NET_DSA_TAG_RTL4_A
43765c39a4SLuiz Angelo Daros de Luca	help
44765c39a4SLuiz Angelo Daros de Luca	  Select to enable support for Realtek RTL8366RB
45