Re: [PATCH net-next v3 6/7] dt-bindings: net: adi,adin1110: Add adi,spi-oa-tc6
From: Rob Herring (Arm)
Date: Fri Dec 04 2026 - 08:47:57 EST
On Mon, 23 Nov 2026 13:57:42 +0200, Iustin Stolniceanu wrote:
> From: Ciprian Regus <ciprian.regus@xxxxxxxxxx>
>
> The ADIN1110 and ADIN2111 support two SPI host interface protocols:
> the generic SPI protocol and the OPEN Alliance TC6 protocol. The
> protocol is selected by the state of the SPI_CFG1 pin, which the device
> latches when it comes out of reset, together with SPI_CFG0, which
> selects CRC (generic SPI) or protection (OPEN Alliance) mode.
>
> The protocol is set by the board hardware, so the driver must know it
> in advance. Add a boolean property to describe a device configured for
> the OPEN Alliance TC6 protocol. Without it, the generic SPI protocol is
> assumed, as before.
>
> adi,spi-crc enables the CRC of the generic SPI protocol, so it is not
> allowed together with adi,spi-oa-tc6. The OPEN Alliance protection mode
> needs no property, as the driver reads it from the PROTE bit in CONFIG0.
>
> Signed-off-by: Ciprian Regus <ciprian.regus@xxxxxxxxxx>
> Signed-off-by: Iustin Stolniceanu <iustin.stolniceanu@xxxxxxxxxx>
> ---
> .../devicetree/bindings/net/adi,adin1110.yaml | 20 +++++++++++++++----
> 1 file changed, 16 insertions(+), 4 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>