xref: /linux/drivers/net/dsa/realtek/Kconfig (revision d40f607c181f5f6282fe6c10eb2c0544f551cf7d)
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
12aac94001SLuiz Angelo Daros de Lucaconfig NET_DSA_REALTEK_MDIO
13aac94001SLuiz Angelo Daros de Luca	tristate "Realtek MDIO connected switch driver"
14aac94001SLuiz Angelo Daros de Luca	depends on NET_DSA_REALTEK
15aac94001SLuiz Angelo Daros de Luca	default y
16aac94001SLuiz Angelo Daros de Luca	help
17aac94001SLuiz Angelo Daros de Luca	  Select to enable support for registering switches configured
18aac94001SLuiz Angelo Daros de Luca	  through MDIO.
19aac94001SLuiz 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
32aac94001SLuiz 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
35*d40f607cSLuiz Angelo Daros de Luca	  Select to enable support for Realtek RTL8365MB-VC and RTL8367S.
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
41aac94001SLuiz 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