Re: dsa: how to set external PHY address of slave MDIO bus

2018-12-21 Thread John Rama
Hi Andrew, >> Use a phy-handle in the port properties. Thanks !! John On 2018/12/21 4:56, Andrew Lunn wrote: > On Thu, Dec 20, 2018 at 08:26:56PM -0500, John Rama wrote: >> Hi, Guys, >> >> I have one question. I'm working following configuration, and

dsa: how to set external PHY address of slave MDIO bus

2018-12-20 Thread John Rama
Hi, Guys, I have one question. I'm working following configuration, and implementing a device driver. Basically, port 1-7 is working fine. I'm now having problem on port8. - System - i.MX6 and Marvel 88q5050 Switch(PHY addr is 0x10)

Re: DSA: external phy address and port number of switch conflicts

2018-12-18 Thread John Rama
Hi Florian, On 2018/12/17 18:03, Florian Fainelli wrote: > On 12/17/18 2:55 PM, John Rama wrote: >> Hi, Andrew, Florian and Viven >> >> thank you your feedback !! >> >>>> I would recommend checking a newer kernel anyway which would have >>>>

Re: DSA: external phy address and port number of switch conflicts

2018-12-17 Thread John Rama
lity(it just only for our custom board). I want to clarify if the use case using same number for port and external phy_id is expected to work or our of scope for DSA. Have we ever validated this use case before ? If it's expected work, I want to know how it will be avoided for conflicting.

Re: DSA: external phy address and port number of switch conflicts

2018-12-14 Thread John Rama
Ops, sorry, Viven. It should be 88Q5050. John. On 2018/12/14 11:24, Vivien Didelot wrote: > Hi John, > > On Thu, 13 Dec 2018 19:12:05 -0500, John Rama wrote: > >> I'm working for our custom board which has the Marvel 88e5050 ethernet switch >> as shown below,

DSA: external phy address and port number of switch conflicts

2018-12-13 Thread John Rama
Dear DSA experts My name is John. I'm working for our custom board which has the Marvel 88e5050 ethernet switch as shown below, and trying to make the system works using DSA subsystem. I havea problem and a question. - System - i.MX6 and Marvel 88e5050 Switch(PHY addr is 0x10) - port1-5

DSA: external phy address and port number of switch conflicts

2018-12-13 Thread John Rama
Dear DSA experts My name is John. I'm working for our custom board which has the Marvel 88e5050 ethernet switch as shown below, and trying to make the system works using DSA subsystem. I found one problem and have a question. - System - i.MX6 and Marvel 88e5050 Switch(PHY addr is 0x10)