Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3893755ybz; Mon, 4 May 2020 11:39:40 -0700 (PDT) X-Google-Smtp-Source: APiQypKB0roDGFdje3jWRnBx0q44tL2cyQE+jP0J42QSV6Sk7xs9382EJQDTiQiyOdsv4BmxYBqr X-Received: by 2002:a17:906:328f:: with SMTP id 15mr16941665ejw.33.1588617579860; Mon, 04 May 2020 11:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588617579; cv=none; d=google.com; s=arc-20160816; b=ft/iiMtJLTsTWB4IW0o9JVdivY2gNjNHFDYLSDceaILw5fTNxlZOOFQwY/uc2IbF84 i/r6SuRnooGnCX0DQRK0BaJvYOznOVopBF/+GxbgDDNzgJiFxT35jMkzA5SkOlOfoNbl aGs/cnbb6Ep7D+Iu3xGpDoCdCL3vBZtsuAIFryB+uNqF8eNAUQoED1DxleaPMAetJVu/ wvszNi8YaJUAWJrooWdXtlFg7RhxhrD2xp2tEcNwGs9WME6KpM9sDcNWCxQWXdSungZy akcZmJEW1lrao3ZdyQ1ohlE8aorRZgWZICjE/OCacf8YgDLHxYwlU8JQ64ID2WXEmQPh KSgA== 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=4qmNWbZEWGK3APAzYwIeRF7N4Ey8Oknk1ZvcU1u1ZqU=; b=Rfa8IoHkwNCgEvcptI9s26xt3d7RyGyjaSBMFYqtLCA0mtpuotXsk65FaV7I/T4yZX JmXXFQyd7QbN/PmpzvUmz9y/HuNINhIe4yYk86BAJFuJ674FM2o7D5EcKQNejmjwdVTz NMZBuAH/hUS89t1Mjzxm3Zk7bMXx1sNeNE5F7g7zVfoEnmoSJRkkaCI/OYYUbiaQLrKM g76er/BZoN4uJt+TGeA+zZxdIbelWLtPhcdKkKF/XYNqekL7qhy/DGV2bwFH9iMQ2Z2L 1e5zAbnP/He2ftH4UXSIfUc+lf35YhmpyUhp/O3wWYoM6NNrk/+f1OLwyg32jOSS7zC6 azmQ== 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 dn6si7420437edb.514.2020.05.04.11.39.16; Mon, 04 May 2020 11:39:39 -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 S1729113AbgEDO3n (ORCPT + 99 others); Mon, 4 May 2020 10:29:43 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:35423 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729060AbgEDO3m (ORCPT ); Mon, 4 May 2020 10:29:42 -0400 Received: by mail-ot1-f65.google.com with SMTP id k110so4504853otc.2; Mon, 04 May 2020 07:29:39 -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=4qmNWbZEWGK3APAzYwIeRF7N4Ey8Oknk1ZvcU1u1ZqU=; b=N1oXyP7br7VE+24jMnpp//tEsI2I9XMyipiwrWkWyV0WlxffaFdZWcngd8JXS1pXP4 /6ighEpGKEP276G12e4Pu0JNaLUnWjHgTK6cbnaqvYkYNnROtka1WSFPI+u631GQpSWo j/qX4TSs7AWDXwKmOOK5MCtz/OcYRe+prCpD9/QFZNd7+gcGnJfVIwENZ2Sg00uMeVzh lZ2mBJ8OxZtgGMNJHj4DQxSq6Txc+7+ppz3xhoAhNlsx5Rf6YAVaxwZ/MqKzJsuEYJNX 5GGcBolqiK1c5HVmUvZ5chSXUv+OKPPXa1+Y5KZYL1/eEbU27l6ZKz1WvUwwQjtKjDBV IvvA== X-Gm-Message-State: AGi0PuYY/E3WPj86DYzI8Lv6+XTmM+aw9qLH865psgy4eTdcKEb2H2hi npNwSZIpNgFJft8rgPTu77NOvfq5q98kkxjqZbo= X-Received: by 2002:a9d:7990:: with SMTP id h16mr14016322otm.145.1588602579133; Mon, 04 May 2020 07:29:39 -0700 (PDT) MIME-Version: 1.0 References: <1588542414-14826-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> <1588542414-14826-10-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 4 May 2020 16:29:28 +0200 Message-ID: Subject: Re: [PATCH v2 09/10] ARM: dts: r8a7742-iwg21m: Add iWave RZ/G1H Qseven SOM To: "Lad, Prabhakar" Cc: Lad Prabhakar , Magnus Damm , Rob Herring , Vinod Koul , Ulf Hansson , Linus Walleij , Greg Kroah-Hartman , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , dmaengine , Linux MMC List , "open list:GPIO SUBSYSTEM" , "open list:SERIAL DRIVERS" 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, On Mon, May 4, 2020 at 4:20 PM Lad, Prabhakar wrote: > On Mon, May 4, 2020 at 2:01 PM Geert Uytterhoeven wrote: > > On Sun, May 3, 2020 at 11:48 PM Lad Prabhakar > > wrote: > > > Add support for iWave RZ/G1H Qseven System On Module. > > > > > > Signed-off-by: Lad Prabhakar > > > Reviewed-by: Marian-Cristian Rotariu > > > --- /dev/null > > > +++ b/arch/arm/boot/dts/r8a7742-iwg21m.dtsi > > > @@ -0,0 +1,53 @@ > > > +// SPDX-License-Identifier: GPL-2.0 > > > +/* > > > + * Device Tree Source for the iWave RZ/G1H Qseven SOM > > > + * > > > + * Copyright (C) 2020 Renesas Electronics Corp. > > > + */ > > > + > > > +#include "r8a7742.dtsi" > > > +#include > > > + > > > +/ { > > > + compatible = "iwave,g21m", "renesas,r8a7742"; > > > + > > > + memory@40000000 { > > > + device_type = "memory"; > > > + reg = <0 0x40000000 0 0x40000000>; > > > + }; > > > + > > > + memory@200000000 { > > > + device_type = "memory"; > > > + reg = <2 0x00000000 0 0x20000000>; > > > > According to the schematics, the second bank is also 1 GiB, so the > > reg length should be 0x40000000. > > > Agreed will fix that. Thanks for the confirmation. I can fix that while applying. > > > + }; > > > > > +&pfc { > > > + mmc1_pins: mmc1 { > > > + groups = "mmc1_data4", "mmc1_ctrl"; > > > + function = "mmc1"; > > > + }; > > > +}; > > > + > > > +&mmcif1 { > > > + pinctrl-0 = <&mmc1_pins>; > > > + pinctrl-names = "default"; > > > + > > > + vmmc-supply = <®_3p3v>; > > > + bus-width = <4>; > > > + non-removable; > > > + status = "okay"; > > > +}; > > > > The eMMC has an 8-bit data path. Is there any specific reason you use > > bus-width = <4>, and the "mmc1_data4" pin group? > > > MMC1_DATA7 is shared with VI1_CLK, so instead of limiting to only one > device when using 8-bit just switched to 4bit mode so that both the > peripherals can be used. OK. Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.8 with the above fixed. 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