Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp701411rwb; Thu, 11 Aug 2022 08:31:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR4fmMeYMK6i1sewKMbl8OQ2HCrdAJLjBiVZHbNzoevbXnKXKsQujwt/KoywrdDAt2GWs3LW X-Received: by 2002:a17:907:2816:b0:731:5103:baf2 with SMTP id eb22-20020a170907281600b007315103baf2mr15329791ejc.429.1660231871709; Thu, 11 Aug 2022 08:31:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660231871; cv=none; d=google.com; s=arc-20160816; b=Kspxo1EbePX/p7ndCh4raDm+GILhtacG/txVMoYK8C7wYalDbuZO8VVZvqmjiCPtT6 2xpi77Z+T3nERtuaDRGP5ISETLjKtKZOVjd+BTjfBe5pVTMgfdq/niDtfHfXaWycQZTN 8GvBka+bmShfgo0tMMTtY1QwrnJqDXGvuDZ6Oa1jBAffxQ5u4fmQpsdfLU115oljZuN3 n+f32cUGxb+4CFXcF2+lwfASBXr2UGsE4J5IvT9hhcA6vljd1lDOU0kcCO65Hq0sARka H+ako5/DupQZldeVVJcqICtnZ80DQB5swcdIa/viD8bjq/ezuNfcZjCNq7i0lqW+oac5 bRPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=DTtQnNq6ywRHsZZL/uujOqWlFtBnXuiLlCZYEJfCk7M=; b=y/iygig7Q24WI20Oy6YZ3IOCGTj+gQZR9lPmX8WGLNf4OWZPoDGmMggEnCkCei7mGM jXtLHmNoJj3GyiXjhxATkM8kY8XUtzhGdyQZNWmcPktodJIhnTOKQlw6Xuvg2YkZY0cM BIyAhz6dv4+hLX99FclHDPGIrIxL0aiOHcpm1Ioh2aCghfLz3ZZa4rqI4rXF/7q6QL1U gCusWcrwi38LZnXmDGQNtOaf+bVoyKFmIw7mMybHBEIbM8B10aLr8EFKpaVDIuvR6PgI uo8Xu5ZWj0pR1i0O+p7uyd48+jKPP5zGqqcjna3BVyyBF4sGnNm0RW7fb9UnXCLkIfU2 1lJQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v8-20020a056402348800b0043be9b35da2si16356960edc.13.2022.08.11.08.30.45; Thu, 11 Aug 2022 08:31:11 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235625AbiHKP0s (ORCPT + 99 others); Thu, 11 Aug 2022 11:26:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234925AbiHKP0q (ORCPT ); Thu, 11 Aug 2022 11:26:46 -0400 Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E46D6B166; Thu, 11 Aug 2022 08:26:45 -0700 (PDT) Received: by mail-qv1-f53.google.com with SMTP id u8so13585916qvv.1; Thu, 11 Aug 2022 08:26:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=DTtQnNq6ywRHsZZL/uujOqWlFtBnXuiLlCZYEJfCk7M=; b=YRRJwoNP/uegJz2mkcBcT7O54hXRzqirgIvKluwiDTt51aB+9UTmVu1k26Ws3a9xYt mqkvAz3guhYyqsgsxuVK5oXi7RkfGSynL/QubWggPR+fstZ3EL0pXu4aMNayPsCJhuPO yimsLbKRRKKUWnVAIHBcZftXwdntEWZp6zmOo8FfuYBxvGFN87Qy3jJXo2iYk5Ci5qNc 0hTGBXdAt+EeO/xBPBSM7jhhWdkT/nniTPe/Hqj3h0uRJodT99tQE0t0aiKohVGS3YZp wMTxjAoW7YgWbNyqgB4P8xb1rgaJaNDBao4Q8SXb+r/hTLdRar1OK1M1St8W7eV538hn svgw== X-Gm-Message-State: ACgBeo3AHJd2X/nWpXBIuqA4OJEwXOru0x1k22S+79TT6IwfCDAODefb UGa6Z0p/1/KiuQF01WB7CvrySdYETj+1RrD2 X-Received: by 2002:a05:6214:e4e:b0:476:c48f:ad7 with SMTP id o14-20020a0562140e4e00b00476c48f0ad7mr28306940qvc.33.1660231604396; Thu, 11 Aug 2022 08:26:44 -0700 (PDT) Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com. [209.85.128.175]) by smtp.gmail.com with ESMTPSA id d7-20020a05620a240700b006b93ef659c3sm2310349qkn.39.2022.08.11.08.26.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Aug 2022 08:26:44 -0700 (PDT) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-32194238c77so176451937b3.4; Thu, 11 Aug 2022 08:26:43 -0700 (PDT) X-Received: by 2002:a81:af42:0:b0:31f:4e9a:74ad with SMTP id x2-20020a81af42000000b0031f4e9a74admr33633524ywj.358.1660231603773; Thu, 11 Aug 2022 08:26:43 -0700 (PDT) MIME-Version: 1.0 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> <3e3c0c80-48eb-098d-977d-a1801036fc0c@linaro.org> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 11 Aug 2022 17:26:32 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/6] dt-bindings: arm: renesas: Ignore the schema for RISC-V arch To: "Lad, Prabhakar" Cc: Krzysztof Kozlowski , Lad Prabhakar , 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Prabhakar, On Wed, Jul 27, 2022 at 11:48 AM Lad, Prabhakar wrote: > On Wed, Jul 27, 2022 at 10:31 AM Krzysztof Kozlowski > wrote: > > On 27/07/2022 11:00, Lad, Prabhakar wrote: > > > 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. > > > Agreed, I wanted to keep it consistent with what was done with ARM64 > (since both the SoCs shared R9A07G043 part number). > > Geert - What are your thoughts on the above? "renesas,r9a07g043" is the CPU-less SoC base containing I/O devices. "renesas,r9a07g043f01", "renesas,r9a07g043u11", and "renesas,r9a07g043u12" are SoCs built by integrating one or more RV64 or ARM64 CPU cores and the related interrupt controllers with the CPU-less SoC base. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds