From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796149439; b=b3doi2HPNP36I8YNOMm/ki4EHNz1gF/2a8wes43w066dh7DlYGfdhAsk2IEvCkOeyUyN eVPetPQxWFLZEqG0oZuFxKNS75qMIZlp05K2UIfBjHXKcxTFmszXA2vmT243WSeiANC5P +DqudiPcVfYL/l0cvwoEZsdjE31DETTzLqABEz5//23QtPNbOxIIM71Bgh+v3/LW8gUVI rIXvEunmNL7PaZZnO9b3WCk6u0YXQFXkrRwZ3mthMFYQfjPeYs8MxrTao5/5Ma0vWMA4I HtYwoJ/dAATUZ8bWR4KKnSvLqbfuhtE+FiWKqgdK8yGfHUTVXGpNu44DkeVJZB01oWw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796149439; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=vkusZjluEsURSn9+YPgke1H+PLhM154iHouqA3zu7Ck=; b=TluT1clUDeCZJCYHMrLOyocuno/VQyy/AMknAgBT9HQmnqLvCDDeJqFFZRWzdojClFvP lkUtYHAXTpnfIJLuVXjtKtR99IbQYzNWFxdSdE5MWbkMq0g6XQeHzlNS7AhIsBoy41gYC O1EPL+F+8F2kGvaron49RTTLuQdIwVKCqFzV5TrT3BixCDnOfCo80brRhOx6Sr1TwCn47 ifoxmDojNXgkjW66s6pX767zgMsTSWYtbQRjh2Vw+ZCqqk/XaSDbfQfGjNcZqTpavVUVV 0Y3bf18yicc66aIayNEtCtDnFMM5QCO1wpNfYQSQlFYDQ9rrJg1K71c1ePpCTwK8zGA== 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=aQF0+IO8; arc=none smtp.remote-ip=100.103.45.18 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 C0779606A329; Tue, 1 Dec 2026 18:23:59 +0000 (UTC) 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=aQF0+IO8 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8ABBD1F00893; Tue, 1 Dec 2026 18:23:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796149439; bh=vkusZjluEsURSn9+YPgke1H+PLhM154iHouqA3zu7Ck=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=aQF0+IO8AJ/zi+KM62qCv75dwSdBnn4dH/faMo/m10c0g/Oh3NyYEHqz6a/4+qX+z f+wMb0DOgFaCD5UYx5sH22BquG+NzWvPCCU5d8Vw6Gam8dM08WXbMRMGFrO9R2xwim cgQtDaV0NmVVcANp1/3Nah4yLxfgcF1HK88wkBxUQmOeqEugK/Yl97NsHJfv+jPLaA ZmctGw0OEqXD8jIMtkxieYURLTLCix1Hkj5g3eqelxI4TwaHpjDp/i7+Z05+fzOkDT mSGcwkDIr/BjI3sly5SXlrsbD3JoG35jFsKG5RVxx+Romi026Llulle/vci5UTbN75 5MD2nKBgFYc1A== Date: Tue, 1 Dec 2026 18:23:54 +0000 From: Conor Dooley To: Binbin Zhou Cc: Binbin Zhou , Huacai Chen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yinbo Zhu , Mark Brown , Huacai Chen , Xuerui Wang , loongarch@lists.linux.dev, devicetree@vger.kernel.org, linux-spi@vger.kernel.org, Bingxiong Li Subject: Re: [PATCH v2 1/5] spi: dt-bindings: loongson,ls2k-spi: Document loongson,ls2k0300-spi compatible Message-ID: <20261201-undesired-cold-382306db57af@spud> References: <2e9e45a031c4b65e36756cfdf0e575b46ccb34ea.1796005812.git.zhoubinbin@loongson.cn> <20261130-rocket-broken-44afed17c091@spud> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Uk4lfmB2T3o6oQs+" Content-Disposition: inline In-Reply-To: --Uk4lfmB2T3o6oQs+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 01, 2026 at 10:57:22AM +0800, Binbin Zhou wrote: > Hi Conor: >=20 > On Tue, Dec 1, 2026 at 1:53=E2=80=AFAM Conor Dooley wr= ote: > > > > On Mon, Nov 30, 2026 at 10:33:00AM +0800, Binbin Zhou wrote: > > > The SPI flash controller on Loongson-2K0300 shares the same register > > > layout and functionality as the one on Loongson-2K1000. Add a dedicat= ed > > > compatible string `loongson,ls2k0300-spi` with > > > `loongson,ls2k1000-spi` as fallback to allow proper DT binding. > > > > > > > > Also add an optional interrupts property, now that the driver supports > > > interrupt-driven transfers in addition to polling. > > > > Driver has no relevance to whether or not the hardware can do it, so the > > explanation should use that as a basis. > > > > I assume 2k1000, 2k0500 and 2k0300 all support interrupts? >=20 > Yes, the SPI controller hardware on all three SoCs (2K1000, 2K0500, and > 2K0300) support interrupts. >=20 > Actually, adding `interrupts` is something that was missed in the > series (commit bb8651fab896[1]). Would you prefer that I split the `inter= rupts` > addition into a separate patch in v3, and reword the commit messages based > on the hardware capabilities? Eh, doesn't really bother me which way you do it, provided the commit message says that all devices have interrupt capabilities. Drop the mention of the driver code though please. pw-bot: changes-requested Thanks, Conor. >=20 > [1]: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git/comm= it/?h=3Dfor-next&id=3D46764ef4de201e0de647bfa35f018d30fd80d3f0 > > > > > > Cheers, > > Conor. > > > > > > > > Signed-off-by: Binbin Zhou > > > --- > > > Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml | 4 ++++ > > > 1 file changed, 4 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.= yaml b/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml > > > index de9d32feadf5..8a36dbece788 100644 > > > --- a/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml > > > +++ b/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml > > > @@ -19,6 +19,7 @@ properties: > > > - loongson,ls2k1000-spi > > > - items: > > > - enum: > > > + - loongson,ls2k0300-spi > > > - loongson,ls2k0500-spi > > > - const: loongson,ls2k1000-spi > > > > > > @@ -28,6 +29,9 @@ properties: > > > clocks: > > > maxItems: 1 > > > > > > + interrupts: > > > + maxItems: 1 > > > + > > > required: > > > - compatible > > > - reg > > > -- > > > 2.52.0 > > > > > > >=20 > --=20 > Thanks. > Binbin >=20 --Uk4lfmB2T3o6oQs+ Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCaw8QugAKCRB4tDGHoIJi 0j3rAQC/UWxmHtgb0d+G/NGlwUuE7H/yhT/QoxU/k7CopFJ7lgEA/XUeEk71nVQj SsfP64JiO7WJi+aXxnMQVEgvTPikJgw= =RhUv -----END PGP SIGNATURE----- --Uk4lfmB2T3o6oQs+--