Article View: linux.kernel.netdev
Article #13705Re: [PATCH net-next v2 6/7] dt-bindings: net: adi,adin1110: Add adi,spi-oa-tc6
From: Krzysztof Kozlowski
Date: Tue, 10 Nov 2026 08:05
Date: Tue, 10 Nov 2026 08:05
56 lines
10297 bytes
10297 bytes
On Mon, Nov 09, 2026 at 10:59:51AM +0200, Iustin Stolniceanu wrote: > From: Ciprian Regus <ciprian.regus@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 <ciprian.regus@analog.com> > Signed-off-by: Iustin Stolniceanu <iustin.stolniceanu@analog.com> > --- > .../devicetree/bindings/net/adi,adin1110.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/adi,adin1110.yaml b/Documentation/devicetree/bindings/net/adi,adin1110.yaml > index 0a73e01d7f97..fa30787c663d 100644 > --- a/Documentation/devicetree/bindings/net/adi,adin1110.yaml > +++ b/Documentation/devicetree/bindings/net/adi,adin1110.yaml > @@ -28,6 +28,12 @@ description: | > allOf: > - $ref: ethernet-controller.yaml# > - $ref: /schemas/spi/spi-peripheral-props.yaml# > + - if: > + required: > + - adi,spi-oa-tc6 > + then: > + properties: > + adi,spi-crc: false Please move the entire allOf to the bottom, after "required:" block. > > properties: > compatible: > @@ -43,6 +49,12 @@ properties: > Enable CRC8 checks on SPI read/writes. > type: boolean > > + adi,spi-oa-tc6: > + description: | Do not need '|' unless you need to preserve formatting. Best regards, Krzysztof
Technical Details
Message-ID:
<20261110-stereotyped-tasteful-pelican-29046b@quoll>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359949-linux-kernel-netdev=dewy.ruReferences:
<20261109085952.105331-1-iustin.stolniceanu@analog.com> <20261109085952.105331-7-iustin.stolniceanu@analog.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359949-linux-kernel-netdev=dewy.ru From: krzk@kernel.org (Krzysztof Kozlowski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v2 6/7] dt-bindings: net: adi,adin1110: Add adi,spi-oa-tc6 Date: Tue, 10 Nov 2026 09:05:14 +0100 Organization: Usenet Network Message-ID: <20261110-stereotyped-tasteful-pelican-29046b@quoll> References: <20261109085952.105331-1-iustin.stolniceanu@analog.com> <20261109085952.105331-7-iustin.stolniceanu@analog.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="555208"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:3h60QzyLBmBg1iOlRxmLYQYtWJY= sha256:Uu7G684l7pK+u4Z1TiRO33zo/aJtj1MhfdwzUoWoCjo= sha1:awAr/zNgh+IYIe/F4OwBoQxYYLM= sha256:3l+np2aTABXqOgpWQCTsDsx5QNxkElEd7qSkQJeVRRw= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 52734113A8D; Tue, 10 Nov 2026 11:11:52 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K5u6UIg8txit; Tue, 10 Nov 2026 11:11:49 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-359949-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 4C4771139D8; Tue, 10 Nov 2026 11:11:40 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 293AF646C5A; Tue, 10 Nov 2026 08:05:20 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794297919; b=V+DJ/z8Nlwm2AAPnAdxcqW/CCjRswT1V7YoRpPK7Pz5Dna29FvbtPdZ/vYhiKEDHmqEp K9dJQEx8IIgBdRIVJJZfG9fXgF9gywtmfEwvTDZx2z0FoMnaen52S1mgFpPePzIh7yegy 6xAH10EZ62Y3iJFkpyN9ovtzVJ3rWufHyHidJEx22664lX0fezQQ1xTYKFxmUNyxyb7gZ KIv07braadnbL3xVm/5sH14mFZGnZEhV1Sp+200MXO54ELYGzggfQ6I7sFP8tXJTtxm39 qWr5ZJnjzC6BCfJHY7wBkBIFBN3yrAokQApdMd3zvnPqopQESA7P0UBlF+y6JtzKcFQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794297919; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=RRuKhO+Gqs/aresxXRqjjRtExNAeC2zZMKoz8mC2jhc=; b=0kOuEbu++ywro+z8b8MlkhcH/dMeBQotCGoyYkzTCGXZaDSQa5s8DqlhuYFFrS1FMDnu FyK4eqclURFS+9xhw4xVn8pstCz3seCY6sFMlgtKqZSC1IHbcj0q4EnGv+WaBVk40ADxu uaK6iPc3Yly68QbN+7+scklaMcZ4k1iJt5cwQ1rIMD+IqzopwQ+sl7yS9ZV8Of1Nk02v4 CAvF/VqQq0hSMEhEGJaTWM9+7K6BJjaJFxvcKMYzm4RyPKtS6e44KbjTzibDxtc/+zaxG 0EAi1riyK0ci93m8OH6aMd3bVGUu72P4XLbNqkM3qm8dHOQx1ePVb0nHwGKZhTVUaHg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=KHtWTChy; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C05A606A333; Tue, 10 Nov 2026 08:05:19 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=KHtWTChy X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794297918; b=gEEw3gZoOQCTpIsmW3+/G6RbuswXWLP3GoJ32mBrK78BD0176Sd2j2riE9owmHT47RJ4 jzHbClgD3+WNX6ai3MfkiXdTkhuKIATwMqDTM6N4nwWLhL5LXSoYptARMCCE83Kyabyl3 1TOSu2Xq2qYuAC/QcvwBJ0D6CX/MTApzlvm7Ar2TLbQmsxbx7pLJb+KTA1MgBay3Vu14E kZWlebBJ+pBMIExXD6QmdhuheolElnVjVVrShZ6kJFargWwBEFw1IhM3wj4EMbDLJD4Mi 479lrZym1VhSL9myY2mKZL+c52SoPVlwkNaBiSLKLp4um1C/2Ae+2oqAi1UC7wW2y8w== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794297918; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=RRuKhO+Gqs/aresxXRqjjRtExNAeC2zZMKoz8mC2jhc=; b=eLhyQThlorswYWf9mpIfjux0mHawSDoNFnE48cmbdAnPrCZcFbXMcdvQy6lfJ7NYeXda cD/fyZ58gdZU6WNqED7sKNk0EKC8ZRdPD71N7FipiAXcC6urAiDHgxBCLORI3zC9nrxqO B337wzeEXVOweIfZYds7yp4Y0l5QSxqdvj7r81CuUvneFPMHzcwnl79R1R0Rm7U4+1XDp KGnxzRu5GI9f4CAYFd7cuMaGefOEh4g9DlDkPvseYMc+Fl/Lbwc4uiFb8QLrIViz3KwK9 0mIGg5KRv7YD8YmRuSRLEJ3RiWo+rxGRLa5qvB3P1QNA8krr/+b2Rb2/87oO3e+21kA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=KHtWTChy; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37B4A606A31C; Tue, 10 Nov 2026 08:05:17 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCA851F0089F; Tue, 10 Nov 2026 08:05:16 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794297917; bh=RRuKhO+Gqs/aresxXRqjjRtExNAeC2zZMKoz8mC2jhc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=KHtWTChy3U8TCLPvKYF9zCxkxdw63IKUtrNdOTxtkGMP//+WsPGFNPYbaovW1wmg0 RMRm+v7qu7vDWTJx2oH09qkRpbc2VTAAhpLk23GxLnTBN5PJZ9YpX4Z8KcoIMfs+h9 /S4aabl+ovBcr5nFeu6nDmrj9eQffCXQRR747VjorcQECW8uyRVzs2TOzI79L+Yox5 9w65CfBWgo8kYZgrvbj9ni6QE4g6Ic2jT9QG7s/fEdYlB0tjnRlmWY23xz9df5m7RT TgWFwuFw9RgkdmO/SRghSNj1PSlH41NjoGEJNXZqiaHdP65P+EoOiJpz3JeeHOJw08 +aSkqDYcVfyxg== X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Parthiban Veerasooran <parthiban.veerasooran@microchip.com>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, Marcelo Schmitt <marcelo.schmitt@analog.com>, Alvin ล ipraga <alvin.sipraga@analog.com>, Ciprian Regus <ciprian.regus@analog.com>, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261109085952.105331-7-iustin.stolniceanu@analog.com>