Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp155889imn; Wed, 27 Jul 2022 02:36:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vrQQCEE2GqP9yaox7lN/D8Reh+xq9nOOv5+NDsMx+bXUinL9xbCkTQYX0hhOgXHXR4LIDu X-Received: by 2002:a17:907:7f22:b0:72b:94a2:86b8 with SMTP id qf34-20020a1709077f2200b0072b94a286b8mr17575694ejc.236.1658914604296; Wed, 27 Jul 2022 02:36:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658914604; cv=none; d=google.com; s=arc-20160816; b=fXU+WxMvi7a0v155OuxSq7FpWh56qcEHBh8e1uAZzuh5JRjpPQ5nTrNOSHVziBfeV0 ZN+PQv+3SS7qEuGGU61mL/kNyDjEUmuGCotb9pmgTqFHqT1NC3qGg2NYohSdrbV5GPUA N9XPXq9MO/WtZt8VGhcLHnL9febdS8Gwaggg5l455jw7eD1eOS2weqLRQQDFHgkaLPB7 X0zHGF01BDUWW8USC48wGzI6FuUSCEP5fnTBKJw5FHOhPAGqCfLVY5ufhMQDElWN6/gm yHp5Y0DATbOg29+YNu2+lGsiLXvoavEbJE6eZYpa1pTXiDgWEAucuyL/qFmpuKcmfble EjsA== 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=zeWAT08FcjNi/6mJVcT/TjlSTfEQOwkc2kFD8pu/zEY=; b=gM4tSTDJgrcDUmF6TGC7osM9zALyuC2//I/6mEhhR0h71NTnXvLk8laPovfUPMNmGS N9BmPP0z/XYN3uOlrZbfehdwVrPOK6e7TZ9MwpziS0NeViPlpN4JLhIFo5BLzZAAPTn+ tLFIodNwg6wFMHCNM5s3v67/84H7STd54iu06Ty+f62aa0xe9qG7UPwCsblMUNQx3xhT yKyMgx0RKhu2rmlfvuvYATLswQNHGWWJfNdANY+F4pcifVd8pFeKCZHYBMGcuTVXcP3I Z74D0LCzh8YRCmjx0qhf46Na0IVH6ZlPcnRTt2twXclC0c7j8CnXP0FpcGw3LITYXc0m BWBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W6lS97Cv; 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 a11-20020a50858b000000b0043ba23f56a6si13737492edh.200.2022.07.27.02.36.19; Wed, 27 Jul 2022 02:36:44 -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=W6lS97Cv; 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 S229691AbiG0JbU (ORCPT + 99 others); Wed, 27 Jul 2022 05:31:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230150AbiG0JbP (ORCPT ); Wed, 27 Jul 2022 05:31:15 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8802B7FB for ; Wed, 27 Jul 2022 02:31:13 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id q7so3732376ljp.13 for ; Wed, 27 Jul 2022 02:31:13 -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=zeWAT08FcjNi/6mJVcT/TjlSTfEQOwkc2kFD8pu/zEY=; b=W6lS97CvFZiIocM9B3LOv68rpx+ECF5Axm9n0XY6FRw3bmb73fNj8P9hMZPvY2izNx f1VMr5Dqe1NxCrGakk3psch6037uTr266bBRjG8OOW4houM5+2ym4tvZf2sJhP45+1zg JUU2IxuBIg4EpkuF9Fv7k4Qi/AOflwf6LpjH2ZFODf623QQw/scTtk4OCLjPLrYoF13d xsxZvxa2eBw1ImY8Qzg2FXxAwetBGf5iXfJ7XXeaJWja6b8OmB0pHUaMbFCUjKApeTyl Qa5vpuHo6kuV83hE1MRg1H/DNQxzH7Q2b5kiWJ0gD/sBv2nZkpw9uDCn7Bsnv1vwGeOS cLrg== 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=zeWAT08FcjNi/6mJVcT/TjlSTfEQOwkc2kFD8pu/zEY=; b=3Cmy550T1u3xYyM2F7MmI3BGgd14n+EmQIno8os62VElCLdMYclIrDYteGPp+Ifzvd JWfYYkVryPg12AKwCAQLQkE/B/oEK/wNV55DkxVc/izXsk/GroWMAF1sWHH6KKqfzuRI KI7A499NcZzlj+3PI5T0zNsEXxlVBET5OZUPSDTzayN5XFM/mTLfYv98zRo3O9ZPeiQN SUdZw4WSy5748B5+Ufwq0tYi+Tb+vmxszXYoy6L/pvuneHwXy2NtXBWq8NExMDRRXHJg /ND129Ombr0y6xbVb9N3gjrxmlI1dD8v9bs19gr2NqPJh+8rQuRAZLBKEH9CNLrcJUgw l7nA== X-Gm-Message-State: AJIora+lD4oc8KCIvitjWM/+6XlnZxpuqtcjHFv3At5ZfaYsZxTUx2mi L/tORxMvcE0yCglr06PKgjffeg== X-Received: by 2002:a2e:bc86:0:b0:25e:118a:d90c with SMTP id h6-20020a2ebc86000000b0025e118ad90cmr3138032ljf.405.1658914272022; Wed, 27 Jul 2022 02:31:12 -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 v10-20020a05651203aa00b0048a843505f9sm2167344lfp.293.2022.07.27.02.31.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Jul 2022 02:31:11 -0700 (PDT) Message-ID: <3e3c0c80-48eb-098d-977d-a1801036fc0c@linaro.org> Date: Wed, 27 Jul 2022 11:31:10 +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" Cc: Lad Prabhakar , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-riscv , LKML , Biju Das References: <20220726180623.1668-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220726180623.1668-2-prabhakar.mahadev-lad.rj@bp.renesas.com> <952a85ec-d1e9-7c14-6404-bc087723252f@linaro.org> From: Krzysztof Kozlowski In-Reply-To: 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 27/07/2022 11:00, Lad, Prabhakar wrote: > Hi Krzysztof, > > On Wed, Jul 27, 2022 at 9:53 AM Krzysztof Kozlowski > wrote: >> >> 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). >>> >>> 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: >>> + - const: renesas,r9a07g043f01 >> >> Second issue - why not renesas,r9a07g043? >> > We have two R9A07G043 SOC'S one is based on ARM64 and other on RISC-V. > > RZ/G2UL ARM64: > Type-1 Part Number: R9A07G043U11GBG#BC0 > Type-2 Part Number: R9A07G043U12GBG#BC0 > > RZ/Five RISCV: > 13 x 13 mm Package Part Number: R9A07G043F01GBG#BC0 > > So to differentiate in ARM schema I am using renesas,r9a07g043f01. What is the point to keep then r9a07g043 fallback? The two SoCs are not compatible at all, so they must not use the same fallback. Best regards, Krzysztof