Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1335064rwb; Fri, 19 Aug 2022 01:37:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR7IS4KB4xZpFzfhbGMPzkwE5neP37xbLJLK9YCJ8IzXNjzjynChwrXhM601Q+RVPwqEGFvf X-Received: by 2002:a17:90b:1b49:b0:1f5:4203:2e4e with SMTP id nv9-20020a17090b1b4900b001f542032e4emr12655571pjb.143.1660898240199; Fri, 19 Aug 2022 01:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660898240; cv=none; d=google.com; s=arc-20160816; b=tRBpT/D9UCNLFV7mXJILAOUEoiiFGIstfWz4O6m1bro6u6x6ZYuptpve198I1deK1L UtBigqVkac3hVRBKZHesETHuFXRdyKobGxThKzEqf/SVx43ySierR2DYR/ik9UquXFF8 KDuhgBk6jyCUKaTRHHUPS//nWwJD/fqRn+ZwtIqeTndbUpXrrPQa2WdCTd9pM/VCFxX9 LntEZMuWihL1tnGn/8Waq2RGWoFremFTTrhol94c8ZwV4S/PJ0k+Yc/jX7RHI0Q5wlvV OmoUmlKlpfOcIHX2mysCbL3TlgV1lxBxGibxp32Fq8M/7aE/20N4f94Ia4fuSwWJzXEk x6zQ== 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=ZIz9uUnGvGIaQHLjwy5JfKqGUPRt15jYrUPzIJQykQk=; b=d7WRXsd/4arOQe3EvWa3fjbqbqI0DLflXjCQWA1qiuvdeqk7je3ofo3xeaXqwmzT72 VHtkqgBc8LFGycSN1LDQ/Pgkf4UPIArmoUCqOQpuRDhPpS/ibBJ8N09fE+xDcChaxvlv hBvHfLFnbt3PEDiJ8+YzxZGX6AzBJLBHBvGx6KQHxHE9O/fIbjC+SQFJUCMBRGFwrBTj kbkHdsnEmb0vM+puKJNw20OP/Ymqm9ACvsz54eGsPQfOXgR5Ar679Q2SitrpjWsJoWf4 80fPFzYgumzpW0hGlizjPkuHFIHrqWEi0uz8Uk84j91N8HenqT1yvRY+XVpG3uQEfSo0 kWKg== 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 n125-20020a632783000000b0040cf84ef4f5si3403058pgn.583.2022.08.19.01.37.08; Fri, 19 Aug 2022 01:37:20 -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 S1347211AbiHSIZw (ORCPT + 99 others); Fri, 19 Aug 2022 04:25:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236670AbiHSIZ2 (ORCPT ); Fri, 19 Aug 2022 04:25:28 -0400 Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4965EE1913; Fri, 19 Aug 2022 01:25:27 -0700 (PDT) Received: by mail-qk1-f177.google.com with SMTP id n21so2827118qkk.3; Fri, 19 Aug 2022 01:25:27 -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=ZIz9uUnGvGIaQHLjwy5JfKqGUPRt15jYrUPzIJQykQk=; b=ZISG9WrP8kf1kOtq0BA0qF2iCqxMV8q/27fQnjiTCHhpg8mvyvgoeHk6963OsiZHd7 MwkcV+uIt6A61Se0cxaI7NBLaSWs0eeryUvRHPEHyzGmb5mRiBsiYt4ZIRf6rps/eC1G QF+wl7xzH8yjoTNje1LXu2j8XIwhp9aOk0KeVtQIfcrnbeYLQN4r2tPXv2OZYpdLNvga hT5ejLpegd11RnzOR5vBHSybrWbD082FMkGSOLgArqgoGpssZQHa51MEKAnttW0zHgJu G6ZMAwwMqri4Og2oSa8QAsC9UVZoKiTvRGcbl2eQ58QaONDX50DyGWgwlrljHRTxjH08 e0KA== X-Gm-Message-State: ACgBeo3FRlwnnPpeW9thkEjmHbFht1R5kHV4LOlT1cB1OYsotDFFQSjT ppqwQIxLwZ0LUwVgUtLv/DFpcCJioeO0TA== X-Received: by 2002:a37:b306:0:b0:6b6:321:27a6 with SMTP id c6-20020a37b306000000b006b6032127a6mr4521503qkf.262.1660897526233; Fri, 19 Aug 2022 01:25:26 -0700 (PDT) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com. [209.85.128.174]) by smtp.gmail.com with ESMTPSA id ch11-20020a05622a40cb00b0033b30e8e7a5sm2574690qtb.58.2022.08.19.01.25.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Aug 2022 01:25:25 -0700 (PDT) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-324ec5a9e97so103272687b3.7; Fri, 19 Aug 2022 01:25:24 -0700 (PDT) X-Received: by 2002:a5b:bcd:0:b0:68f:b4c0:7eca with SMTP id c13-20020a5b0bcd000000b0068fb4c07ecamr6672282ybr.202.1660897524733; Fri, 19 Aug 2022 01:25:24 -0700 (PDT) MIME-Version: 1.0 References: <20220815151451.23293-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220815151451.23293-7-prabhakar.mahadev-lad.rj@bp.renesas.com> <07342070-d96c-59fc-f9dd-b65cd742d97a@microchip.com> In-Reply-To: From: Geert Uytterhoeven Date: Fri, 19 Aug 2022 10:25:11 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 6/8] riscv: dts: renesas: Add minimal DTS for Renesas RZ/Five SMARC EVK To: "Lad, Prabhakar" Cc: Conor Dooley , "Lad, Prabhakar" , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Geert Uytterhoeven , 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 Mon, Aug 15, 2022 at 10:16 PM Lad, Prabhakar wrote: > On Mon, Aug 15, 2022 at 8:00 PM wrote: > > On 15/08/2022 16:14, Lad Prabhakar wrote: > > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > > > > > Enable the minimal blocks required for booting the Renesas RZ/Five > > > SMARC EVK with initramfs. > > > > > > Signed-off-by: Lad Prabhakar > > > --- > > > v1->v2 > > > * New patch > > > --- > > > arch/riscv/boot/dts/Makefile | 1 + > > > arch/riscv/boot/dts/renesas/Makefile | 2 ++ > > > .../boot/dts/renesas/r9a07g043f01-smarc.dts | 16 ++++++++++ > > > .../boot/dts/renesas/rzfive-smarc-som.dtsi | 22 +++++++++++++ > > > arch/riscv/boot/dts/renesas/rzfive-smarc.dtsi | 32 +++++++++++++++++++ > > > 5 files changed, 73 insertions(+) > > > create mode 100644 arch/riscv/boot/dts/renesas/Makefile > > > create mode 100644 arch/riscv/boot/dts/renesas/r9a07g043f01-smarc.dts > > > create mode 100644 arch/riscv/boot/dts/renesas/rzfive-smarc-som.dtsi > > > > Just to sort out some of my own confusion here - is the smarc EVK > > shared between your arm boards and the riscv ones? Or just the > > peripherals etc on the soc? > > > RZ/Five SoC is pin compatible with RZ/G2UL Type 1 SoC (ARM64). RZ/G2UL > SMARC EVK carrier board can be swapped with RZ/Five or RZ/G2UL SMARC > SoM and still be used. > > > If it is the forver, does the approach suggested here for the > > allwinner stuff make sense to also use for risc-v stuff with > > shared parts of devicetrees? > > https://lore.kernel.org/linux-riscv/3cd9ed5b-8348-38ac-feb1-9a7da858cebc@microchip.com/ > > > it does make sense. But I wonder where we would place the common > shared dtsi that can be used by two arch's. You can keep it under arch/arm/boot/dts/renesas/, and refer to it from riscv as . Cfr. the symlinks under scripts/dtc/include-prefixes/arm64/ and e.g. cros-ec-keyboard.dtsi. 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