From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB1B7C7EE29 for ; Thu, 8 Jun 2023 13:26:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236728AbjFHN0u (ORCPT ); Thu, 8 Jun 2023 09:26:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236138AbjFHN0t (ORCPT ); Thu, 8 Jun 2023 09:26:49 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 029781706 for ; Thu, 8 Jun 2023 06:26:48 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-976a0a1a92bso120338866b.1 for ; Thu, 08 Jun 2023 06:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686230806; x=1688822806; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gzWlAY0Wmvknnc3spmuP+VktzOnlDk3j1gTYnrGy5j0=; b=KOSqDLQoTv/GSUjQvSPW820R/w3aStZVHnoyaRmnOMIn18NbF/f78tTmqw8QL1v2gP 5p3vfHbdDZUYDa/sGYQgaSa4D2v5dmxAxgqDVmJDASA5JaqL5mBih3pArZSNG62L0haJ HpRqFxZqUm4Xu6X8+olsiXkoaNECQbO6kJqZDfSCMyFtsWhYLLN0aEh6/Hqt5ZukESTc Ys5Xj1Gpt4Ci75Pfqc+sxDngrt6RBrEfIaBgC0PfuPUAmpn0wlDAlsYHTt6tzAHkb0lB bbn6E716hESmNIjeTU1TqQ2qY1dpBEqtt3dERKj2nK38QtbZdY8iUPU+ibhBt0ASjMGx Sp2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686230806; x=1688822806; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gzWlAY0Wmvknnc3spmuP+VktzOnlDk3j1gTYnrGy5j0=; b=diT15MOichxRSVRG7JMPrz8Oz1TvdSNkfbkSmVl0zGXiGg+6raqyLNTtNQ33weqjeL +NbfiBHCNpQRXptbc+hNNPL7O4vPsMQmS6IcBhUBBj+np1s6ZWosRrElAK//ivjHuWbR v3W+zXeVDLYlo8OFj1aNFS1+pajRSvyOsLPNj4geMk7UOerclOEfbxz+75dt0E96GXNr Ue8V7cowmDxwBb95cH5yTfp3c+7Cka3F1fwPfCBChLCtnUkjkPUirWDyg3kIrJuCWUKl c5d1qYgkp28wIb+3Yqw65AOiDRVyjszjiT2MzArYC7shvhSKfyRmHMRlYjN4ZeUc1xMs gJRg== X-Gm-Message-State: AC+VfDxLmLsjbuqc6AToAIcGMG/ElCm5hTEB8vAHvvEvmmvzyX9TvGCf b/x3zsMxY3dfI48cRyF4Z0k6Fg== X-Google-Smtp-Source: ACHHUZ7ne7JCY+VYzIO80nsZqHqRhnjE92GFb4pNM5AvSXrdGrAEanBKKnmEo+GRnqtD/ReuVDxz7A== X-Received: by 2002:a17:907:16a5:b0:978:6be4:7efb with SMTP id hc37-20020a17090716a500b009786be47efbmr9925080ejc.7.1686230806449; Thu, 08 Jun 2023 06:26:46 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id dv26-20020a170906b81a00b00977cc84975fsm704390ejb.72.2023.06.08.06.26.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jun 2023 06:26:46 -0700 (PDT) Message-ID: <657f8d19-de83-8be6-4a9d-5f13b1df7383@linaro.org> Date: Thu, 8 Jun 2023 15:26:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v12 1/2] spi: add loongson spi bindings Content-Language: en-US To: zhuyinbo , 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 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> From: Krzysztof Kozlowski In-Reply-To: <9c94397d-1e31-02fa-bdbe-af888c72eac4@loongson.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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. and the 2k1000 spi hardware was same with 2k0500 common type spi > hardware. > > but afterwards, it may be necessary to implement a clock drvier for > 2k0500, because the spi driver was use "devm_clk_get_optional()" to > get clock and not use "of_property_read_u32(np, "clock-frequency", > &clk)", But this seems to have nothing to do with bindings. > Best regards, Krzysztof