Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#
# PHY Layer Configuration
#

menuconfig CONFIG_PHYLIB
	tristate "PHY Device support and infrastructure"
	depends on CONFIG_NETDEVICES
	help
	  Ethernet controllers are usually attached to PHY
	  devices.  This option provides infrastructure for
	  managing PHY devices.

if CONFIG_PHYLIB

config CONFIG_SWPHY
	bool

config CONFIG_LED_TRIGGER_PHY
	bool "Support LED triggers for tracking link state"
	depends on CONFIG_LEDS_TRIGGERS
	---help---
	  Adds support for a set of LED trigger events per-PHY.  Link
	  state change will trigger the events, for consumption by an
	  LED class driver.  There are triggers for each link speed currently
	  supported by the phy, and are of the form:
	       <mii bus id>:<phy>:<speed>

	  Where speed is in the form:
		<Speed in megabits>Mbps or <Speed in gigabits>Gbps

comment "MDIO bus device drivers"

config CONFIG_MDIO_BCM_IPROC
	tristate "Broadcom iProc MDIO bus controller"
	depends on CONFIG_ARCH_BCM_IPROC || CONFIG_COMPILE_TEST
	depends on CONFIG_HAS_IOMEM && CONFIG_OF_MDIO
	help
	  This module provides a driver for the CONFIG_MDIO busses found in the
	  Broadcom iProc SoC's.

config CONFIG_MDIO_BCM_UNIMAC
	tristate "Broadcom UniMAC MDIO bus controller"
	depends on CONFIG_HAS_IOMEM
	help
	  This module provides a driver for the Broadcom UniMAC CONFIG_MDIO busses.
	  This hardware can be found in the Broadcom GENET Ethernet CONFIG_MAC
	  controllers as well as some Broadcom Ethernet switches such as the
	  Starfighter 2 switches.

config CONFIG_MDIO_BITBANG
	tristate "Bitbanged MDIO buses"
	help
	  This module implements the CONFIG_MDIO bus protocol in software,
	  for use by low level drivers that export the ability to
	  drive the relevant pins.

	  If in doubt, say N.

config CONFIG_MDIO_BUS_MUX
	tristate
	depends on CONFIG_OF_MDIO
	help
	  This module provides a driver framework for CONFIG_MDIO bus
	  multiplexers which connect one of several child CONFIG_MDIO busses
	  to a parent bus.  Switching between child busses is done by
	  device specific drivers.

config CONFIG_MDIO_BUS_MUX_BCM_IPROC
	tristate "Broadcom iProc based MDIO bus multiplexers"
	depends on CONFIG_OF && CONFIG_OF_MDIO && (CONFIG_ARCH_BCM_IPROC || CONFIG_COMPILE_TEST)
	select CONFIG_MDIO_BUS_MUX
	default CONFIG_ARCH_BCM_IPROC
	help
	  This module provides a driver for CONFIG_MDIO bus multiplexers found in
	  iProc based Broadcom SoCs. This multiplexer connects one of several
	  child CONFIG_MDIO bus to a parent bus. Buses could be internal as well as
	  external and selection logic lies inside the same multiplexer.

config CONFIG_MDIO_BUS_MUX_GPIO
	tristate "GPIO controlled MDIO bus multiplexers"
	depends on CONFIG_OF_GPIO && CONFIG_OF_MDIO
	select CONFIG_MDIO_BUS_MUX
	help
	  This module provides a driver for CONFIG_MDIO bus multiplexers that
	  are controlled via GPIO lines.  The multiplexer connects one of
	  several child CONFIG_MDIO busses to a parent bus.  Child bus
	  selection is under the control of GPIO lines.

config CONFIG_MDIO_BUS_MUX_MMIOREG
	tristate "MMIO device-controlled MDIO bus multiplexers"
	depends on CONFIG_OF_MDIO && CONFIG_HAS_IOMEM
	select CONFIG_MDIO_BUS_MUX
	help
	  This module provides a driver for CONFIG_MDIO bus multiplexers that
	  are controlled via a simple memory-mapped device, like an CONFIG_FPGA.
	  The multiplexer connects one of several child CONFIG_MDIO busses to a
	  parent bus.  Child bus selection is under the control of one of
	  the CONFIG_FPGA's registers.

	  Currently, only 8-bit registers are supported.

config CONFIG_MDIO_CAVIUM
	tristate

config CONFIG_MDIO_GPIO
	tristate "GPIO lib-based bitbanged MDIO buses"
	depends on CONFIG_MDIO_BITBANG && CONFIG_GPIOLIB
	---help---
	  Supports GPIO lib-based CONFIG_MDIO busses.

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called mdio-gpio.

config CONFIG_MDIO_HISI_FEMAC
	tristate "Hisilicon FEMAC MDIO bus controller"
	depends on CONFIG_HAS_IOMEM && CONFIG_OF_MDIO
	help
	  This module provides a driver for the CONFIG_MDIO busses found in the
	  Hisilicon SoC that have an Fast Ethernet CONFIG_MAC.

config CONFIG_MDIO_MOXART
        tristate "MOXA ART MDIO interface support"
        depends on CONFIG_ARCH_MOXART
        help
          This driver supports the CONFIG_MDIO interface found in the network
          interface units of the MOXA ART SoC

config CONFIG_MDIO_OCTEON
	tristate "Octeon and some ThunderX SOCs MDIO buses"
	depends on CONFIG_64BIT
	depends on CONFIG_HAS_IOMEM
	select CONFIG_MDIO_CAVIUM
	help
	  This module provides a driver for the Octeon and ThunderX CONFIG_MDIO
	  buses. It is required by the Octeon and ThunderX ethernet device
	  drivers on some systems.

config CONFIG_MDIO_SUN4I
	tristate "Allwinner sun4i MDIO interface support"
	depends on CONFIG_ARCH_SUNXI
	help
	  This driver supports the CONFIG_MDIO interface found in the network
	  interface units of the Allwinner SoC that have an EMAC (A10,
	  A12, A10s, etc.)

config CONFIG_MDIO_THUNDER
	tristate "ThunderX SOCs MDIO buses"
	depends on CONFIG_64BIT
	depends on CONFIG_PCI
	select CONFIG_MDIO_CAVIUM
	help
	  This driver supports the CONFIG_MDIO interfaces found on Cavium
	  ThunderX SoCs when the CONFIG_MDIO bus device appears as a CONFIG_PCI
	  device.

config CONFIG_MDIO_XGENE
	tristate "APM X-Gene SoC MDIO bus controller"
	depends on CONFIG_ARCH_XGENE || CONFIG_COMPILE_TEST
	help
	  This module provides a driver for the CONFIG_MDIO busses found in the
	  CONFIG_APM X-Gene SoC's.

comment "MII PHY device drivers"

config CONFIG_AMD_PHY
	tristate "AMD PHYs"
	---help---
	  Currently supports the am79c874

config CONFIG_AQUANTIA_PHY
        tristate "Aquantia PHYs"
        ---help---
          Currently supports the Aquantia AQ1202, AQ2104, AQR105, AQR405

config CONFIG_AT803X_PHY
	tristate "AT803X PHYs"
	---help---
	  Currently supports the AT8030 and AT8035 model

config CONFIG_BCM63XX_PHY
	tristate "Broadcom 63xx SOCs internal PHY"
	depends on CONFIG_BCM63XX
	select CONFIG_BCM_NET_PHYLIB
	---help---
	  Currently supports the 6348 and 6358 PHYs.

config CONFIG_BCM7XXX_PHY
	tristate "Broadcom 7xxx SOCs internal PHYs"
	select CONFIG_BCM_NET_PHYLIB
	---help---
	  Currently supports the BCM7366, BCM7439, BCM7445, and
	  40nm and 65nm generation of BCM7xxx Set Top Box SoCs.

config CONFIG_BCM87XX_PHY
	tristate "Broadcom BCM8706 and BCM8727 PHYs"
	help
	  Currently supports the BCM8706 and BCM8727 10G Ethernet PHYs.

config CONFIG_BCM_CYGNUS_PHY
	tristate "Broadcom Cygnus SoC internal PHY"
	depends on CONFIG_ARCH_BCM_CYGNUS || CONFIG_COMPILE_TEST
	depends on CONFIG_MDIO_BCM_IPROC
	select CONFIG_BCM_NET_PHYLIB
	---help---
	  This PHY driver is for the 1G internal PHYs of the Broadcom
	  Cygnus Family SoC.

	  Currently supports internal PHY's used in the BCM11300,
	  BCM11320, BCM11350, BCM11360, BCM58300, BCM58302,
	  BCM58303 & BCM58305 Broadcom Cygnus SoCs.

config CONFIG_BCM_NET_PHYLIB
	tristate

config CONFIG_BROADCOM_PHY
	tristate "Broadcom PHYs"
	select CONFIG_BCM_NET_PHYLIB
	---help---
	  Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
	  BCM5481, BCM54810 and BCM5482 PHYs.

config CONFIG_CICADA_PHY
	tristate "Cicada PHYs"
	---help---
	  Currently supports the cis8204

config CONFIG_DAVICOM_PHY
	tristate "Davicom PHYs"
	---help---
	  Currently supports dm9161e and dm9131

config CONFIG_DP83848_PHY
	tristate "Texas Instruments DP83848 PHY"
	---help---
	  Supports the DP83848 PHY.

config CONFIG_DP83867_PHY
	tristate "Texas Instruments DP83867 Gigabit PHY"
	---help---
	  Currently supports the DP83867 PHY.

config CONFIG_FIXED_PHY
	tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
	depends on CONFIG_PHYLIB
	select CONFIG_SWPHY
	---help---
	  Adds the platform "fixed" CONFIG_MDIO Bus to cover the boards that use
	  PHYs that are not connected to the real CONFIG_MDIO bus.

	  Currently tested with mpc866ads and mpc8349e-mitx.

config CONFIG_ICPLUS_PHY
	tristate "ICPlus PHYs"
	---help---
	  Currently supports the IP175C and IP1001 PHYs.

config CONFIG_INTEL_XWAY_PHY
	tristate "Intel XWAY PHYs"
	---help---
	  Supports the Intel XWAY (former Lantiq) 11G and 22E PHYs.
	  These PHYs are marked as standalone chips under the names
	  PEF 7061, PEF 7071 and PEF 7072 or integrated into the Intel
	  SoCs xRX200, xRX300, xRX330, xRX350 and xRX550.

config CONFIG_LSI_ET1011C_PHY
	tristate "LSI ET1011C PHY"
	---help---
	  Supports the LSI ET1011C PHY.

config CONFIG_LXT_PHY
	tristate "Intel LXT PHYs"
	---help---
	  Currently supports the lxt970, lxt971

config CONFIG_MARVELL_PHY
	tristate "Marvell PHYs"
	---help---
	  Currently has a driver for the 88E1011S

config CONFIG_MESON_GXL_PHY
	tristate "Amlogic Meson GXL Internal PHY"
	depends on CONFIG_ARCH_MESON || CONFIG_COMPILE_TEST
	---help---
	  Currently has a driver for the Amlogic Meson GXL Internal PHY

config CONFIG_MICREL_PHY
	tristate "Micrel PHYs"
	---help---
	  Supports the KSZ9021, VSC8201, KS8001 PHYs.

config CONFIG_MICROCHIP_PHY
	tristate "Microchip PHYs"
	help
	  Supports the LAN88XX PHYs.

config CONFIG_MICROSEMI_PHY
	tristate "Microsemi PHYs"
	---help---
	  Currently supports VSC8530, VSC8531, VSC8540 and VSC8541 PHYs

config CONFIG_NATIONAL_PHY
	tristate "National Semiconductor PHYs"
	---help---
	  Currently supports the DP83865 PHY.

config CONFIG_QSEMI_PHY
	tristate "Quality Semiconductor PHYs"
	---help---
	  Currently supports the qs6612

config CONFIG_REALTEK_PHY
	tristate "Realtek PHYs"
	---help---
	  Supports the Realtek 821x PHY.

config CONFIG_SMSC_PHY
	tristate "SMSC PHYs"
	---help---
	  Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs

config CONFIG_STE10XP
	tristate "STMicroelectronics STe10Xp PHYs"
	---help---
	  This is the driver for the STe100p and STe101p PHYs.

config CONFIG_TERANETICS_PHY
        tristate "Teranetics PHYs"
        ---help---
          Currently supports the Teranetics TN2020

config CONFIG_VITESSE_PHY
        tristate "Vitesse PHYs"
        ---help---
          Currently supports the vsc8244

config CONFIG_XILINX_GMII2RGMII
       tristate "Xilinx GMII2RGMII converter driver"
       ---help---
         This driver support xilinx GMII to RGMII IP core it provides
         the Reduced Gigabit Media Independent Interface(RGMII) between
         Ethernet physical media devices and the Gigabit Ethernet controller.

endif # CONFIG_PHYLIB

config CONFIG_MICREL_KS8995MA
	tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
	depends on CONFIG_SPI