diff options
author | Timur Tabi <timur@freescale.com> | 2012-08-24 09:10:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-30 12:54:48 -0400 |
commit | 6cc2ff82492d89f763e69ea6b8681926aceda610 (patch) | |
tree | 37cc43ef6eee4386bc68202f6681507e91bdd20a /drivers/net/phy/Kconfig | |
parent | e92bdf4bf199f582dae8249a21e991db4bf66480 (diff) | |
download | op-kernel-dev-6cc2ff82492d89f763e69ea6b8681926aceda610.zip op-kernel-dev-6cc2ff82492d89f763e69ea6b8681926aceda610.tar.gz |
netdev/phy: add MDIO bus multiplexer driven by a memory-mapped device
Add support for an MDIO bus multiplexer controlled by a simple memory-mapped
device, like an FPGA. The device must be memory-mapped and contain only
8-bit registers (which keeps things simple).
Tested on a Freescale P5020DS board which uses the "PIXIS" FPGA attached
to the localbus.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r-- | drivers/net/phy/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 3090dc6..983bbf4 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -159,6 +159,19 @@ config MDIO_BUS_MUX_GPIO several child MDIO busses to a parent bus. Child bus selection is under the control of GPIO lines. +config MDIO_BUS_MUX_MMIOREG + tristate "Support for MMIO device-controlled MDIO bus multiplexers" + depends on OF_MDIO + select MDIO_BUS_MUX + help + This module provides a driver for MDIO bus multiplexers that + are controlled via a simple memory-mapped device, like an FPGA. + The multiplexer connects one of several child MDIO busses to a + parent bus. Child bus selection is under the control of one of + the FPGA's registers. + + Currently, only 8-bit registers are supported. + endif # PHYLIB config MICREL_KS8995MA |