AW: [PATCH 2/4] phy: Realtek Otto SerDes: add driver source

markus.stockhausen at gmx.de markus.stockhausen at gmx.de
Sun Oct 6 22:42:49 PDT 2024


> -----Ursprüngliche Nachricht-----
> Von: Chris Packham <chris.packham at alliedtelesis.co.nz> 
> Gesendet: Sonntag, 6. Oktober 2024 23:33
> An: Markus Stockhausen <markus.stockhausen at gmx.de>; linux-phy at lists.infradead.org
> Betreff: Re: [PATCH 2/4] phy: Realtek Otto SerDes: add driver source
>
> > ...
> > +
> > +
> > +	ret = of_property_read_u32(np, "controlled-ports", &ctrl->sds_mask);
> > +	if (ret) {
> > +		ctrl->sds_mask = 0;
> > +		dev_warn(dev, "property controlled-ports not found, switched to read-only mode\n");
> > +	}
> Does this let us say "use whatever the earlier stages have setup". 
> That'd be handy for me as I'm currently relying on the vendor U-Boot to 
> do the SERDES init for me.

So it is. This helps me to compare a self initialized SerDes with a U-Boot initialized one.

Markus




More information about the linux-phy mailing list