Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp140936imn; Wed, 27 Jul 2022 02:05:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tx9ef5GyUlgQv6Hk7ACbiRlykIpCAo9A2m2oNr0/TDyHXSfM55MsFfOJfPyzr/NJxC4V35 X-Received: by 2002:a17:90b:1a86:b0:1f3:e46:75d9 with SMTP id ng6-20020a17090b1a8600b001f30e4675d9mr1366777pjb.60.1658912713736; Wed, 27 Jul 2022 02:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658912713; cv=none; d=google.com; s=arc-20160816; b=v8eYrQHrRhQp+kQELDw7+7YGGav5y3CCVYaVCmMeMRfUevVadwwz95qR0CCzMGGY4s bGo8iHYrPC7Bh9ma3IJk4WPyIVoZTX79aZWldL3U26B50w7fUOtWyJht6EyULI9TuLpQ lv9afCRjrxQiXWjPVZQEYlWIfE8aOQCrKO44N9o0jYSxpouHzDoi4YFOfvmic6Ee3rEr GnBMCVjHvG2/EladsEZeRXro2uqZ1rkM8xOMqvvYAQ/JYWQaLdvUMjjsfaXkFB9/6PcT hylw8WyTSUdYoUCWb2QUoqP6SAolXzta58lDWYf5ohxt7oi+gqBkTp+fVCB9v9EA3h4G 60rw== 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=wfvzPXMvgYMiUrKp+h3pAdWcM4mbvmMcUUFl5h9IQqY=; b=wg5dF52aqrYLG4XwKXEOPu5DUDRojf+Lqh4z/2URlWLOWxuR0E3QlzQl5Etx/dbkC4 FM8y0PZfuHUbho3AXZckExNpIY8SFCFtnZ+gdRz7p6uJ+psO3809Ec2aWJXXxeOmS27f JsCdYJz5vfjGC6CAK2jfD4Txttw6OPIqGTVxKYzDWhguYf34PVPrLegQMmARScDn1vrB 3yLUuSntVnr4TK1XKJq4bjmORq9rc1a7/OwK7EUa1c8jDHDEAaDrAwBtrOjFMgwOiCJ6 FZV/vo9wFQ5ao2+ia0a6kN590yZmG39vRid5lQCWKq2bZdb73X/kSeUBm04ArqlfA12A 7W9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qdAQFECb; 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 k64-20020a636f43000000b0040cf7280474si20401285pgc.75.2022.07.27.02.04.57; Wed, 27 Jul 2022 02:05:13 -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=qdAQFECb; 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 S231163AbiG0Iyb (ORCPT + 99 others); Wed, 27 Jul 2022 04:54:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbiG0Iy3 (ORCPT ); Wed, 27 Jul 2022 04:54:29 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5804446D88 for ; Wed, 27 Jul 2022 01:54:27 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id t1so26121596lft.8 for ; Wed, 27 Jul 2022 01:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=wfvzPXMvgYMiUrKp+h3pAdWcM4mbvmMcUUFl5h9IQqY=; b=qdAQFECb5vde05XPxQXR6CSFIyJRylut7jx8bcMsVR/UT2cFrh5p1DL5iaKRGKxKEn iWmKC4eWCe2kTHSNk2idpONMN1Plt2Xcy6sbKw+4wxFRYmcMzU2SdfeeuMQL9Y6v0qde Cp7YyOReDTwUeOu6Cri18GQ6ve0xOo7ZGVDHSfJLxIOcj+Yk81Lq2oASn/QF12HlTU97 OtjDCJOj7uUZIr1wPegm1SeS7E/frwmpNoBtrnZB0mY9an9LuxJWz61flrjSNn9LV0LT xe6zjnvWTzt4k+kZXfINYP6ljKljyrQ805Tdh2ZLey72Rw0tArnnWcuEzZBIij+rj/FF E7Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=wfvzPXMvgYMiUrKp+h3pAdWcM4mbvmMcUUFl5h9IQqY=; b=sWTu6yRhCCvP+FiOeW+iiTXpywlR/q+rrEjw9SG7HEBDPPYOiMA+CdL+aWBwvy776y Hux3rr583jfg/NEsho4MwRdzIEwJ1Zk/CbhpA5TYbj/ix8H/OFTilKfs1b5P0eucS5Se foHcJQNqt/HpiXIAoz1/UeKiZvCVQoJ0+0HxCmNA5ivzt6puVWQUVZ6p8xzu3I/t13h/ G3zohMwwvp1uHJ/kACmm2WUz3Bm161+rvl8jgC6x0TrT+sVpeijVkL1QKXN3e+U1xE8b SBgHoyqOlXUm56Ei739+CJQ0lin9AyLEmwnyyh/oZ9OhLmaeKM9th6iZbCA8nBh5JLSb jAhQ== X-Gm-Message-State: AJIora/I/1GTknDHtI/O/hGDtdUY42S4xFLn1lfmR3voNZpFlzAe5xMs +3ZgQf5+qIi9NAuD0cXh2U8O6A== X-Received: by 2002:a05:6512:32c2:b0:48a:982a:b2be with SMTP id f2-20020a05651232c200b0048a982ab2bemr3747717lfg.493.1658912065422; Wed, 27 Jul 2022 01:54:25 -0700 (PDT) Received: from [192.168.3.197] (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id x12-20020a056512078c00b0048a9c1d13d0sm1083845lfr.5.2022.07.27.01.54.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Jul 2022 01:54:24 -0700 (PDT) Message-ID: <636e9214-4b36-e9a6-3c6b-b6edb944335e@linaro.org> Date: Wed, 27 Jul 2022 10:54:23 +0200 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 4/6] dt-bindings: riscv: Add DT binding documentation for Renesas RZ/Five SoC and SMARC EVK Content-Language: en-US To: Lad Prabhakar , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Anup Patel , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das References: <20220726180623.1668-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220726180623.1668-5-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Krzysztof Kozlowski In-Reply-To: <20220726180623.1668-5-prabhakar.mahadev-lad.rj@bp.renesas.com> 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 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 26/07/2022 20:06, Lad Prabhakar wrote: > Document Renesas RZ/Five (R9A07G043) SoC and SMARC EVK based on this SoC. > > Signed-off-by: Lad Prabhakar > --- > .../devicetree/bindings/riscv/renesas.yaml | 49 +++++++++++++++++++ > 1 file changed, 49 insertions(+) > create mode 100644 Documentation/devicetree/bindings/riscv/renesas.yaml > > diff --git a/Documentation/devicetree/bindings/riscv/renesas.yaml b/Documentation/devicetree/bindings/riscv/renesas.yaml > new file mode 100644 > index 000000000000..f72f8aea6a82 > --- /dev/null > +++ b/Documentation/devicetree/bindings/riscv/renesas.yaml > @@ -0,0 +1,49 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/riscv/renesas.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Renesas RZ/Five Platform Device Tree Bindings > + > +maintainers: > + - Geert Uytterhoeven > + - Lad Prabhakar > + > +# We want to ignore this schema if the board is SMARC EVK based on ARM64 arch > +select: > + not: > + properties: > + compatible: > + contains: > + items: I think you should rather ignore the RiscV SoCs, not specific board. > + - const: renesas,smarc-evk > + - enum: > + - renesas,r9a07g043u11 > + - renesas,r9a07g043u12 > + - renesas,r9a07g044c1 > + - renesas,r9a07g044c2 > + - renesas,r9a07g044l1 > + - renesas,r9a07g044l2 > + - renesas,r9a07g054l1 > + - renesas,r9a07g054l2 > + - enum: > + - renesas,r9a07g043 > + - renesas,r9a07g044 > + - renesas,r9a07g054 Did you actually test that it works and properly matches? > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - description: RZ/Five (R9A07G043) > + items: > + - enum: > + - renesas,smarc-evk # SMARC EVK > + - const: renesas,r9a07g043f01 > + - const: renesas,r9a07g043 > + > +additionalProperties: true > + > +... Best regards, Krzysztof