Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3695203ybz; Mon, 4 May 2020 08:02:07 -0700 (PDT) X-Google-Smtp-Source: APiQypIhvfRxOH+1LLjCIzGw+e5dPyalEBeJFr1akXWq3I9caTit2gl6lvZqb0bxCLLF6pxXbjKh X-Received: by 2002:a17:906:459:: with SMTP id e25mr15536346eja.379.1588604527099; Mon, 04 May 2020 08:02:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588604527; cv=none; d=google.com; s=arc-20160816; b=n9zhbBGkCFvBdhWnQXl/HLcZBdAgiQ+7IG2JRmO/jE78z2uVihn0WXws6hPSs2WmZx ns+/7kjRuYfqvmrlT9wZ6+x1sKisHpnHlekwkcbyglqYP2Umzdgqck/VzzvpsYgfPCI9 0l08SpESNTTYJRSSK1jJNFoxyfPXllGL5DEmNdAnjXD4wFEbHNqzeYmRl4b8Y1Jcfojy 40NazGTUx0cIfgS7E/XS3KFEPTneKmNaDuwV/2azaMlcBf8E1ak+5dwcn132nDvkAv0A YDIlJj9ddmylAmcmFcfQtHzRJAtKMKo+wayqr4pvB/RS24WHBcHKX9DG3qRuEh0HX3uQ nSiQ== 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=7dFZhnDWS7Tizxu2OEo0qs58jGqBEpce/n1a/aPfM+M=; b=RSBQNnN/r6bvRmcGducrk2zgZK9WwJ+NOYO9TjfkBxG76V6c0TLoEZpHR919+DmGfn JjAzJPf+b5Zl2fgwCys8c92Yl3iO4NL9WuWhPUaEktk1ZdyCfoHE8VaFSngMNH9ofHLG YfFdOF0GHV1EDbbtOKqyTpaNS2vOWq7WwCJzjIke3hvP8iC7q7ZhhnHcwRLTC1MloFCn SBP+zDzjXLFp+7AWofaZXkppq73NBw8v+kSEmuoqR6UnYaHxNpUhY3jWnOpZKbOyxFYh KZcGiskcUULGiWoFDOEA1dDx9wbcMWGmUn3HCaM1yqBtI4Lg7iaHFAPrv/IXd3+akN0q JBCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="gmyLFN/n"; 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 cw27si6456433edb.289.2020.05.04.08.01.42; Mon, 04 May 2020 08:02:07 -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="gmyLFN/n"; 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 S1728832AbgEDOUp (ORCPT + 99 others); Mon, 4 May 2020 10:20:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726922AbgEDOUo (ORCPT ); Mon, 4 May 2020 10:20:44 -0400 Received: from mail-oi1-x241.google.com (mail-oi1-x241.google.com [IPv6:2607:f8b0:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ECAEC061A0E; Mon, 4 May 2020 07:20:44 -0700 (PDT) Received: by mail-oi1-x241.google.com with SMTP id i13so6729055oie.9; Mon, 04 May 2020 07:20:44 -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=7dFZhnDWS7Tizxu2OEo0qs58jGqBEpce/n1a/aPfM+M=; b=gmyLFN/nYCg1n7UscEV+5jC9u6q5GYu3AHv3+aU7Fjjw9dTfo4ARG/9m1ro0M5MMEi a6bbASvcxqmY5LPFOrLCWtelWFHBnP8G3vtjnzAvkga9NRi0IL3PeSl35vT8irzanSP7 X+adc0ebp2xGHjsH9mb4tf/IzHTWObBo2I2ZP2UjPtUS/4L3KuKXlSnSPiFyQ8Tu9e/Q pudQRvc7xxjSRZOVRJk+Pic34GazJCjrGWIT/nmq0uzN7hZoiMNg9CHV+yOCxHj0ykdo jdd5G56/uWvfqtOWfoDIRb3/KOQuKt2WJCeEQCsPAViF+sp9GuGwQQNKwS+CjKNeyMSA Qqbg== 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=7dFZhnDWS7Tizxu2OEo0qs58jGqBEpce/n1a/aPfM+M=; b=sRBmZzi/tNu6/JlWqS5W/yZS+/oqRUqHThbrOoR9GtEWGJHuyKQj0uV2podLIFl54k RKEXCC9KbTWgAX4VuQy00LuQThFAE2cnWClq5YNSuGFN1tqeqacZsxC/Gl2uAlY1V7W1 WSry1yfnGDuaEyv9h074zLh6ZbrLjGwnsKthNoi3XlPFa2YCCFn2ngTV5vGr5XTDzefI 7/F8lOL4xH8Pc4S7j7DTn48tkybjqkPQdrWxZ3Z7DYBv+HA3F2REMjv98yAft7opRvQ1 IbtL3MqHnBMn+GbZJQKl9BMi/Lsvo3lGfngvL9LDIF384T7L8tb10/RCxH3fVVQ5xdyl OVgg== X-Gm-Message-State: AGi0PuaVKdTFHfZCW8jBM5Q8Ax3InWv/srlPCuX/FC+GFvMmPJqPYw2R 6yJrqAe9OFMgnmTtanuoSycgN1jEa5m5kll0LIU= X-Received: by 2002:aca:b783:: with SMTP id h125mr9088932oif.62.1588602043656; Mon, 04 May 2020 07:20:43 -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: "Lad, Prabhakar" Date: Mon, 4 May 2020 15:20:17 +0100 Message-ID: Subject: Re: [PATCH v2 09/10] ARM: dts: r8a7742-iwg21m: Add iWave RZ/G1H Qseven SOM To: Geert Uytterhoeven 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 Geert, Thank you for the review. On Mon, May 4, 2020 at 2:01 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > 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 > > Thanks for your patch! > > > --- /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. > > + }; > > > +&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. 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