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