xref: /openbmc/linux/drivers/net/dsa/realtek/Kconfig (revision e802ca75)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig NET_DSA_REALTEK
3	tristate "Realtek Ethernet switch family support"
4	depends on NET_DSA
5	select FIXED_PHY
6	select IRQ_DOMAIN
7	select REALTEK_PHY
8	select REGMAP
9	help
10	  Select to enable support for Realtek Ethernet switch chips.
11
12config NET_DSA_REALTEK_MDIO
13	tristate "Realtek MDIO connected switch driver"
14	depends on NET_DSA_REALTEK
15	depends on OF
16	help
17	  Select to enable support for registering switches configured
18	  through MDIO.
19
20config NET_DSA_REALTEK_SMI
21	tristate "Realtek SMI connected switch driver"
22	depends on NET_DSA_REALTEK
23	depends on OF
24	help
25	  Select to enable support for registering switches connected
26	  through SMI.
27
28config NET_DSA_REALTEK_RTL8365MB
29	tristate "Realtek RTL8365MB switch subdriver"
30	depends on NET_DSA_REALTEK
31	depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO
32	select NET_DSA_TAG_RTL8_4
33	help
34	  Select to enable support for Realtek RTL8365MB-VC and RTL8367S.
35
36config NET_DSA_REALTEK_RTL8366RB
37	tristate "Realtek RTL8366RB switch subdriver"
38	depends on NET_DSA_REALTEK
39	depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO
40	select NET_DSA_TAG_RTL4_A
41	help
42	  Select to enable support for Realtek RTL8366RB
43