Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3413689rwb; Tue, 16 Aug 2022 02:32:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR5bjHbFEcEfdo1dBeMDDIQK/vPx0bc3uEUqvz7Ds0+LN0lipa8z6hiBTzW/3BY5LANsxN8b X-Received: by 2002:a05:6402:5188:b0:43e:7a7f:34f7 with SMTP id q8-20020a056402518800b0043e7a7f34f7mr17575469edd.406.1660642329498; Tue, 16 Aug 2022 02:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660642329; cv=none; d=google.com; s=arc-20160816; b=ceBpS9X89Z2E24wss4su4DqfriiAfkptACF1v+vsrUyWyu3NW1vuZjhxG2xikeCzfc YMWeSDj4Gxu+f9CZifHRFpttQQkfYcQOvRLk0UTLpGkHzxXvjc3JnDBsjWeblUQStDKG 7pxlLOjgtAMn2MxBKL+Om3TsZqGjzUVgg4x8A9uM+ft0PBwbpINxJJlRTTRDluC8UPKn TsUvs/DKm8bmehZ8VamQSjMKDwT4PT4psxJaMpx4+f7nRyekjVXWtuuqZW3vQOeVjGwC OPX2JjEXgs9VFk6B3jimb+L34tZxXg4/gzpT0WdCj0R0XHUrTP8mabofGhcW2Yx5ZM8Z gcyA== 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=btyntIg+6JbLy0894fPNlZeMSSyk53Lr6h4dc4QK0Co=; b=hKAt4sFvBu6osmRzA4MGFauvgtWXpP8AiP223k4cPV4Jwk9EEtnYhlKXgQ4OjgS1tt /9oNPFZnmeSgsDVXbwYZ4cOnauVnGDyrl0Qs7DhUmsnjrK/atf9DO6pyvksnUH/ZdwpV uv/c/UpIIUt3rhcpHvR51YI0AOthXLTDdkY0j89MEexAEUQkvON68L1nxJbO1dcYX9U/ dJfjIHUnR4igqniUfHp1aQAOBGAtOLUDWJ2QkqMir0fnrLHB/yFaT5JqKutpxCuxljaC FUoJcFm9OR7w2I2V8XV75gWEGagwcKZp7SM3+DZfmShHVoMmZtk610RoDo7bArh/Debx r0hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gLQxbMAX; 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 dc24-20020a170906c7d800b00734b451c8c1si9636220ejb.931.2022.08.16.02.31.37; Tue, 16 Aug 2022 02:32:09 -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=gLQxbMAX; 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 S231268AbiHPJYo (ORCPT + 99 others); Tue, 16 Aug 2022 05:24:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232505AbiHPJYR (ORCPT ); Tue, 16 Aug 2022 05:24:17 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE8FCDEBC for ; Tue, 16 Aug 2022 00:39:41 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id v2so13692064lfi.6 for ; Tue, 16 Aug 2022 00:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=btyntIg+6JbLy0894fPNlZeMSSyk53Lr6h4dc4QK0Co=; b=gLQxbMAXKhy40wWpKbzWV5WJdiOAFd8yiN9e/ugYXdxZgM51yId8ncUlykQBryCSFS gjkk2OImTlXH1dlcpVIJXPt9/NOM4XaJ1lZWiUgrEtEca3g/adpfaEdB0mbaYHKOr8g3 NHCeRyWYN9fAkZQXFViueUT3z4Wf0DSGYKWwxV+11xGVdwHFXMhW0L2437v1NPhtugN5 S+h+zf6a7Ixtt7x+xpnz6zZQIgDXAqFlXXdiA9XOOQV5NAmdhdy3jGL7CCD3+0B5RDHE uw1Z6QVDZWRSyxqAyowNEnMhk9pRXNVtf3Qcj58p/nE9g5UaPgTzfepzMdZOxSOzITxz lnZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=btyntIg+6JbLy0894fPNlZeMSSyk53Lr6h4dc4QK0Co=; b=3wCwS3R7+u9bC48Ecn8WqnEPsJDVRtgC4HhnnatUOrortHKZNzq3c+IzaUspaz11EU Tv0SRKChgZAT+RWlUO7RFQOLyKB6wH0Xox+w2VRxt3LKe6+4879L4lfaU49jzLTwCa+R PWWZFWDqC519e/wbnBrqTSfClhIYHtZqjaejWJaMeCgWp4EWawX7mizP7YifkWbgNesr LCdSDZcSpgwh0J8yGNpuPO9ykGy9BzpiJcn3v13NhWevw0WInpqKXP2ANhZxtVXIH5kO oOe0zZ546wgy8ZwFbPfffOl7jZgFzMF4jUI3xM4Sn9Ma42EqY2O7ryE3nCC8R+QRYOtt J6ag== X-Gm-Message-State: ACgBeo3IwTCuEwdRmKRgUoRofh+FnZIEWRk17XDuZPpSdCT76cM5fjaM hjxHJILvDK8GOPkGc564rjmevA== X-Received: by 2002:a05:6512:25a3:b0:48a:e7e7:eea3 with SMTP id bf35-20020a05651225a300b0048ae7e7eea3mr6296301lfb.205.1660635580231; Tue, 16 Aug 2022 00:39:40 -0700 (PDT) Received: from ?IPV6:2001:14bb:ae:539c:1782:dd68:b0c1:c1a4? (d15l54g8c71znbtrbzt-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1782:dd68:b0c1:c1a4]) by smtp.gmail.com with ESMTPSA id p21-20020a2ea4d5000000b0025df5f38da8sm1706327ljm.119.2022.08.16.00.39.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Aug 2022 00:39:39 -0700 (PDT) Message-ID: <1f84e925-1a0f-6100-c444-a8157e14ab5a@linaro.org> Date: Tue, 16 Aug 2022 10:39:38 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 04/12] dt-bindings: riscv: Add Allwinner D1 board compatibles Content-Language: en-US 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 References: <20220815050815.22340-1-samuel@sholland.org> <20220815050815.22340-5-samuel@sholland.org> From: Krzysztof Kozlowski In-Reply-To: <20220815050815.22340-5-samuel@sholland.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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 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 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... Best regards, Krzysztof