On 5/26/2020 9:22 AM, Antoine Tenart wrote: > The MSCC MIIM MDIO driver uses a waiting logic to wait for the MDIO bus > to be ready to accept next commands. It does so by polling the BUSY > status bit which indicates the MDIO bus has completed all pending > operations. This can take time, and the controller supports writing the > next command as soon as there are no pending commands (which happens > while the MDIO bus is busy completing its current command). > > This patch implements this improved logic by adding an helper to poll > the PENDING status bit, and by adjusting where we should wait for the > bus to not be busy or to not be pending. > > Signed-off-by: Antoine Tenart <antoine.ten...@bootlin.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- Re: [PATCH net-next 1/4] net: phy: mscc-miim: use m... Florian Fainelli
- [PATCH net-next 4/4] net: phy: mscc-miim: read poll when... Antoine Tenart
- Re: [PATCH net-next 4/4] net: phy: mscc-miim: read ... Florian Fainelli
- Re: [PATCH net-next 4/4] net: phy: mscc-miim: r... Andrew Lunn
- Re: [PATCH net-next 4/4] net: phy: mscc-mii... Florian Fainelli
- [PATCH net-next 2/4] net: phy: mscc-miim: remove redunda... Antoine Tenart
- Re: [PATCH net-next 2/4] net: phy: mscc-miim: remov... Alexandre Belloni
- Re: [PATCH net-next 2/4] net: phy: mscc-miim: remov... Florian Fainelli
- [PATCH net-next 3/4] net: phy: mscc-miim: improve waitin... Antoine Tenart
- Re: [PATCH net-next 3/4] net: phy: mscc-miim: impro... Alexandre Belloni
- Re: [PATCH net-next 3/4] net: phy: mscc-miim: impro... Florian Fainelli
- Re: [PATCH net-next 0/4] net: phy: mscc-miim: reduce wai... Andrew Lunn
- Re: [PATCH net-next 0/4] net: phy: mscc-miim: reduc... Antoine Tenart
- Re: [PATCH net-next 0/4] net: phy: mscc-miim: reduce wai... David Miller