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 446A6C77B7D for ; Wed, 10 May 2023 10:33:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236640AbjEJKdy (ORCPT ); Wed, 10 May 2023 06:33:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236369AbjEJKdv (ORCPT ); Wed, 10 May 2023 06:33:51 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 429D535BD; Wed, 10 May 2023 03:33:50 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 70CF11063; Wed, 10 May 2023 03:34:34 -0700 (PDT) Received: from donnerap.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 845DE3F5A1; Wed, 10 May 2023 03:33:47 -0700 (PDT) Date: Wed, 10 May 2023 11:33:45 +0100 From: Andre Przywara To: Maksim Kiselev Cc: Icenowy Zheng , Krzysztof Kozlowski , 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 Subject: Re: [PATCH v5 1/5] dt-bindings: spi: sun6i: add DT bindings for Allwinner R329/D1/R528/T113s SPI Message-ID: <20230510113345.0850c7f3@donnerap.cambridge.arm.com> In-Reply-To: <20230510081121.3463710-2-bigunclemax@gmail.com> References: <20230510081121.3463710-1-bigunclemax@gmail.com> <20230510081121.3463710-2-bigunclemax@gmail.com> Organization: ARM X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, 10 May 2023 11:11:08 +0300 Maksim Kiselev wrote: Hi, > 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 > Acked-by: Krzysztof Kozlowski thanks for the changes, looks good now and dt-validate passes. Reviewed-by: Andre Przywara Cheers, Andre > --- > .../bindings/spi/allwinner,sun6i-a31-spi.yaml | 10 ++++++++++ > 1 file changed, 10 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..fa5260eca531 100644 > --- a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > +++ b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > @@ -19,6 +19,7 @@ properties: > > compatible: > oneOf: > + - const: allwinner,sun50i-r329-spi > - const: allwinner,sun6i-a31-spi > - const: allwinner,sun8i-h3-spi > - items: > @@ -28,6 +29,15 @@ properties: > - allwinner,sun50i-h616-spi > - allwinner,suniv-f1c100s-spi > - const: allwinner,sun8i-h3-spi > + - items: > + - enum: > + - allwinner,sun20i-d1-spi > + - allwinner,sun50i-r329-spi-dbi > + - const: allwinner,sun50i-r329-spi > + - items: > + - const: allwinner,sun20i-d1-spi-dbi > + - const: allwinner,sun50i-r329-spi-dbi > + - const: allwinner,sun50i-r329-spi > > reg: > maxItems: 1