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 D3D06C19F29 for ; Wed, 27 Jul 2022 08:51:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231182AbiG0IvG (ORCPT ); Wed, 27 Jul 2022 04:51:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbiG0IvF (ORCPT ); Wed, 27 Jul 2022 04:51:05 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 768DF45F75 for ; Wed, 27 Jul 2022 01:51:03 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id b21so12051369ljk.8 for ; Wed, 27 Jul 2022 01:51:03 -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=1AeHnnhcT69ZrVfPR/zgIWRlaIcZ2YpF+8w0N1pOEoQ=; b=UQXl4JOAj4zgD6Ihx0+LdJYT+f3u0Hj1g8S16SQzNPc4kp2ueYOIOI3Cm7QqPHt8Pw g7uAjrSLRIZQT6bZhii3t7DvlV0kXlkxeNyc+J360ubmjy5/gFLPR6Al9HJqQMCkRMrf QNgfcip4vKmdFOUjZ8glPO+UXeYF1jnimpRQCWpZb+OqOrdpSRzXOc44mH68OPu/wSws X+e3nRT2016M+RZmay/TwhOMXw5URh3CU1HYWHVtvSJ7RX/0RDIaLwbkVuTGj0eWi4hD Zy0Xe2ww2VzQEXHcDlrCcFVG1rR/ExW2p+Q4pK30B9+MmB1uyx/OScDD+18eqlLkwJOo PsUA== 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=1AeHnnhcT69ZrVfPR/zgIWRlaIcZ2YpF+8w0N1pOEoQ=; b=bXxUjhNTFKU0FHEro5CBqOF4/a+7Tq2yX9DzevACa9wDuqWu1c+C7XzcfVcPwpWnfy 7a8LRbJbQwZ+bqSsjJ/7PvsvEk5wpe7iCFED9uY9hGYL2Kgq3JOE1iDa51tRi4Kh98u7 tcDzg3LH8J/+xl4F1p1ittc4JgBV8VlykhLZ/52WxF5dqr5kjh27DmpzO5RygK6IMLdq 1TXRE2tk4FQRAw8n0A86RK9jSI/Q9r+Fbi+bj8IQqcK5dK4OL1Hhby7C2ObfU9M3XDHt PbNtkAHL/eLoH2c1W7iunGxoDfUNmmfmFWJg6TczIdpANHyRZ2RCACqFWv2Vy9Q+o+ER NnPg== X-Gm-Message-State: AJIora9VX4Dm/R1Nl+Gloy3b77B4tuiLeLGOOKXjhr/+l2GNAbwhz+7f uaVYNGvOTCCQcDO1dC6u7ROO5A== X-Google-Smtp-Source: AGRyM1uAQEDdTmc0WVn0GQ7HOUPV1XPXnbWhkzm7wPSzMTpaVTeB4B2RlsFGYOin2XkzwgspWV2ayg== X-Received: by 2002:a2e:98d5:0:b0:25e:c1b:f262 with SMTP id s21-20020a2e98d5000000b0025e0c1bf262mr3740065ljj.343.1658911861726; Wed, 27 Jul 2022 01:51:01 -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 v7-20020a2ea447000000b0025d715bc088sm3754349ljn.0.2022.07.27.01.51.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Jul 2022 01:51:01 -0700 (PDT) Message-ID: <7a02225c-5c7b-f342-e29e-995d1ae0f4e3@linaro.org> Date: Wed, 27 Jul 2022 10:50:59 +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 1/6] dt-bindings: arm: renesas: Ignore the schema for RISC-V arch 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-2-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Krzysztof Kozlowski In-Reply-To: <20220726180623.1668-2-prabhakar.mahadev-lad.rj@bp.renesas.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 26/07/2022 20:06, Lad Prabhakar wrote: > Ignore the ARM renesas.yaml schema if the board is RZ/Five SMARC EVK > (RISC-V arch). Your commit msg says one, but patch ignores r9a07g043f01 which sounds entirely different for non-Renesas people. Be a bit more clear. > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/arm/renesas.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm/renesas.yaml > index ff80152f092f..f646df1a23af 100644 > --- a/Documentation/devicetree/bindings/arm/renesas.yaml > +++ b/Documentation/devicetree/bindings/arm/renesas.yaml > @@ -9,6 +9,15 @@ title: Renesas SH-Mobile, R-Mobile, and R-Car Platform Device Tree Bindings > maintainers: > - Geert Uytterhoeven > > +# We want to ignore this schema if the board is of RISC-V arch > +select: > + not: > + properties: > + compatible: > + contains: > + items: It is only one item, so I guess you wanted here enum. Just like syscon is doing... > + - const: renesas,r9a07g043f01 > + > properties: > $nodename: > const: '/' Best regards, Krzysztof