Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp421784ybz; Fri, 1 May 2020 01:17:17 -0700 (PDT) X-Google-Smtp-Source: APiQypJj7dVmyF9BvBdewFKuUJl22qeup5dyG3RiV9bq+hd/Qid/BfZNFAJ3OvDz69ruCJKHvY2I X-Received: by 2002:a05:6402:1713:: with SMTP id y19mr2648973edu.40.1588321037554; Fri, 01 May 2020 01:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588321037; cv=none; d=google.com; s=arc-20160816; b=e0ki3u8NqHBjXnkK/4xezgvxgOJmoFy98luLF1AGZ1SGJw+gfyfDW5E7NZfwpLpV7u AN4kHMKjG+AQBHyJ2g4fZJtRIyaKmv2YntVu880LLWoY0sY1wZ9h9h+v3N+Q4SjHouuM /XABFE3wvRVIDWW9KzpGxnscmvNbQYC31uCfT4kb2OlWsqKAv+bOtgLnFFTbdZFn2Wws VE8l1q1sT0EX8cpS7xqcFUWTW/2bL6v8F2af3I6n8Ps1jii/RB2Nuu2v0+HKgcrmDLQs IyiBjNtfZRcpDW/SOpDi7qgn8I4241VTqADFmcNuWt/V+h/F+9j/lXK09d5uFft5Tdzu QewA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=67PD+4N6OTeLQfdVEtLP8JgZsz239nlSbqS4Vkr8Dyw=; b=rTLKqBfYUKs1DPt/oyY87U7DiAfBli/gsQZR4YCgT2jZaxElLEOAfsdIoswNEKq4cl Fgr2hNTTfODEoba4IFO8RXptVejXHfw2yva0TPt014NyAeiaMUQse5OcWPGVlS2N6bV4 bxU0Mp2QTZE+TmgBIOKAi4Ur11cxJiJMHHYAz8dk9sOx2Frg+vDVSLmrvZtROJLyuT56 oLVU3yT6aImm1wJCaVuZStKhwjYNk8FHqJGcOppZ8LpTzDKp8yRqx00brxjnL8/EcwBS DnmRo7slyyr3lIg7nja3a9juiEq/JMZzOHZZdcfIpxthRhV4fCuuapkyYqozYwRks5el vSPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kLDxDqPs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e25si1292342edq.436.2020.05.01.01.16.53; Fri, 01 May 2020 01:17:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kLDxDqPs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728411AbgEAIPc (ORCPT + 99 others); Fri, 1 May 2020 04:15:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728343AbgEAIPb (ORCPT ); Fri, 1 May 2020 04:15:31 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B58D2C035494; Fri, 1 May 2020 01:15:31 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id r66so2137485oie.5; Fri, 01 May 2020 01:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=67PD+4N6OTeLQfdVEtLP8JgZsz239nlSbqS4Vkr8Dyw=; b=kLDxDqPs9e69GaVMoTLIbt5TvwRXfennTnwhak3ZePa6Iw3AisJOdncZZtD5a3g+Iz YF/82TokyreEFFn60NinKIGrC0hy0MwKvtZHCwyFrC85V4U2jf51couuP4yBrXn/TQAF BLDeJG+s/qPBOdTUrh7x2jcV6xVGy1+FRUZAegp4jwA+7qmCYzGGJ8QUhZmEy9zXIWNo 4ih3ouFd+mP1Pnx96vHgtEw/r/WzELYEDu6LsgVwa5zBqJ8pQ7R2iM4deN5x8o+RZIB7 SHmgCDIJ9rKhPh32VzsySTwtLpGAnFTGMg9KICJnlJ2oJyqVxCkOIRyzEPpya8Ja6m5g TOMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=67PD+4N6OTeLQfdVEtLP8JgZsz239nlSbqS4Vkr8Dyw=; b=WIcdiBzxE2XIWJHgLQiPkHuf8HZ2i+gNO65heAlRZJ0ehtVSDnJc1EIRnniRNE9Qu8 kSmYz+7YCEnAzs6NNWrFQ3K+G/I+uyIsZMjhdtKIyBRlSyc6/GIXpg/fLTevNnGTLTjO Z+6K70L7iLSyFpRqCtFjvxVBXvfyKgPhTnlSa6FjeXoZi7ST6HQty+6BcJx5NhfFRICE cB2HKTZ7p2/QdKPIUht9CJUmlSAILqa+zfw3RUjc/9hc5LU0AaZkUsDjlqge9txCqTn8 7VgsHabVmM5O77570LF0yHQduswaDz44VpMks1DByPAOskY/uyTLb/iZqDwQMceGaZYq p6kA== X-Gm-Message-State: AGi0PubnK+2j/xYC4PYs+LdIx9FBVkyr7fj/Yzb1znqm+hg1uoUTM2Sd 6a9xKLByN5Z+N4y0eVG3iPwSVH97FbJZMuaXJzI= X-Received: by 2002:aca:b783:: with SMTP id h125mr2296549oif.62.1588320931075; Fri, 01 May 2020 01:15:31 -0700 (PDT) MIME-Version: 1.0 References: <1588197415-13747-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> <1588197415-13747-8-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Fri, 1 May 2020 09:15:04 +0100 Message-ID: Subject: Re: [PATCH 07/18] ARM: dts: r8a7742: Initial SoC device tree To: Geert Uytterhoeven Cc: Lad Prabhakar , Magnus Damm , Rob Herring , Vinod Koul , Linus Walleij , Bartosz Golaszewski , Thomas Gleixner , Jason Cooper , Marc Zyngier , Greg Kroah-Hartman , Russell King , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-Renesas , Linux Kernel Mailing List , dmaengine , "open list:GPIO SUBSYSTEM" , "open list:SERIAL DRIVERS" , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, Thank you for the review. On Thu, Apr 30, 2020 at 2:49 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > Thanks for your patch! > > On Wed, Apr 29, 2020 at 11:58 PM Lad Prabhakar > wrote: > > Basic support for the RZ/G1H (R8A7742) SoC. Added placeholders > > for the peripherals supported by the SoC which will be filled up > > by incremental patches. > > Please remove the placeholders, as there is nothing that depends on their > presence. > Sure will drop that. > > Signed-off-by: Lad Prabhakar > > Reviewed-by: Marian-Cristian Rotariu > > > --- /dev/null > > +++ b/arch/arm/boot/dts/r8a7742.dtsi > > @@ -0,0 +1,715 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Device Tree Source for the r8a7742 SoC > > + * > > + * Copyright (C) 2020 Renesas Electronics Corp. > > + */ > > + > > +#include > > +#include > > +#include > > +#include > > + > > +/ { > > + compatible = "renesas,r8a7742"; > > + #address-cells = <2>; > > + #size-cells = <2>; > > + > > + /* > > + * The external audio clocks are configured as 0 Hz fixed frequency > > + * clocks by default. > > + * Boards that provide audio clocks should override them. > > + */ > > + audio_clk_a: audio_clk_a { > > + compatible = "fixed-clock"; > > + #clock-cells = <0>; > > + clock-frequency = <0>; > > + }; > > + > > + audio_clk_b: audio_clk_b { > > + compatible = "fixed-clock"; > > + #clock-cells = <0>; > > + clock-frequency = <0>; > > + }; > > + > > + audio_clk_c: audio_clk_c { > > + compatible = "fixed-clock"; > > + #clock-cells = <0>; > > + clock-frequency = <0>; > > + }; > > + > > + /* External CAN clock */ > > + can_clk: can { > > + compatible = "fixed-clock"; > > + #clock-cells = <0>; > > + /* This value must be overridden by the board. */ > > + clock-frequency = <0>; > > + }; > > Please drop the audio and CAN clocks for now, as they are not used. > OK. > > + /* External root clock */ > > + extal_clk: extal { > > + compatible = "fixed-clock"; > > + #clock-cells = <0>; > > + /* This value must be overridden by the board. */ > > + clock-frequency = <0>; > > + }; > > + > > + /* External PCIe clock - can be overridden by the board */ > > + pcie_bus_clk: pcie_bus { > > + compatible = "fixed-clock"; > > + #clock-cells = <0>; > > + clock-frequency = <0>; > > + }; > > Please drop the PCI clock for now, as it is not used. > OK > > + > > + /* External SCIF clock */ > > + scif_clk: scif { > > + compatible = "fixed-clock"; > > + #clock-cells = <0>; > > + /* This value must be overridden by the board. */ > > + clock-frequency = <0>; > > + }; > > This should be used (see below). > > > + > > + /* External USB clock - can be overridden by the board */ > > + usb_extal_clk: usb_extal { > > + compatible = "fixed-clock"; > > + #clock-cells = <0>; > > + clock-frequency = <48000000>; > > + }; > > + > > + cpus { > > Please sort nodes by unit-address (if present) per type, or alphabetically. > Sure will take care of it. > > + soc { > > > + scifa2: serial@e6c60000 { > > + reg = <0 0xe6c60000 0 0x40>; > > + /* placeholder */ > > + }; > > I prefer to see a real node for the serial console, so the system can at > least be boot tested to a console prompt. > Note that this requires adding a minimal board DTS, too. > OK so in that case Ill enable scifa2 and SDHI interface so it can be bootable. Cheers, --Prabhakar > 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