Thread (24 messages) 24 messages, 5 authors, 2016-10-31

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

From: Neil Armstrong <hidden>
Date: 2016-10-21 16:00:09
Also in: linux-amlogic, linux-arm-kernel, linux-devicetree, linux-gpio, lkml

On 10/21/2016 05:54 PM, Andrew Lunn wrote:
On Fri, Oct 21, 2016 at 04:40:33PM +0200, Neil Armstrong wrote:
quoted
The Meson GXL dwmac Glue Layer also provides switching between an external PHY
and an internal RMII 10/100 PHY.
Add a way to setup the correct PHY switching from a device tree attribute.
Humm, actually. Maybe PHY_IS_INTERNAL in the phydrv->flags is the
better solution. The MAC can then use phy_is_internal(ndev->phydev) to
decide if this register needs programming.

       Andrew
Hi Andrew,

Yes this would be a good idea if we were able to scan the internal and external PHYs at the same time,
but with our limited knowledge the values we write in the register seems to switch a mux for the whole RMII
and MDIO signals to either interface.

Do you have knowledge if this case is already handled upstream ?

Thanks for your help,
Neil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help