Re: [PATCH v4 01/21] net: ti: am65-cpsw-nuss: Define bind method for CPSW driver

Siddharth Vadapalli
2025-11-21T13:24:38Z

On Fri, 2025-11-21 at 14:55 +0200, Wadim Egorov wrote:
> Hi,

Hello Wadim,
>
>
> On 7/31/25 10:59 AM, Chintan Vankar wrote:
> > CPSW driver is defined as UCLASS_MISC driver which needs to be probed
> > explicitly. Define bind method for CPSW driver to scan and bind
> > ethernet-ports with UCLASS_ETH driver which will eventually probe CPSW
> > driver and avoid probing CPSW driver explicitly.
>
>
> I just noticed a new error message with this patch.
>
> On the phycore-am64x we can see that the 2nd cpsw port is getting probed
> but fails. This is not really an Issue because we are not making use of
> the 2nd port. But the error message does not look nice.
>
> Why is this even probed? The soc-level device tree disables the ports
> per default. And we do not activate it in our device tree.

Thank you for reporting this. I have just posted the fix at:
https://patch.msgid.link/20251121132156.3987128-1-s-vadapalli@ti.com

Regards,
Siddharth.