diff options
author | Andrew Lunn <[email protected]> | 2021-04-27 09:09:07 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-27 14:13:24 -0700 |
commit | 800fcab8230f622544a12403977b5b7259a076f8 (patch) | |
tree | 51c1bd5277f0a3f604e2cdb8c6b437e22408d6f4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 61df0e7bbb90fac8c77203e0fa570804617f137d (diff) |
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 <[email protected]>
Signed-off-by: Michael Grzeschik <[email protected]>
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions