Message ID | 20241117132811.67804-1-ansuelsmth@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | net: dsa: Add Airoha AN8855 support | expand |
Hi Christian, On Sun, Nov 17, 2024 at 02:27:55PM +0100, Christian Marangi wrote: > This small series add the initial support for the Airoha AN8855 Switch. > > It's a 5 port Gigabit Switch with SGMII/HSGMII upstream port. > > This is starting to get in the wild and there are already some router > having this switch chip. > > It's conceptually similar to mediatek switch but register and bits > are different. And there is that massive Hell that is the PCS > configuration. > Saddly for that part we have absolutely NO documentation currently. > > There is this special thing where PHY needs to be calibrated with values > from the switch efuse. (the thing have a whole cpu timer and MCU) Have you run the scripts in tools/testing/selftests/drivers/net/dsa/? Could you post the results?
On Mon, Nov 18, 2024 at 04:48:59PM +0200, Vladimir Oltean wrote: > Hi Christian, > > On Sun, Nov 17, 2024 at 02:27:55PM +0100, Christian Marangi wrote: > > This small series add the initial support for the Airoha AN8855 Switch. > > > > It's a 5 port Gigabit Switch with SGMII/HSGMII upstream port. > > > > This is starting to get in the wild and there are already some router > > having this switch chip. > > > > It's conceptually similar to mediatek switch but register and bits > > are different. And there is that massive Hell that is the PCS > > configuration. > > Saddly for that part we have absolutely NO documentation currently. > > > > There is this special thing where PHY needs to be calibrated with values > > from the switch efuse. (the thing have a whole cpu timer and MCU) > > Have you run the scripts in tools/testing/selftests/drivers/net/dsa/? > Could you post the results? Any test in particular? I'm working on adding correct support for them in OpenWrt. Should I expect some to fail?
On 11/18/24 19:35, Christian Marangi wrote: > On Mon, Nov 18, 2024 at 04:48:59PM +0200, Vladimir Oltean wrote: >> On Sun, Nov 17, 2024 at 02:27:55PM +0100, Christian Marangi wrote: >>> This small series add the initial support for the Airoha AN8855 Switch. >>> >>> It's a 5 port Gigabit Switch with SGMII/HSGMII upstream port. >>> >>> This is starting to get in the wild and there are already some router >>> having this switch chip. >>> >>> It's conceptually similar to mediatek switch but register and bits >>> are different. And there is that massive Hell that is the PCS >>> configuration. >>> Saddly for that part we have absolutely NO documentation currently. >>> >>> There is this special thing where PHY needs to be calibrated with values >>> from the switch efuse. (the thing have a whole cpu timer and MCU) >> >> Have you run the scripts in tools/testing/selftests/drivers/net/dsa/? >> Could you post the results? > > Any test in particular? I'm working on adding correct support for them > in OpenWrt. Should I expect some to fail? Unfortunatelly this landed on netdev too close to the merge window. I'll unable to apply it on time and process the net-next PR as expected even if it would receive ack from the DSA crew right now. @Christian, you will have to repost it after the merge window. Thanks, Paolo
On Tue, Nov 19, 2024 at 12:10:19PM +0100, Paolo Abeni wrote: > On 11/18/24 19:35, Christian Marangi wrote: > > On Mon, Nov 18, 2024 at 04:48:59PM +0200, Vladimir Oltean wrote: > >> On Sun, Nov 17, 2024 at 02:27:55PM +0100, Christian Marangi wrote: > >>> This small series add the initial support for the Airoha AN8855 Switch. > >>> > >>> It's a 5 port Gigabit Switch with SGMII/HSGMII upstream port. > >>> > >>> This is starting to get in the wild and there are already some router > >>> having this switch chip. > >>> > >>> It's conceptually similar to mediatek switch but register and bits > >>> are different. And there is that massive Hell that is the PCS > >>> configuration. > >>> Saddly for that part we have absolutely NO documentation currently. > >>> > >>> There is this special thing where PHY needs to be calibrated with values > >>> from the switch efuse. (the thing have a whole cpu timer and MCU) > >> > >> Have you run the scripts in tools/testing/selftests/drivers/net/dsa/? > >> Could you post the results? > > > > Any test in particular? I'm working on adding correct support for them > > in OpenWrt. Should I expect some to fail? > > Unfortunatelly this landed on netdev too close to the merge window. I'll > unable to apply it on time and process the net-next PR as expected even > if it would receive ack from the DSA crew right now. > > @Christian, you will have to repost it after the merge window. > It's ok, just any timeframe? Guess 2 weeks till net-next reopens? (just to put a remainder on the calendar so I won't forget)