]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/net/phy/Kconfig
Merge remote-tracking branches 'asoc/topic/msm8916', 'asoc/topic/mtk', 'asoc/topic...
[mirror_ubuntu-jammy-kernel.git] / drivers / net / phy / Kconfig
CommitLineData
00db8189
AF
1#
2# PHY Layer Configuration
3#
4
90eff909
FF
5menuconfig MDIO_DEVICE
6 tristate "MDIO bus device drivers"
00db8189 7 help
90eff909 8 MDIO devices and driver infrastructure code.
2e0bc452 9
90eff909 10if MDIO_DEVICE
00db8189 11
d75b4a22
AL
12config MDIO_BCM_IPROC
13 tristate "Broadcom iProc MDIO bus controller"
14 depends on ARCH_BCM_IPROC || COMPILE_TEST
15 depends on HAS_IOMEM && OF_MDIO
16 help
17 This module provides a driver for the MDIO busses found in the
18 Broadcom iProc SoC's.
0ca7111a 19
d75b4a22
AL
20config MDIO_BCM_UNIMAC
21 tristate "Broadcom UniMAC MDIO bus controller"
17487eeb 22 depends on HAS_IOMEM && OF_MDIO
d75b4a22
AL
23 help
24 This module provides a driver for the Broadcom UniMAC MDIO busses.
25 This hardware can be found in the Broadcom GENET Ethernet MAC
26 controllers as well as some Broadcom Ethernet switches such as the
27 Starfighter 2 switches.
49099122 28
d75b4a22 29config MDIO_BITBANG
97c84389 30 tristate "Bitbanged MDIO buses"
90eff909 31 depends on !(MDIO_DEVICE=y && PHYLIB=m)
d75b4a22
AL
32 help
33 This module implements the MDIO bus protocol in software,
34 for use by low level drivers that export the ability to
35 drive the relevant pins.
00db8189 36
d75b4a22 37 If in doubt, say N.
00db8189 38
d75b4a22
AL
39config MDIO_BUS_MUX
40 tristate
41 depends on OF_MDIO
42 help
43 This module provides a driver framework for MDIO bus
44 multiplexers which connect one of several child MDIO busses
45 to a parent bus. Switching between child busses is done by
46 device specific drivers.
00db8189 47
d75b4a22 48config MDIO_BUS_MUX_BCM_IPROC
97c84389 49 tristate "Broadcom iProc based MDIO bus multiplexers"
d75b4a22
AL
50 depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
51 select MDIO_BUS_MUX
52 default ARCH_BCM_IPROC
53 help
54 This module provides a driver for MDIO bus multiplexers found in
55 iProc based Broadcom SoCs. This multiplexer connects one of several
56 child MDIO bus to a parent bus. Buses could be internal as well as
57 external and selection logic lies inside the same multiplexer.
53f99941 58
d75b4a22 59config MDIO_BUS_MUX_GPIO
97c84389 60 tristate "GPIO controlled MDIO bus multiplexers"
d75b4a22
AL
61 depends on OF_GPIO && OF_MDIO
62 select MDIO_BUS_MUX
63 help
64 This module provides a driver for MDIO bus multiplexers that
65 are controlled via GPIO lines. The multiplexer connects one of
66 several child MDIO busses to a parent bus. Child bus
67 selection is under the control of GPIO lines.
00db8189 68
d75b4a22 69config MDIO_BUS_MUX_MMIOREG
97c84389 70 tristate "MMIO device-controlled MDIO bus multiplexers"
d75b4a22
AL
71 depends on OF_MDIO && HAS_IOMEM
72 select MDIO_BUS_MUX
73 help
74 This module provides a driver for MDIO bus multiplexers that
75 are controlled via a simple memory-mapped device, like an FPGA.
76 The multiplexer connects one of several child MDIO busses to a
77 parent bus. Child bus selection is under the control of one of
78 the FPGA's registers.
f61687c0 79
d75b4a22 80 Currently, only 8-bit registers are supported.
c9e055ac 81
d75b4a22 82config MDIO_CAVIUM
a1cba561
AP
83 tristate
84
d75b4a22 85config MDIO_GPIO
97c84389 86 tristate "GPIO lib-based bitbanged MDIO buses"
d75b4a22 87 depends on MDIO_BITBANG && GPIOLIB
c4b41c9f 88 ---help---
d75b4a22 89 Supports GPIO lib-based MDIO busses.
c4b41c9f 90
d75b4a22
AL
91 To compile this driver as a module, choose M here: the module
92 will be called mdio-gpio.
93
94config MDIO_HISI_FEMAC
95 tristate "Hisilicon FEMAC MDIO bus controller"
96 depends on HAS_IOMEM && OF_MDIO
97 help
98 This module provides a driver for the MDIO busses found in the
99 Hisilicon SoC that have an Fast Ethernet MAC.
100
101config MDIO_MOXART
102 tristate "MOXA ART MDIO interface support"
103 depends on ARCH_MOXART
104 help
105 This driver supports the MDIO interface found in the network
106 interface units of the MOXA ART SoC
107
108config MDIO_OCTEON
97c84389 109 tristate "Octeon and some ThunderX SOCs MDIO buses"
d75b4a22 110 depends on 64BIT
cd47512e 111 depends on HAS_IOMEM && OF_MDIO
d75b4a22
AL
112 select MDIO_CAVIUM
113 help
114 This module provides a driver for the Octeon and ThunderX MDIO
115 buses. It is required by the Octeon and ThunderX ethernet device
116 drivers on some systems.
117
118config MDIO_SUN4I
119 tristate "Allwinner sun4i MDIO interface support"
120 depends on ARCH_SUNXI
121 help
122 This driver supports the MDIO interface found in the network
123 interface units of the Allwinner SoC that have an EMAC (A10,
124 A12, A10s, etc.)
125
126config MDIO_THUNDER
97c84389 127 tristate "ThunderX SOCs MDIO buses"
d75b4a22
AL
128 depends on 64BIT
129 depends on PCI
665fff29 130 depends on !(MDIO_DEVICE=y && PHYLIB=m)
d75b4a22
AL
131 select MDIO_CAVIUM
132 help
133 This driver supports the MDIO interfaces found on Cavium
134 ThunderX SoCs when the MDIO bus device appears as a PCI
135 device.
136
137config MDIO_XGENE
138 tristate "APM X-Gene SoC MDIO bus controller"
7aa6ec22 139 depends on ARCH_XGENE || COMPILE_TEST
d75b4a22
AL
140 help
141 This module provides a driver for the MDIO busses found in the
142 APM X-Gene SoC's.
143
90eff909
FF
144endif
145
146menuconfig PHYLIB
147 tristate "PHY Device support and infrastructure"
148 depends on NETDEVICES
149 select MDIO_DEVICE
150 help
151 Ethernet controllers are usually attached to PHY
152 devices. This option provides infrastructure for
153 managing PHY devices.
154
155if PHYLIB
156
157config SWPHY
158 bool
159
160config LED_TRIGGER_PHY
161 bool "Support LED triggers for tracking link state"
162 depends on LEDS_TRIGGERS
163 ---help---
164 Adds support for a set of LED trigger events per-PHY. Link
165 state change will trigger the events, for consumption by an
166 LED class driver. There are triggers for each link speed currently
167 supported by the phy, and are of the form:
168 <mii bus id>:<phy>:<speed>
169
170 Where speed is in the form:
171 <Speed in megabits>Mbps or <Speed in gigabits>Gbps
172
173
d75b4a22
AL
174comment "MII PHY device drivers"
175
176config AMD_PHY
97c84389 177 tristate "AMD PHYs"
8e185d69 178 ---help---
d75b4a22 179 Currently supports the am79c874
8e185d69 180
d75b4a22 181config AQUANTIA_PHY
97c84389 182 tristate "Aquantia PHYs"
d75b4a22
AL
183 ---help---
184 Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405
185
186config AT803X_PHY
97c84389 187 tristate "AT803X PHYs"
d75b4a22
AL
188 ---help---
189 Currently supports the AT8030 and AT8035 model
8e185d69 190
09bb9aa0 191config BCM63XX_PHY
97c84389 192 tristate "Broadcom 63xx SOCs internal PHY"
f1dc045e 193 depends on BCM63XX
a1cba561 194 select BCM_NET_PHYLIB
09bb9aa0
MB
195 ---help---
196 Currently supports the 6348 and 6358 PHYs.
197
b560a58c 198config BCM7XXX_PHY
97c84389 199 tristate "Broadcom 7xxx SOCs internal PHYs"
a1cba561 200 select BCM_NET_PHYLIB
b560a58c
FF
201 ---help---
202 Currently supports the BCM7366, BCM7439, BCM7445, and
203 40nm and 65nm generation of BCM7xxx Set Top Box SoCs.
204
e9976d7c 205config BCM87XX_PHY
97c84389 206 tristate "Broadcom BCM8706 and BCM8727 PHYs"
e9976d7c
DD
207 help
208 Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.
209
d75b4a22 210config BCM_CYGNUS_PHY
97c84389 211 tristate "Broadcom Cygnus SoC internal PHY"
d75b4a22
AL
212 depends on ARCH_BCM_CYGNUS || COMPILE_TEST
213 depends on MDIO_BCM_IPROC
214 select BCM_NET_PHYLIB
0cefeeba 215 ---help---
d75b4a22
AL
216 This PHY driver is for the 1G internal PHYs of the Broadcom
217 Cygnus Family SoC.
0cefeeba 218
d75b4a22
AL
219 Currently supports internal PHY's used in the BCM11300,
220 BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
221 BCM58303 & BCM58305 Broadcom Cygnus SoCs.
097c2aa8 222
d75b4a22
AL
223config BCM_NET_PHYLIB
224 tristate
914804b9 225
d75b4a22 226config BROADCOM_PHY
97c84389 227 tristate "Broadcom PHYs"
d75b4a22 228 select BCM_NET_PHYLIB
f95be180 229 ---help---
d75b4a22 230 Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
b14995ac 231 BCM5481, BCM54810 and BCM5482 PHYs.
f95be180 232
d75b4a22 233config CICADA_PHY
97c84389 234 tristate "Cicada PHYs"
dbb7a95d 235 ---help---
d75b4a22 236 Currently supports the cis8204
dbb7a95d 237
d75b4a22 238config DAVICOM_PHY
97c84389 239 tristate "Davicom PHYs"
d0507009 240 ---help---
d75b4a22 241 Currently supports dm9161e and dm9131
d0507009 242
34e45ad9 243config DP83848_PHY
97c84389 244 tristate "Texas Instruments DP83848 PHY"
34e45ad9
AD
245 ---help---
246 Supports the DP83848 PHY.
247
2a10154a 248config DP83867_PHY
97c84389 249 tristate "Texas Instruments DP83867 Gigabit PHY"
2a10154a
DM
250 ---help---
251 Currently supports the DP83867 PHY.
252
11b0bacd 253config FIXED_PHY
97c84389 254 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
6539c44d 255 depends on PHYLIB
5ae68b0c 256 select SWPHY
11b0bacd 257 ---help---
a79d8e93
VB
258 Adds the platform "fixed" MDIO Bus to cover the boards that use
259 PHYs that are not connected to the real MDIO bus.
260
261 Currently tested with mpc866ads and mpc8349e-mitx.
7c32f470 262
d75b4a22 263config ICPLUS_PHY
97c84389 264 tristate "ICPlus PHYs"
a5edeccb 265 ---help---
d75b4a22 266 Currently supports the IP175C and IP1001 PHYs.
ddc24ae1 267
112b558d 268config INTEL_XWAY_PHY
97c84389 269 tristate "Intel XWAY PHYs"
112b558d
HM
270 ---help---
271 Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
272 These PHYs are marked as standalone chips under the names
273 PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
274 SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.
275
d75b4a22 276config LSI_ET1011C_PHY
97c84389 277 tristate "LSI ET1011C PHY"
d75b4a22
AL
278 ---help---
279 Supports the LSI ET1011C PHY.
4960e4b1 280
d75b4a22 281config LXT_PHY
97c84389 282 tristate "Intel LXT PHYs"
d75b4a22
AL
283 ---help---
284 Currently supports the lxt970, lxt971
285
286config MARVELL_PHY
97c84389 287 tristate "Marvell PHYs"
d75b4a22
AL
288 ---help---
289 Currently has a driver for the 88E1011S
290
7334b3e4
NA
291config MESON_GXL_PHY
292 tristate "Amlogic Meson GXL Internal PHY"
2ebae8bd 293 depends on ARCH_MESON || COMPILE_TEST
7334b3e4
NA
294 ---help---
295 Currently has a driver for the Amlogic Meson GXL Internal PHY
296
d75b4a22 297config MICREL_PHY
97c84389 298 tristate "Micrel PHYs"
d75b4a22
AL
299 ---help---
300 Supports the KSZ9021, VSC8201, KS8001 PHYs.
301
302config MICROCHIP_PHY
97c84389 303 tristate "Microchip PHYs"
43b3cf66 304 help
d75b4a22 305 Supports the LAN88XX PHYs.
43b3cf66 306
d50736a8 307config MICROSEMI_PHY
4ffd03f5
RL
308 tristate "Microsemi PHYs"
309 ---help---
af1fee98 310 Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs
d50736a8 311
d75b4a22 312config NATIONAL_PHY
97c84389 313 tristate "National Semiconductor PHYs"
d75b4a22
AL
314 ---help---
315 Currently supports the DP83865 PHY.
316
317config QSEMI_PHY
97c84389 318 tristate "Quality Semiconductor PHYs"
d75b4a22
AL
319 ---help---
320 Currently supports the qs6612
321
322config REALTEK_PHY
97c84389 323 tristate "Realtek PHYs"
d75b4a22
AL
324 ---help---
325 Supports the Realtek 821x PHY.
326
327config SMSC_PHY
97c84389 328 tristate "SMSC PHYs"
d75b4a22
AL
329 ---help---
330 Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs
331
332config STE10XP
97c84389 333 tristate "STMicroelectronics STe10Xp PHYs"
d75b4a22
AL
334 ---help---
335 This is the driver for the STe100p and STe101p PHYs.
336
337config TERANETICS_PHY
97c84389 338 tristate "Teranetics PHYs"
d75b4a22
AL
339 ---help---
340 Currently supports the Teranetics TN2020
341
342config VITESSE_PHY
97c84389 343 tristate "Vitesse PHYs"
d75b4a22
AL
344 ---help---
345 Currently supports the vsc8244
346
f411a616
ADKR
347config XILINX_GMII2RGMII
348 tristate "Xilinx GMII2RGMII converter driver"
349 ---help---
350 This driver support xilinx GMII to RGMII IP core it provides
351 the Reduced Gigabit Media Independent Interface(RGMII) between
352 Ethernet physical media devices and the Gigabit Ethernet controller.
353
53f99941 354endif # PHYLIB
a8e510f6
FL
355
356config MICREL_KS8995MA
357 tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
358 depends on SPI