Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1864527ybz; Thu, 30 Apr 2020 06:54:00 -0700 (PDT) X-Google-Smtp-Source: APiQypJAz6QedbVV5RAGHlQ5la9BkzF/4a1SKu2n+B/AQD2RGciQl1RSi0sZQmwFRuTwQvE55l98 X-Received: by 2002:a17:906:da1b:: with SMTP id fi27mr2718986ejb.194.1588254840321; Thu, 30 Apr 2020 06:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588254840; cv=none; d=google.com; s=arc-20160816; b=EsaUhzFvgg44QD4DaGnVH8uU3BoNgOSkZBAeXJCGD8+Mcu1CGe4+SuVaLDENBOMVBk A3PzrK0oA5v+ZhITpU9acdG8RShPhA/BHZRL/uhuy4W+2yiqEktSwtyIBJAp5V4rkybb SrPazzwYyfWKPR2BhtjdOg0jtpjbal7ru1iYD1Db9RoBQpw/W57dnGDqrgclZ8w1vvR0 FLENGS15JYkEPIp0EEGBPxeHcWV8aqESSu95Hgd69cGoiWeSY1bjcgk4ekZPij4xN9Xn QDnJTw+wYWeO27Moq7ER0s2tFMchWLK+Oq6B8qrcz1vYESsSu4HXFWvQxp6iiMGjw75w 5yeA== 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; bh=rjrzO+MFhCxKv5bAtNJEkkZ3+0bygxPZ8Xsyxb6NgPo=; b=hE0oIY9itupPzyA8rlzTlghkGR1PleHE4KIMly0kBurNDMGR2YsxOJOh/1Zm478iaA i0BI2PZCzZ82G6Yo3okjX51AyTXCpLOrqgPIQltwcu5NWsTHOUFuDlYCbTEjU0QzLjgu LAq3IC0Adm1vBaa0CUHgIznMuci66puYdEd7oyqrw/BLp2qAxOngXdajWUuT8MfH21+9 P0OPFucv+Mb6uQ52n9oy49RJti5J10rBwVwb62fUo7/Fc0A6SHi6h8oV/ZfIAq4gdcx7 G6i/RqVsx3JUmQgnv2aJDdsQ79w+YHQdNNRxJROCzUCk/MYckpyVGq3mzPo9ZhqWsZqC MTvg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a18si5995060ejy.194.2020.04.30.06.53.36; Thu, 30 Apr 2020 06:54:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726882AbgD3Ntb (ORCPT + 99 others); Thu, 30 Apr 2020 09:49:31 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:39240 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726577AbgD3Nta (ORCPT ); Thu, 30 Apr 2020 09:49:30 -0400 Received: by mail-oi1-f195.google.com with SMTP id m10so5241960oie.6; Thu, 30 Apr 2020 06:49:29 -0700 (PDT) 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=rjrzO+MFhCxKv5bAtNJEkkZ3+0bygxPZ8Xsyxb6NgPo=; b=mDjuEXlnoEV+mzDCJO25nafMr2d5g5Wu+2lZGKiiSoBU55DgFl92jc5iO3aQ85sMG4 Ti6dd24snDqO9DeWpTHgvwgTIL0QozeW5x2GsAmULoG1TR5tloMQDwX+OlqaydXJDf9a jKgzsq/hy1REwN9eQW7JFjooaw93PwV8Jfoi82DOnB4FRBHRTJt3mj896qbnjUcA8ixq 450qaPfHtlUZOXWKv+Ol4zb+n02v2H2Se+Phq0ixsSjORkZks0nSmzfz5tKJCHO/SMPt WDZZkEr++oj1IKlGa0zzj+tR9p7BglaV0yD/dbmmi7qUmUm0RgnaCwxMdt1xhcZWc4g3 m6CQ== X-Gm-Message-State: AGi0PubNweEegZZF7/K8BYd2cdBPTaBDfR2EXx63GFPTFyUs4CSsMW+W Ulum02gGf/5XAEIl0f/QPUrOzpCNU4uN5G+nhZk= X-Received: by 2002:aca:d50f:: with SMTP id m15mr1837989oig.54.1588254569157; Thu, 30 Apr 2020 06:49:29 -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: <1588197415-13747-8-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Thu, 30 Apr 2020 15:49:17 +0200 Message-ID: Subject: Re: [PATCH 07/18] ARM: dts: r8a7742: Initial SoC device tree To: Lad Prabhakar Cc: Magnus Damm , Rob Herring , Vinod Koul , Linus Walleij , Bartosz Golaszewski , Thomas Gleixner , Jason Cooper , Marc Zyngier , Greg Kroah-Hartman , Russell King , Lad Prabhakar , "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 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. > 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. > + /* 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. > + > + /* 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. > + 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. 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