Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5604979rwd; Wed, 24 May 2023 04:27:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6RrhnZT6i/LzQwaHbTnLaz7QxafcTABFHyOqYV0jfsAch++iqBgoPTAeG49X8G9ch8hV2H X-Received: by 2002:a17:90b:3812:b0:255:b7de:b0a1 with SMTP id mq18-20020a17090b381200b00255b7deb0a1mr3943786pjb.10.1684927629204; Wed, 24 May 2023 04:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684927629; cv=none; d=google.com; s=arc-20160816; b=s67f+M/m5y12JqRAt+PUdGZjAYARttZ+f/3QkTeyq/WH6F1GwNwpjS3zPGjj6XqAJE feLI9tQ38OEJbHAKz+75J9Mqo9JFiNa2KEOlWHC3RWH13Z4w4jDL+jej0Rrzv3sijKpI Os3/G9Abdb9UUUoIfNon3FKa22UgNjiakabjf67wldUAyX/z6DMTwj7EjTzHWPbDy750 mOqTdt7uXeHgVKGhAfpfoIcwfh+SpS9C8thdNUFqNSxKhwLcMiwwtmSd2QdSCs8KHZ1S xBTtnQbfRyZqJG5i05JT41F7BsDhRp+gZivP5Bxg4f/hh5UjipwXmkDUD53Frm1QBKeA dXhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l7Cfc4jyB4felj48b6HxqZBNv+Kb4Rp44rjCcY3UAFo=; b=Prv1p43J0cKiMk2I7i/xBz47lNYIuQRSxfcrLyl9fsDShjuAUzpZUxKkD4aBN8pVP3 TR7kmXSvUyy+By9YdPEkyfuCzhocuSaSg1YSN0LjTnmBYY/o+PzfrzwDg42g95fK5Yc9 LiVWMigpmfMUMxOlJQBelFoxpvJ3+2nLkJcpDFu41bYUMcw0APXYXyUAsjft2IqG+sE8 k1Q0w/JonUbtbW78iPM3rSRDmMkPMqzVute6k7N0TWZyz2sL7lPKV0Yqfbldg1A//zOn F1j/zMOWAqT/PH0AvpddK5tFUmr207x0wWTkYk7To/8KDHIeGsi7IjTv3n42e2luZj5G 0rHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=m+ZauJ6f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v16-20020a637a10000000b005348cc20de8si8184229pgc.846.2023.05.24.04.26.54; Wed, 24 May 2023 04:27:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=m+ZauJ6f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229614AbjEXK37 (ORCPT + 99 others); Wed, 24 May 2023 06:29:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232907AbjEXK3z (ORCPT ); Wed, 24 May 2023 06:29:55 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8769A8F; Wed, 24 May 2023 03:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1684924194; x=1716460194; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gwuUuZ5cSF78REHUiHPXnq4Vyh/npUSjZrkX4R0VIcE=; b=m+ZauJ6fdJoInkRXDDeQyVLiiTTteYK6bUrYs6taxmIqZiWXx7tUQr3q HyA43EwMoOVnFV+Cqmixb/n8m1KrKq9Ii3p0G8olUWxeWrvRVUO1bbqlq V1Wdqjxi8K/hpahciz/EBhafn7hE0wznSu4Xo/KzGlPFQ2/H0P9Lgp+Qv MViocoaA9TNqmsVidjNl4G3V5luNP9JA8mkeIla5rtPn+erJbutAU17Kq IW0ruPteuUwPwF2PL6m9ywYD0mYuwtjbSuyPKv0uSvkL5u8EN/3l8I0h/ eyqq9jtSqWz25LXVMEIjHIsSosDd3FKhkva7l7Q0C3vJt+awlKkhlF1gX Q==; X-IronPort-AV: E=Sophos;i="6.00,188,1681196400"; d="asc'?scan'208";a="214671058" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 May 2023 03:29:53 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 24 May 2023 03:29:52 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Wed, 24 May 2023 03:29:50 -0700 Date: Wed, 24 May 2023 11:29:28 +0100 From: Conor Dooley To: zhuyinbo CC: Mark Brown , Rob Herring , Krzysztof Kozlowski , , , , Jianmin Lv , , Liu Peibao , , Krzysztof Kozlowski Subject: Re: [PATCH v11 1/2] dt-bindings: spi: add loongson spi Message-ID: <20230524-relative-trimmer-046fb26a7764@wendy> References: <20230522071030.5193-1-zhuyinbo@loongson.cn> <20230522071030.5193-2-zhuyinbo@loongson.cn> <20230524-pouncing-variable-c520e85f8db8@wendy> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pFaQaHu3/olulfLs" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pFaQaHu3/olulfLs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 24, 2023 at 05:44:38PM +0800, zhuyinbo wrote: >=20 >=20 > =E5=9C=A8 2023/5/24 =E4=B8=8B=E5=8D=884:56, Conor Dooley =E5=86=99=E9=81= =93: > > On Mon, May 22, 2023 at 03:10:29PM +0800, Yinbo Zhu wrote: > > > Add the Loongson platform spi binding with DT schema format using > > > json-schema. > > >=20 > > > Signed-off-by: Yinbo Zhu > > > Reviewed-by: Krzysztof Kozlowski > > > --- > > > .../bindings/spi/loongson,ls2k-spi.yaml | 41 ++++++++++++++++= +++ > > > MAINTAINERS | 6 +++ > > > 2 files changed, 47 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/spi/loongson,l= s2k-spi.yaml > > >=20 > > > diff --git a/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.= yaml b/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml > > > new file mode 100644 > > > index 000000000000..d0be6e5378d7 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml > > > @@ -0,0 +1,41 @@ > > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > > +%YAML 1.2 > > > +--- > > > +$id: http://devicetree.org/schemas/spi/loongson,ls2k-spi.yaml# > > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > > + > > > +title: Loongson SPI controller > > > + > > > +maintainers: > > > + - Yinbo Zhu > > > + > > > +allOf: > > > + - $ref: /schemas/spi/spi-controller.yaml# > > > + > > > +properties: > > > + compatible: > > > + enum: > > > + - loongson,ls2k-spi > >=20 > > I am sorry to jump in here at such a late stage with a (potentially) > > trivial question. "ls2k" is the SoC family rather than a specific model > > as far as I understand. > > The answer is probably yes, but do all SoCs in the family have an > > identical version of the IP? >=20 >=20 > No, but the spi supported by this loongson spi driver are all the same > identical version, and other type or verion spi will be supported as > needed in the future. Does having a catch-all compatible make sense then when not all SoCs in the ls2k family will actually be able to use this driver? Or am I misunderstanding and all ls2k SoCs do work with this driver and you were talking about other, future products? --pFaQaHu3/olulfLs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZG3nCAAKCRB4tDGHoIJi 0lR6AQCPA3ic4UvRm1328KZoL51qPlPWTTYRJxmuXZ0y2gB0hQEA7oBZjGgPzFSy QjkEJA5dPiSEZcAqddQ30sdPQzebbgY= =O8HN -----END PGP SIGNATURE----- --pFaQaHu3/olulfLs--