Re: [PATCH] DSA support for Micrel KSZ8895

From: Andrew Lunn
Date: Mon Aug 28 2017 - 10:09:37 EST


> I may be confused here, but AFAICT:
>
> 1) Yes, it has standard layout when accessed over MDIO.


Section 4.8 of the datasheet says:

All the registers defined in this section can be also accessed
via the SPI interface.

Meaning all PHY registers can be access via the SPI interface. So you
should be able to make a standard Linux MDIO bus driver which performs
SPI reads.

Andrew