Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2959046rwr; Sun, 7 May 2023 01:18:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6rrbtxYyPGEPqYBoizy1JsBb7TBr821fvPF2IkGXKmuAZVLs2qcuX4A0NlqGY6K0vOSe4T X-Received: by 2002:a17:903:2312:b0:1ac:656f:a697 with SMTP id d18-20020a170903231200b001ac656fa697mr2673497plh.21.1683447485818; Sun, 07 May 2023 01:18:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683447485; cv=none; d=google.com; s=arc-20160816; b=iYjhs/lF4jNWyml1tLcfcCHlfS7zDh2LKSoNzTbO90K0u9ZdMUdZ57Kpd/7oVrG19Y v2C5U3GQc5LpF3zNrvKdC6LOefgsHeR0tbBW93zeh6tfFDIz9Ki2T6wxOIuxnhPdFxjS 5E/m2zZf5oy9L/rFcheeEB8T65Cu83IQimvm5NcK/iVhCmkjIf86jMRcdYjnBcao2epr sfxqpzjuhLlXWm2pGnmf8xSyg6WqjTAxqBvlsOC7XRJdTxy37S+Ez5qdItL1N5paZer6 /AibcJ+owYbyu3u6Feqgir1CVjxDwie4lCf42oNXP+P730Y/V1GVQnN/z29loBF3NPmK B93g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Q9wnpI4LY5XA7ZQ+x1OC+Dma/LdGYKig7MCJcU9UgWw=; b=0VtwIzev0HBkwfDxM6sDRklXrmEjNsJWh7welI4XnsVPmj2O/TVevXPylwA+1mx6qq CRTp0H/TflKVVYpuchYVaEh6VLMV0luoCy+sjDl95In1Kg8I8wkHXejHQfIijLjQ4Nv7 t0udVHGXo+DXpqHmRHu4MOkywR576p1KaL5kx4fkWCTi+JAisqNJbwi+t8QSJhYt9Fhc s0yJDgOzze44x4IBqEk3eEpB79oo11o1mbW8DvgKCmeK+7e2WWTyDfvagnZ3bE9R4NUX 7sMVDZv2dpOzaJjZG8JKgJKIRlhLWvF5bT9+qYyb4+aUq0XUITp73nOE2wJgMkY8NGa/ MmUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZhaZCy9K; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q3-20020a170902788300b001a1ee8ceedcsi5338944pll.495.2023.05.07.01.17.54; Sun, 07 May 2023 01:18:05 -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=@linaro.org header.s=google header.b=ZhaZCy9K; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230381AbjEGHni (ORCPT + 99 others); Sun, 7 May 2023 03:43:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbjEGHnf (ORCPT ); Sun, 7 May 2023 03:43:35 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E47808A4F for ; Sun, 7 May 2023 00:43:33 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-50bcb4a81ceso6112887a12.2 for ; Sun, 07 May 2023 00:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683445412; x=1686037412; 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=Q9wnpI4LY5XA7ZQ+x1OC+Dma/LdGYKig7MCJcU9UgWw=; b=ZhaZCy9KPVktg8gk9WLJpJ7otcDqj8JSnPjsZx621SYMTNO+STM7SMCG482IPpxMgB rIWJcxQxiG2o2RrweoZ0hdOTEwhzB0IC0v0BBryP6m1+VjRCXMAnMXyEQaZHRghEj/Ax zO7IQyrgB2UwvDdDQPVuZH9UHsF9eWasvcpJS1uf/WPTRlM8+RZKcePxyegpmo40DurV XtSog6pz8tYnfWyrBg64MUTELbjgWTyNcxilsqg40f+MxSZCe8kOzkn754NDbwyeETmE Exe5Mr0V8plqQ6dT4cpudrvIEwVA5/rU/o0hshSigsKoxqbuVanqYU7PlGsLSa284XM9 RuPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683445412; x=1686037412; 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=Q9wnpI4LY5XA7ZQ+x1OC+Dma/LdGYKig7MCJcU9UgWw=; b=OJ0eqIyQai7VTRrG+vXYqNPc3+0AFitYaquFsnowL6iBFe4A25vM1k0JB4wWDinQK7 b1FLWttwL4IIUyfBO+wffUMDpdpqzf/HP1lczj14NoZiEqwWpIIn0UVggTTpNXaAO4lt fykYi25R6LEoLeW+HH4hxUXu+YOHElnNMNU9Og7IagmJLnOUimq6+hyg92NpHILkZEQW qp0lXBgv9Vhs31aiPntadOpMcqPG7O23EfC5we6twNRO5/w8+FC3uBoJAs61qxS6oiY+ jUls+A5czTh6plSMfiKzfxzem06DyWrXKojNVxq2jAJHSYLyZa1sC670ZYXYfKZDYaPu bQiw== X-Gm-Message-State: AC+VfDxqbAPGA0/sosCbs6vvaDA3v1YOvvp1k1819LpZImjiUdqAzpj/ GMcviKq87c9DLT61xt0PcT1+Lg== X-Received: by 2002:a17:906:9b89:b0:94a:5ecb:6ea7 with SMTP id dd9-20020a1709069b8900b0094a5ecb6ea7mr6771988ejc.43.1683445412357; Sun, 07 May 2023 00:43:32 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:183b:950f:b4d5:135a? ([2a02:810d:15c0:828:183b:950f:b4d5:135a]) by smtp.gmail.com with ESMTPSA id n5-20020a1709065da500b00965e68b8df5sm3063825ejv.76.2023.05.07.00.43.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 May 2023 00:43:31 -0700 (PDT) Message-ID: Date: Sun, 7 May 2023 09:43:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v3 1/5] dt-bindings: spi: sun6i: add DT bindings for Allwinner R329/D1/R528/T113s SPI Content-Language: en-US To: Icenowy Zheng , Maksim Kiselev , Andre Przywara Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Cristian Ciocaltea , Maxime Ripard , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20230506232616.1792109-1-bigunclemax@gmail.com> <20230506232616.1792109-2-bigunclemax@gmail.com> <835082fe07b77db8598aebabe98a74c2c5ac47d1.camel@aosc.io> From: Krzysztof Kozlowski In-Reply-To: <835082fe07b77db8598aebabe98a74c2c5ac47d1.camel@aosc.io> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 On 07/05/2023 06:06, Icenowy Zheng wrote: > 在 2023-05-07星期日的 02:26 +0300,Maksim Kiselev写道: >> Listed above Allwinner SoCs has two SPI controllers. First is the >> regular >> SPI controller and the second one has additional functionality for >> MIPI-DBI Type C. >> >> Add compatible strings for these controllers >> >> Signed-off-by: Maksim Kiselev >> --- >>  .../devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml   | 7 >> +++++++ >>  1 file changed, 7 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun6i- >> a31-spi.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun6i- >> a31-spi.yaml >> index de36c6a34a0f..807dde457e3b 100644 >> --- a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31- >> spi.yaml >> +++ b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31- >> spi.yaml >> @@ -21,6 +21,7 @@ properties: >>      oneOf: >>        - const: allwinner,sun6i-a31-spi >>        - const: allwinner,sun8i-h3-spi >> +      - const: allwinner,sun50i-r329-spi >>        - items: >>            - enum: >>                - allwinner,sun8i-r40-spi >> @@ -28,6 +29,12 @@ properties: >>                - allwinner,sun50i-h616-spi >>                - allwinner,suniv-f1c100s-spi >>            - const: allwinner,sun8i-h3-spi >> +      - items: >> +          - enum: >> +              - allwinner,sun20i-d1-spi >> +              - allwinner,sun20i-d1-spi-dbi > > In this case I will prefer to list all 4 compatibles if backward > compatibility is used: > "allwinner,sun20i-d1-spi-dbi", "allwinner-sun20i-d1-spi", > "allwinner,sun50i-r329-spi-dbi", "allwinner, sun50i-r329-spi", in case > if we were gaining support for either quirks of D1 controller or > SPI_DBI controllers. > I don't understand. If I see correctly, all four of them are specified. Best regards, Krzysztof