Re: [PATCH net-next 0/5] net: ethernet: adi: adin1110: Add OPEN Alliance TC6 support

From: Stolniceanu, Iustin

Date: Wed Nov 04 2026 - 10:25:26 EST


On Wed, Nov 4, 2026 at 4:59 PM, Andrew Lunn wrote:
> On Wed, Nov 04, 2026 at 08:06:56AM +0000, Stolniceanu, Iustin wrote:
> > No, not for SPI_CFG1. The ADIN1110 has no register that reports the
> > SPI_CFG1 level or the selected host protocol.
>
> Seems like a badly thought out hardware design.

Agreed, it is inconvenient indeed.

> Do you have an reference design using a jumper, so you can try all
> combinations?

Yes, I do have a reference board and I am able to test all combinations.
I will check what the device does when it is accessed with the wrong framing
and report back.

> At minimum, it would be good to probe the chip, print an error
> message, and return ENODEV, if the property and the hardware don't
> match.

Will do. In V2, probe will read the PHYID using the framing selected
by the property. If it does not match, it will print an error saying
that the adi,spi-oa-tc6 setting does not match how the board is
strapped, and return -ENODEV.

If accessing the device in the wrong framing turns out to be harmless,
I can look at autodetection and either drop the property or keep it
only as an override. I would rather decide that after testing than
commit to it now.

Best regards,
Iustin