On Mon, 23 Nov 2026 13:57:42 +0200, Iustin Stolniceanu wrote:
> From: Ciprian Regus <cipr…@analog.com>
>
> 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 <cipr…@analog.com>
> Signed-off-by: Iustin Stolniceanu <iust…@analog.com>
> ---
> .../devicetree/bindings/net/adi,adin1110.yaml | 20 +++++++++++++++----
> 1 file changed, 16 insertions(+), 4 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <ro…@kernel.org>