Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3501723rwb; Tue, 16 Aug 2022 04:20:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR6+Kox4czh9+i+DPQ5UATB240W1XLHsdKA2xdkXtgVipevic0DS1ait3m2wFb8olu9B5iBr X-Received: by 2002:a17:907:9710:b0:731:67b1:dc3b with SMTP id jg16-20020a170907971000b0073167b1dc3bmr13335403ejc.709.1660648835399; Tue, 16 Aug 2022 04:20:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660648835; cv=none; d=google.com; s=arc-20160816; b=szBl1t5oc1xvKEzwG/T4m40MOdTQneyWbmvQ1I4S25xGBVt5b1h3XDTxbJqk8tyaK6 gA6BF4J99vCHHNw6elSlnPFTXWakY8SYfX9iwXVVy1avZwF99fmpK4djYb2y2SaM4sKy h53iRNQYro+Eycq2xFm57RXesczTJAixS4OqYFEj0sJnGpQC1Fet6NNFxTtENIeWCZqK a5YEQGzzO5C1Ak3iKuVcreQEAUZNJ4xJ8VQeSxoRBo8dGE+5zp+5kwL9DB4fGSjQ0705 sg1Ki2hfx38/EJYG+UXvkKedclVZA+AWSEt71FJe8wAPDy5heCrfrssA4H2zoVrzvDK9 Smqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=SDR1kOK5D4ozuDVJtkOTLQUT2iomXuoWMNpQP6ZjCq0=; b=pUspL7fFqT1EF+9DHeLCQowphQXoB5/uabDGHXA4csa8nBrSvc28CfSKWPdsv6Q11S GQZKsXsuGSiNeMoeXWt/JjEi5sfTuaiV3wrFQ1ieSXBNaB3zbzgdzHNyC4OLUzIDcdmW 6cL9+X5uTgIzrAmRWVXOuDZBAeg2dIyJtddcML9Y9fjCLRIJmMjnnPqcbmQTMdTU7mLN am5Tdv+IqtfaOBMNy203E0Zf9jKfs9slzPJn6AexDCH4AqjUhdNluJFTdQpI6lpgvkuy yQvmyu6crK/uxL8Ks0YknKgLBkqJCv+MbTVRDzVIcxdfOcjeYidfFS9DB+i0NxTuFA94 PH6Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a05640250c600b0043a6ddb2941si10684374edb.253.2022.08.16.04.20.09; Tue, 16 Aug 2022 04:20:35 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234796AbiHPKfG (ORCPT + 99 others); Tue, 16 Aug 2022 06:35:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234421AbiHPKen (ORCPT ); Tue, 16 Aug 2022 06:34:43 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF43B580B3; Tue, 16 Aug 2022 02:02:56 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oNsTH-0002ls-7s; Tue, 16 Aug 2022 11:02:47 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Samuel Holland , Chen-Yu Tsai , Jernej Skrabec , linux-sunxi@lists.linux.dev, Palmer Dabbelt , Paul Walmsley , Albert Ou , linux-riscv@lists.infradead.org Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Krzysztof Kozlowski Subject: Re: [PATCH 04/12] dt-bindings: riscv: Add Allwinner D1 board compatibles Date: Tue, 16 Aug 2022 11:02:46 +0200 Message-ID: <5849253.UjTJXf6HLC@diego> In-Reply-To: <1f84e925-1a0f-6100-c444-a8157e14ab5a@linaro.org> References: <20220815050815.22340-1-samuel@sholland.org> <20220815050815.22340-5-samuel@sholland.org> <1f84e925-1a0f-6100-c444-a8157e14ab5a@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Am Dienstag, 16. August 2022, 09:39:38 CEST schrieb Krzysztof Kozlowski: > On 15/08/2022 08:08, Samuel Holland wrote: > > Several SoMs and boards are available that feature the Allwinner D1 SoC. > > Document their compatible strings. > > > > Signed-off-by: Samuel Holland > > --- > > > > .../devicetree/bindings/riscv/sunxi.yaml | 64 +++++++++++++++++++ > > 1 file changed, 64 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/riscv/sunxi.yaml > > > > diff --git a/Documentation/devicetree/bindings/riscv/sunxi.yaml b/Documentation/devicetree/bindings/riscv/sunxi.yaml > > new file mode 100644 > > index 000000000000..564a89499894 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/riscv/sunxi.yaml > > @@ -0,0 +1,64 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/riscv/sunxi.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Allwinner RISC-V SoC-based boards > > + > > +maintainers: > > + - Chen-Yu Tsai > > + - Jernej Skrabec > > + - Samuel Holland > > + > > +description: > > + Allwinner RISC-V SoC-based boards > > + > > +properties: > > + $nodename: > > + const: '/' > > + compatible: > > + oneOf: > > + - description: Dongshan Nezha STU SoM > > + items: > > + - const: 100ask,dongshan-nezha-stu > > + - const: allwinner,sun20i-d1 > > + > > + - description: D1 Nezha board > > + items: > > + - const: allwinner,d1-nezha > > You grow the list unnecessary. Several entries should be an enum, unless > platform maintainer insists on such approach for all Allwinner Riscv > platforms. Just be aware it will grow... Having the binding document provide value to mere mortals and not only the automated tools is plus for me :-) . So obviously personally I like the current style more. But yeah, it's mainly a matter of preference :-) .