Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) # MDIO Layer Configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) menuconfig MDIO_DEVICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 	tristate "MDIO bus device drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 	  MDIO devices and driver infrastructure code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) if MDIO_DEVICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) config MDIO_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 	default m if PHYLIB=m
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 	default MDIO_DEVICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 	  This internal symbol is used for link time dependencies and it
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 	  reflects whether the mdio_bus/mdio_device code is built as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 	  loadable module or built-in.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) config OF_MDIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 	def_tristate PHYLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 	depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 	depends on PHYLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 	select FIXED_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	  OpenFirmware MDIO bus (Ethernet PHY) accessors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) if MDIO_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) config MDIO_DEVRES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) config MDIO_SUN4I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 	tristate "Allwinner sun4i MDIO interface support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 	depends on ARCH_SUNXI || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 	  This driver supports the MDIO interface found in the network
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 	  interface units of the Allwinner SoC that have an EMAC (A10,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 	  A12, A10s, etc.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) config MDIO_XGENE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	tristate "APM X-Gene SoC MDIO bus controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	depends on ARCH_XGENE || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 	  This module provides a driver for the MDIO busses found in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 	  APM X-Gene SoC's.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) config MDIO_ASPEED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 	tristate "ASPEED MDIO bus controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 	depends on ARCH_ASPEED || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) 	depends on OF_MDIO && HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 	  This module provides a driver for the independent MDIO bus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 	  controllers found in the ASPEED AST2600 SoC. This is a driver for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 	  third revision of the ASPEED MDIO register interface - the first two
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 	  revisions are the "old" and "new" interfaces found in the AST2400 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	  AST2500, embedded in the MAC. For legacy reasons, FTGMAC100 driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	  continues to drive the embedded MDIO controller for the AST2400 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 	  AST2500 SoCs, so say N if AST2600 support is not required.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) config MDIO_BITBANG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 	tristate "Bitbanged MDIO buses"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 	  This module implements the MDIO bus protocol in software,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 	  for use by low level drivers that export the ability to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 	  drive the relevant pins.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 	  If in doubt, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) config MDIO_BCM_IPROC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 	tristate "Broadcom iProc MDIO bus controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 	depends on ARCH_BCM_IPROC || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 	depends on HAS_IOMEM && OF_MDIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 	default ARCH_BCM_IPROC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 	  This module provides a driver for the MDIO busses found in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 	  Broadcom iProc SoC's.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) config MDIO_BCM_UNIMAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	tristate "Broadcom UniMAC MDIO bus controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	  This module provides a driver for the Broadcom UniMAC MDIO busses.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 	  This hardware can be found in the Broadcom GENET Ethernet MAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 	  controllers as well as some Broadcom Ethernet switches such as the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 	  Starfighter 2 switches.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) config MDIO_CAVIUM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) config MDIO_GPIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 	tristate "GPIO lib-based bitbanged MDIO buses"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 	depends on MDIO_BITBANG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 	depends on GPIOLIB || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 	  Supports GPIO lib-based MDIO busses.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 	  To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	  will be called mdio-gpio.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) config MDIO_HISI_FEMAC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 	tristate "Hisilicon FEMAC MDIO bus controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 	depends on HAS_IOMEM && OF_MDIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 	  This module provides a driver for the MDIO busses found in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 	  Hisilicon SoC that have an Fast Ethernet MAC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) config MDIO_I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 	depends on I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 	  Support I2C based PHYs.  This provides a MDIO bus bridged
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) 	  to I2C to allow PHYs connected in I2C mode to be accessed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 	  using the existing infrastructure.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 	  This is library mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) config MDIO_MVUSB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 	tristate "Marvell USB to MDIO Adapter"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 	depends on USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 	select MDIO_DEVRES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 	  A USB to MDIO converter present on development boards for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 	  Marvell's Link Street family of Ethernet switches.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) config MDIO_MSCC_MIIM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 	tristate "Microsemi MIIM interface support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 	depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) 	select MDIO_DEVRES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) 	  This driver supports the MIIM (MDIO) interface found in the network
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 	  switches of the Microsemi SoCs; it is recommended to switch on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 	  CONFIG_HIGH_RES_TIMERS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) config MDIO_MOXART
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 	tristate "MOXA ART MDIO interface support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) 	depends on ARCH_MOXART || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 	  This driver supports the MDIO interface found in the network
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 	  interface units of the MOXA ART SoC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) config MDIO_OCTEON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 	tristate "Octeon and some ThunderX SOCs MDIO buses"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) 	depends on (64BIT && OF_MDIO) || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 	depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) 	select MDIO_CAVIUM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) 	select MDIO_DEVRES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) 	  This module provides a driver for the Octeon and ThunderX MDIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 	  buses. It is required by the Octeon and ThunderX ethernet device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 	  drivers on some systems.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) config MDIO_IPQ4019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 	tristate "Qualcomm IPQ4019 MDIO interface support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) 	depends on HAS_IOMEM && OF_MDIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 	  This driver supports the MDIO interface found in Qualcomm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) 	  IPQ40xx series Soc-s.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) config MDIO_IPQ8064
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) 	tristate "Qualcomm IPQ8064 MDIO interface support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) 	depends on HAS_IOMEM && OF_MDIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) 	depends on MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) 	  This driver supports the MDIO interface found in the network
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) 	  interface units of the IPQ8064 SoC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) config MDIO_THUNDER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) 	tristate "ThunderX SOCs MDIO buses"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 	depends on 64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) 	depends on PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 	select MDIO_CAVIUM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) 	select MDIO_DEVRES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 	  This driver supports the MDIO interfaces found on Cavium
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 	  ThunderX SoCs when the MDIO bus device appears as a PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 	  device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) comment "MDIO Multiplexers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) config MDIO_BUS_MUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 	depends on OF_MDIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 	  This module provides a driver framework for MDIO bus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) 	  multiplexers which connect one of several child MDIO busses
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) 	  to a parent bus.  Switching between child busses is done by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 	  device specific drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) config MDIO_BUS_MUX_MESON_G12A
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) 	tristate "Amlogic G12a based MDIO bus multiplexer"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) 	depends on ARCH_MESON || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) 	depends on OF_MDIO && HAS_IOMEM && COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 	select MDIO_BUS_MUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) 	default m if ARCH_MESON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 	  This module provides a driver for the MDIO multiplexer/glue of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) 	  the amlogic g12a SoC. The multiplexers connects either the external
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 	  or the internal MDIO bus to the parent bus.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) config MDIO_BUS_MUX_BCM_IPROC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 	tristate "Broadcom iProc based MDIO bus multiplexers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 	depends on OF && OF_MDIO && (ARCH_BCM_IPROC || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 	select MDIO_BUS_MUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 	default ARCH_BCM_IPROC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 	  This module provides a driver for MDIO bus multiplexers found in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) 	  iProc based Broadcom SoCs. This multiplexer connects one of several
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) 	  child MDIO bus to a parent bus. Buses could be internal as well as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 	  external and selection logic lies inside the same multiplexer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) config MDIO_BUS_MUX_GPIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 	tristate "GPIO controlled MDIO bus multiplexers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) 	depends on OF_GPIO && OF_MDIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 	select MDIO_BUS_MUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 	  This module provides a driver for MDIO bus multiplexers that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) 	  are controlled via GPIO lines.  The multiplexer connects one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) 	  several child MDIO busses to a parent bus.  Child bus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 	  selection is under the control of GPIO lines.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) config MDIO_BUS_MUX_MULTIPLEXER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) 	tristate "MDIO bus multiplexer using kernel multiplexer subsystem"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) 	depends on OF_MDIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) 	select MULTIPLEXER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) 	select MDIO_BUS_MUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) 	  This module provides a driver for MDIO bus multiplexer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) 	  that is controlled via the kernel multiplexer subsystem. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) 	  bus multiplexer connects one of several child MDIO busses to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) 	  a parent bus.  Child bus selection is under the control of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) 	  the kernel multiplexer subsystem.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) config MDIO_BUS_MUX_MMIOREG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) 	tristate "MMIO device-controlled MDIO bus multiplexers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) 	depends on OF_MDIO && HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) 	select MDIO_BUS_MUX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) 	  This module provides a driver for MDIO bus multiplexers that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) 	  are controlled via a simple memory-mapped device, like an FPGA.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) 	  The multiplexer connects one of several child MDIO busses to a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) 	  parent bus.  Child bus selection is under the control of one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) 	  the FPGA's registers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) 	  Currently, only 8/16/32 bits registers are supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) endif