Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / drivers / net / dsa / realtek / Kconfig
blob6989972eebc3062e4caca902db4d3d44624b3fd4
1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig 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.
12           Note that at least one interface driver must be enabled for the
13           subdrivers to be loaded. Moreover, an interface driver cannot achieve
14           anything without at least one subdriver enabled.
16 if NET_DSA_REALTEK
18 config NET_DSA_REALTEK_MDIO
19         bool "Realtek MDIO interface support"
20         depends on OF
21         help
22           Select to enable support for registering switches configured
23           through MDIO.
25 config NET_DSA_REALTEK_SMI
26         bool "Realtek SMI interface support"
27         depends on OF
28         help
29           Select to enable support for registering switches connected
30           through SMI.
32 config NET_DSA_REALTEK_RTL8365MB
33         tristate "Realtek RTL8365MB switch driver"
34         depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO
35         select NET_DSA_TAG_RTL8_4
36         help
37           Select to enable support for Realtek RTL8365MB-VC and RTL8367S.
39 config NET_DSA_REALTEK_RTL8366RB
40         tristate "Realtek RTL8366RB switch driver"
41         depends on NET_DSA_REALTEK_SMI || NET_DSA_REALTEK_MDIO
42         select NET_DSA_TAG_RTL4_A
43         help
44           Select to enable support for Realtek RTL8366RB.
46 endif