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