Sgmii fix for qca8k qca8327 switch
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | drivers: net: dsa: qca8k: fix sgmii with some specific switch revisiondrivers/ | +8 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [net-next PATCH 0/1] Sgmii fix for qca8k qca8327 switch
Some background for this. As stated in other patch, we are testing qca8327 switch in various device. We tought this was a specific configuration of the switch and needed special binding to disable pll on sgmii port. With a better analysis of the original qca driver it was discovered that pll was only enabled on switch revision 1.
By testing the same configuration with a qca8337 switch that have a revision 2, using the secondary cpu port (set as sgmii) as primary (removed the first cpu port from dts and updated the driver to use the secondary cpu port port6 for everything) confirmed that pll enabled is not actually needed and all works correctly.
Different case for another router with a qca8327 switch that with the extra option enabled doesn't work at all and no traffic can be detected.
Also in the original driver the signal detection (SD bit 4) is never enabled. Having that enabled doesn't seems to give any problem so i won't disable that, but i'm just pointing this out to think about it.
Don't know if that should be disabled or not but the pll changes is absolutely needed as in some case it cause the malfunction of the entire connection.
Ansuel Smith (1):
drivers: net: dsa: qca8k: fix sgmii with some specific switch revision
drivers/net/dsa/qca8k.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
2.32.0