Thread (90 messages) flat view 90 messages, 9 authors, 2021-12-31

Re: [PATCH net-next v2 07/13] net: dsa: realtek: add new mdio interface for drivers

From: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Date: 2021-12-31 03:11:05

quoted
+     /* Write Start command to register 29 */
+     bus->write(bus, phy_id, MDC_MDIO_START_REG, MDC_MDIO_START_OP);
I'm curious where these START commands came from because I cannot find
an anlogous procedure in the Realtek driver dump I have. Did you figure
this out empirically? Does it not work without? Same goes for the other
ones downstairs.
It works without the MDC_MDIO_START_REG. I'm also curious that it
really does. It is present in uboot driver and OpenWrt driver. That
MDC_MDIO_START_REG is even defined in Realtek rtl8637c, but not used.
I think it might be something that an old family (rtl8637b) required
but not newer ones.

I'll drop it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help