Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp275450pxa; Fri, 21 Aug 2020 07:03:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylOqrbBYRIC6js4coPXeQz9pxcpMUSIpHvGZglYeuHE2c+mjvRhKmFXEB3GJ9hMK0UUh8d X-Received: by 2002:a17:906:4f0f:: with SMTP id t15mr2840843eju.337.1598018630886; Fri, 21 Aug 2020 07:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598018630; cv=none; d=google.com; s=arc-20160816; b=ERunsgis7jPJeLYg1NLpE0fnP57ekRbsHQ5jzg6sfuaLBnV3SGuBw2o9IUI6Fn93ro GGt2KLsL5NiAVEQMWByZsOYUPGjFOeHf4NdnefpcLSlo14JKOskLhch3deb6dBetYNeZ GiwIYs2uomX/n5bGVeed+f7EBY66u4O9o9f9+erAxFXBJMjFJrhWM9j2X353PNb1A1EN amw9SlH9jPixfUcV7OCyWX35UxU2bM8UTR14/mMBw4lRY1L7LEQJql/j8rSY6FfRuv9t X/3bfOdvuQZgIX7cRDfPiRkIaIpEX56PBaHgKWKCaACgwAcJpQj+IZDsdtPMblaAOMTg WmAw== 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=Jw01XlkZuO1lBRa3ozBQbunEgaoyU0nIhFJxWLCaKKw=; b=UpCqcjevEwYiPw7ODzQKBLlrBuJzYzFUTO6I2iWZo4SZkuxu971LiFov00r7ZLyhZt vvcUE++Z2cMm0wdYVbl+YQc2a8Z3b1TNhkjFOKkmThbXVU5+gN3FhObyb/xbjBBhyq8G pn6qDnHQCzRXq73chkyDqpCHakLzJQxu9wnKXwOQDepTg/wSjv0mvv17uspU6vxFi3R7 785bJIsI/C4v785HS9Oct3Du3Tf72RHVQTBS09F5JSguZm2VppV1YhN3ISzQuVovXbSL 26oykfxq7QMDW4SDEz3+KtzaHClKxOiTRb7Q6aZlOI9WB4oS89qEbtLrR4V32Yh2IFlF PHKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MZYyfGkw; 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 w13si1296406edq.220.2020.08.21.07.03.25; Fri, 21 Aug 2020 07:03:50 -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=MZYyfGkw; 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 S1728088AbgHUOB1 (ORCPT + 99 others); Fri, 21 Aug 2020 10:01:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbgHUOBW (ORCPT ); Fri, 21 Aug 2020 10:01:22 -0400 Received: from mail-yb1-xb44.google.com (mail-yb1-xb44.google.com [IPv6:2607:f8b0:4864:20::b44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74FA8C061573; Fri, 21 Aug 2020 07:01:22 -0700 (PDT) Received: by mail-yb1-xb44.google.com with SMTP id a34so1081291ybj.9; Fri, 21 Aug 2020 07:01:22 -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=Jw01XlkZuO1lBRa3ozBQbunEgaoyU0nIhFJxWLCaKKw=; b=MZYyfGkwxqet+LIKS37OT1iprToOJ/dwyf/SF/td+iRm9s2FgIuVLvusrR0L4eN0tN Q7s+QK2Zee28lz5+3Z633qYxtYB23vl9N+F19LevUsoza9ylA+UmpE0taoTvggPSaflz L5+bSA49fnMUra1QhgHGWTWDlWtP+Hs2MdCEYxCkkvzeligvUMxOSX4LZpSNoumO6kC4 mxMnzk2i2t3qh7rgkXpAEd2V2aclL4Ou5J/r6wxG7/C6rN4Y7IXstl+qEqdc+hEe4D55 OWQHW5v+FpOQeU1HCl3JFK+HUCnw6xA+s8oXti293C2SE/rBF+K5B3yeGO2mlr0mHQ6b r6hg== 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=Jw01XlkZuO1lBRa3ozBQbunEgaoyU0nIhFJxWLCaKKw=; b=UNoJwq6ZGrQeUFJ1MeP+TpXHHaeT3ZExeAwYceUFDewU8Wuka9moRYNMQkxQ1GYAaQ L60cxxLFkQNq9isUWLrqAiPnY1Ww84RGrS4aEpl3BhvrYgA7GTV4unsOQ0v8nBCxN6Mv DHpEwzlaSy8drWTlG8N0RCJoxzEIstgFE0NMC7+VVatQtqlScEL8t46YWNf47cYGzgXM 7k/aQvWFUuR7+DJqkXXejBQFIQk+lO5xcxUhRloNHy2fA+aY0pAH/64eLdNMn9YrdyZa AxXYHrY3HuSoabf43GWP3syLvAL/F1J+TrLxKuUB8yOZXPHncO7KHTT7gLVNsQVJ5KCe Uwdg== X-Gm-Message-State: AOAM533/F1w5FDH3IuPLZ7y+IXTwNjSTIAifKCcM2hsfFiLHyN/hbgeH lFoyDd0TUpNpI1OSo4qrRqoFavUFrCQgsZbNcws= X-Received: by 2002:a25:e712:: with SMTP id e18mr3686224ybh.395.1598018481678; Fri, 21 Aug 2020 07:01:21 -0700 (PDT) MIME-Version: 1.0 References: <20200816193316.7641-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20200816193316.7641-4-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Fri, 21 Aug 2020 15:00:55 +0100 Message-ID: Subject: Re: [PATCH 3/3] ARM: dts: r8a7742-iwg21m: Add SPI NOR support To: Geert Uytterhoeven Cc: Lad Prabhakar , Geert Uytterhoeven , Magnus Damm , Rob Herring , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List 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 Fri, Aug 21, 2020 at 2:33 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Sun, Aug 16, 2020 at 9:33 PM Lad Prabhakar > wrote: > > Add support for the SPI NOR device used to boot up the system > > to the System on Module DT. > > > > Signed-off-by: Lad Prabhakar > > Reviewed-by: Chris Paterson > > Thanks for your patch! > > > --- a/arch/arm/boot/dts/r8a7742-iwg21m.dtsi > > +++ b/arch/arm/boot/dts/r8a7742-iwg21m.dtsi > > > @@ -70,4 +80,28 @@ > > groups = "mmc1_data4", "mmc1_ctrl"; > > function = "mmc1"; > > }; > > + > > + qspi_pins: qspi { > > + groups = "qspi_ctrl", "qspi_data2"; > > + function = "qspi"; > > + }; > > +}; > > + > > +&qspi { > > + pinctrl-0 = <&qspi_pins>; > > + pinctrl-names = "default"; > > + > > + status = "okay"; > > + > > + /* WARNING - This device contains the bootloader. Handle with care. */ > > + flash: flash@0 { > > + #address-cells = <1>; > > + #size-cells = <1>; > > #{address,size}-cells are not needed, unless you list legacy partitions > (i.e. partitions not contained in a "partitions" container). > Agreed will drop it. > > + compatible = "sst,sst25vf016b", "jedec,spi-nor"; > > + reg = <0>; > > + spi-max-frequency = <50000000>; > > + m25p,fast-read; > > + spi-cpol; > > + spi-cpha; > > Perhaps you want to add the partition layout, too? > will do. > > + }; > > }; > > With the above fixed/clarified: > Reviewed-by: Geert Uytterhoeven > Thank you. I shall post this lone patch fixing the above. 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