Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5510375rwd; Wed, 24 May 2023 02:55:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4XGvrgyNSNWUZTjShgYM6HF/1kb4owxmbu7sG0GU6d9VxwH8cYT3hcxr0CBIGiivgTXxaH X-Received: by 2002:a05:6a00:cc5:b0:644:ad29:fd37 with SMTP id b5-20020a056a000cc500b00644ad29fd37mr2338461pfv.28.1684922152137; Wed, 24 May 2023 02:55:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684922152; cv=none; d=google.com; s=arc-20160816; b=U6Yqh0tlOZ7j9QoXf+unQFIiN09oNkJ8hMWpfmHOJrSAWFxM2L4eTI3VEuV0Oiw94o Oc85o+FByjfLs3ZAOdp+oi4qu+KKBu2jqQ+HiOYujYwkpOwuKHHGJ0kOEvGIdid+Dnkf 4DgmVRfRiElwlJ+fNLMLBDWIHWfeuma7iPlfAZQ3dXz2ypgm4U79xTDIx0OZW7BqD05y P16HNgV5n6qXpxLG37WHFoIGFszKiTRd6Qmyyqjsmqq7GYkCBcK2gNffVLp/SdRmTqjk Qwe8hkb6UJ19CfZtUFf4dK06A6KMdXiL1amtcvh48aR4dF+045wRoDDUH34WbBwo1qCB DHnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=ryMGNexDUzq+G8MsFzQ/YVtONLcGqb2KMBV1gFM4Af8=; b=MsDnHIUtnABnd2w/YCw51hL484X31+c1j0WVNczzjAw9gDvwXxQOcwHK+U9wT91ytg smE2FiLOT31Q5TvCFhvy9BUwBLf2mvMyUepYM8I8HCStItifGgbK4GE0PAirAg847YoG g52lTKt4JHibhkopbL2tVEbEHBqXOKbXZ+Z+NFKkHYKc5WA0W0aA0TZQ7B8JakKixOu3 cT12kiW7x0VB8xzNKNYJCyccXHjsVSKCwarwGcttQyVa3alVOzWMxvQSqUE4nMVf0N0Y qh5rmuz75N4pEN+YDZPwjl4BchBYfNSDXqMB9cFtwu+Zc73eaHbIjxcf13cn8XDIlsHG YvEA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020aa79f0d000000b0064f7150b45bsi124359pfr.352.2023.05.24.02.55.37; Wed, 24 May 2023 02:55:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230031AbjEXJoz (ORCPT + 99 others); Wed, 24 May 2023 05:44:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230143AbjEXJop (ORCPT ); Wed, 24 May 2023 05:44:45 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6058595; Wed, 24 May 2023 02:44:41 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.35]) by gateway (Coremail) with SMTP id _____8AxyfGJ3G1ky2EAAA--.1143S3; Wed, 24 May 2023 17:44:41 +0800 (CST) Received: from [10.20.42.35] (unknown [10.20.42.35]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxqraG3G1kobRzAA--.61836S3; Wed, 24 May 2023 17:44:39 +0800 (CST) Subject: Re: [PATCH v11 1/2] dt-bindings: spi: add loongson spi To: Conor Dooley Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jianmin Lv , wanghongliang@loongson.cn, Liu Peibao , loongson-kernel@lists.loongnix.cn, Krzysztof Kozlowski , zhuyinbo@loongson.cn References: <20230522071030.5193-1-zhuyinbo@loongson.cn> <20230522071030.5193-2-zhuyinbo@loongson.cn> <20230524-pouncing-variable-c520e85f8db8@wendy> From: zhuyinbo Message-ID: Date: Wed, 24 May 2023 17:44:38 +0800 User-Agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20230524-pouncing-variable-c520e85f8db8@wendy> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8CxqraG3G1kobRzAA--.61836S3 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvJXoW7Kr4DGr4ftw1rGw4rAFy3twb_yoW8Aw47pa 47CFnxKFW0qF17ArZaga48CF4fZr93A3WUtr47Kr17Cas0g3WYqayagF98ZwsxCF18GFWU ZFW0gw4UKa18ArJanT9S1TB71UUUUUJqnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj qI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUIcSsGvfJTRUUU bf8Fc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUXVWUAwA2ocxC64 kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r4j6ryUM28E F7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJw A2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Cr1j6rxdM2kKe7AKxVWUXVWUAwAS0I0E0xvYzxvE 52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I 80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcVAKI48JMxk0xIA0c2IEe2xFo4CEbIxvr21l42xK82IYc2Ij64 vIr41l42xK82IY6x8ErcxFaVAv8VWrMxC20s026xCaFVCjc4AY6r1j6r4UMxCIbckI1I0E 14v26r1Y6r17MI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4 CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1x MIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF 4lIxAIcVC2z280aVAFwI0_Gr0_Cr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsG vfC2KfnxnUUI43ZEXa7IU8gdbUUUUUU== X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,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 在 2023/5/24 下午4:56, Conor Dooley 写道: > 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. >> >> 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,ls2k-spi.yaml >> >> 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 > > 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? 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. Thanks.