Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5191616rwd; Mon, 12 Jun 2023 01:04:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7sfBH3AIe6mnMNg52mM1SEaBZsfvzFqZMobkdszM5xo7sE1dAK8WOeZXYCkiTEIU1ynbnD X-Received: by 2002:aa7:d389:0:b0:50c:161b:9154 with SMTP id x9-20020aa7d389000000b0050c161b9154mr5835148edq.11.1686557043822; Mon, 12 Jun 2023 01:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686557043; cv=none; d=google.com; s=arc-20160816; b=WIq6ofcgJBlHeD0/56mDmsxDzQuG+St+ulvPyFJEp2JdXg787ORmhZX9JM+iIJcC27 v8zPfeDLO0pbcTEmVvsmLZqZo01/MDvfXWfcoIg5/C79r9Pf3sUVvRFXZHw2qGl4/R23 08OwANrNyO5DEjTl4C4vFo9/L/a/JM9YrJOQ3RG0FwFKswHPASanAO4gcvUAkyqzs4V7 n7ElCNKj0TzOTl9Gk4kXbGhThY6alx5zcQEPvA6s4K2QlWWvwp+IOz+/A+szR4WKkYQ4 hJ88l8PxG+5MI22IFmrpjBmYavUOVcMjdVrglzkOaUYaxOSL5xFAWeng1jYwR1hb/G+W y7qw== 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=k4K9vc/P7PZKPY6u9WvCuFkP+etNppDCF9LINhRLaN4=; b=lbAL8G6N3cCeO0EA6V9gJL8ipoKc0lzEWP3xtTxVxAfszebqxaH16Cvv6jMrmxXBx8 i1T/P18RvAHbZe1AZW2UWrUN4f91q9aZH9zVzVGJ0i1PS5U0ZPJX55VDl0wf1RF56hvh 5alLissbwyuxFnFgm8xXiF8A7Eack/ntdolcYUtx0khZzDgDv8NUex9CLG4YDMo5T719 eSoTRLque+pj8tZilYM7NAIDRx6NHORSxII/0kMvKkhA8M8K4bFn9bgye/zxKf1d6k39 s/+pJaK2WRXytufeoTPOsJV3rNp00F+xtMt8oxuqE8cF6wqB6oOpbdce0CBP82TGFBo8 RuBQ== 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 k11-20020a05640212cb00b00516a04ea63csi6056608edx.637.2023.06.12.01.03.39; Mon, 12 Jun 2023 01:04:03 -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 S235870AbjFLHun (ORCPT + 99 others); Mon, 12 Jun 2023 03:50:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236430AbjFLHuL (ORCPT ); Mon, 12 Jun 2023 03:50:11 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4F54B10C7; Mon, 12 Jun 2023 00:49:38 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.35]) by gateway (Coremail) with SMTP id _____8Cxe+rsy4Zkgo0DAA--.7674S3; Mon, 12 Jun 2023 15:40:28 +0800 (CST) Received: from [10.20.42.35] (unknown [10.20.42.35]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxVeTry4Zk10EVAA--.61405S3; Mon, 12 Jun 2023 15:40:27 +0800 (CST) Subject: Re: [PATCH v12 1/2] spi: add loongson spi bindings To: Krzysztof Kozlowski , Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jianmin Lv , wanghongliang@loongson.cn, Liu Peibao , loongson-kernel@lists.loongnix.cn, zhuyinbo@loongson.cn References: <20230608072819.25930-1-zhuyinbo@loongson.cn> <20230608072819.25930-2-zhuyinbo@loongson.cn> <6ebed84c-2b42-c981-7b3f-e71cc88e4c2c@linaro.org> <4bf747c4-b767-b20c-e00f-724b50f44edb@loongson.cn> <6bfc2a22-6901-0858-7b90-bc4c52c66810@linaro.org> <11ca2b90-544d-18c2-fb15-7909ca60507f@linaro.org> <9c94397d-1e31-02fa-bdbe-af888c72eac4@loongson.cn> <657f8d19-de83-8be6-4a9d-5f13b1df7383@linaro.org> <84ccf4cc-072d-adbf-0361-95ceae13f333@linaro.org> <5d060cac-ff28-60e9-98a8-f2bd4d378455@loongson.cn> <4e30870d-86e2-8536-8e0d-aab4ce5027d2@linaro.org> From: zhuyinbo Message-ID: <0c532e09-4821-5e07-92e6-7bc3cd79869e@loongson.cn> Date: Mon, 12 Jun 2023 15:40:26 +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: <4e30870d-86e2-8536-8e0d-aab4ce5027d2@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8DxVeTry4Zk10EVAA--.61405S3 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== 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/6/12 下午3:17, Krzysztof Kozlowski 写道: > On 12/06/2023 09:13, zhuyinbo wrote: >> >> >> 在 2023/6/10 上午12:45, Krzysztof Kozlowski 写道: >>> On 09/06/2023 05:13, zhuyinbo wrote: >>>> >>>> >>>> 在 2023/6/8 下午9:26, Krzysztof Kozlowski 写道: >>>>> On 08/06/2023 14:10, zhuyinbo wrote: >>>>>> >>>>>> >>>>>> 在 2023/6/8 下午7:45, Krzysztof Kozlowski 写道: >>>>>>> On 08/06/2023 13:42, zhuyinbo wrote: >>>>>>>> --- a/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml >>>>>>>> +++ b/Documentation/devicetree/bindings/spi/loongson,ls2k-spi.yaml >>>>>>>> @@ -16,6 +16,7 @@ properties: >>>>>>>> compatible: >>>>>>>> enum: >>>>>>>> - loongson,ls2k1000-spi >>>>>>>> + - loongson,ls2k0500-spi >>>>>>> >>>>>>> Aren't they compatible? >>>>>>> >>>>>> >>>>>> >>>>>> Are you saying that the spi driver is compatible with 2k0500 ? >>>>> >>>>> Didn't you say this through 11 previous revisions? >>>> >>>> >>>> Yes, did I understand your meaning incorrectly ? >>> >>> If they are compatible, then they are not part of one enum. They could >>> not be as this would easily fail in testing of your DTS. >>> >> >> >> The "loongson,ls2k0500-spi" wasn't a compatible in previous version and >> I will add "loongson,ls2k0500-spi" as a compatible in spi driver and >> added it as a part of the one enum in dt-binding. > > No, because you claimed - if I understood correctly - that they are > compatible. Don't add fake entries to the driver. > I'm a bit confused, and I just need to add 'loongson,ls2k0500-spi' as one enum in dt-bindings, but driver don't add this entry ? Thanks, Yinbo