linux-stable/drivers/net/mdio
Andrew Lunn 800fcab823 net: phy: Add support for microchip SMI0 MDIO bus
SMI0 is a mangled version of MDIO. The main low level difference is
the MDIO C22 OP code is always 0, not 0x2 or 0x1 for Read/Write. The
read/write information is instead encoded in the PHY address.

Extend the bit-bang code to allow the op code to be overridden, but
default to normal C22 values. Add an extra compatible to the mdio-gpio
driver, and when this compatible is present, set the op codes to 0.

A higher level driver, sitting on top of the basic MDIO bus driver can
then implement the rest of the microchip SMI0 odderties.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-27 14:13:24 -07:00
..
Kconfig net: mdio: Add BCM6368 MDIO mux bus controller 2021-03-16 11:52:18 -07:00
Makefile net: mdio: Add BCM6368 MDIO mux bus controller 2021-03-16 11:52:18 -07:00
mdio-aspeed.c
mdio-bcm-iproc.c
mdio-bcm-unimac.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-bitbang.c net: phy: Add support for microchip SMI0 MDIO bus 2021-04-27 14:13:24 -07:00
mdio-cavium.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-cavium.h
mdio-gpio.c net: phy: Add support for microchip SMI0 MDIO bus 2021-04-27 14:13:24 -07:00
mdio-hisi-femac.c
mdio-i2c.c
mdio-ipq4019.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-ipq8064.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-moxart.c net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPT 2021-02-15 15:20:49 -08:00
mdio-mscc-miim.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mux-bcm-iproc.c net: mdio: Remove redundant dev_err call in mdio_mux_iproc_probe() 2021-03-29 13:16:44 -07:00
mdio-mux-bcm6368.c net: mdio: Add BCM6368 MDIO mux bus controller 2021-03-16 11:52:18 -07:00
mdio-mux-gpio.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mux-meson-g12a.c
mdio-mux-mmioreg.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mux-multiplexer.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mux.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-mvusb.c
mdio-octeon.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-sun4i.c
mdio-thunder.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
mdio-xgene.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00
of_mdio.c net: mdio: Alphabetically sort header inclusion 2021-03-16 11:10:00 -07:00