Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp478948pxk; Thu, 3 Sep 2020 05:06:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8J/yVwvyzS4t+M8OAnurUSXoRrmSiitNsA4kNCtkvzLG/8ZFf12kYwsnhEwKQjtVMVCrm X-Received: by 2002:a17:906:454f:: with SMTP id s15mr1686335ejq.130.1599134779921; Thu, 03 Sep 2020 05:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599134779; cv=none; d=google.com; s=arc-20160816; b=EWyQ9wui+QSgmJjAutLF8OZCu65BmIJs0/OFKBs+aL7RqJpSOIPyk39yFQbQGCMLvc GYK2iIMcULUeH4bJLCcugX41NvNvMC9yCkHwwkH0tevV7RNU2lRhLuqszQawRsSy1hj8 vnFFzDDp9t5zz5OGnvAG9DjW+dreKDZAIgUpgNLLJ1fxtLl8OBTj9Gw2UOH2Zqa0Clb7 0J1MDZxt5SDzYvhvFscJjp6ina2e4vyTiKBNnrIsbNBzdc56FJpqUYuKqLZKtfyfW23F fOPYQx4Zx00a6f/twLLEt44MTwKIAc4tH91qqD8j6JcpCgFNwaPsupJhsbavA/7NNPog Cyww== 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=9ImNPfe7CCahb0OVlVwJzlrDCDsuxJrxvrkCtfeRX6E=; b=v8bzVNSbZLDVJRTxD6ywc2UbSUxVagoyWLHQaxomeTdMk6li4xAEhjJiYB0g3rIWev 9r0fLbKmNcrjUufGdcwPm2Of1oyjOFENsEUh/3webxuuKA1sgSlLukPIxlquV4vQ/JOM bc0YR7WZEABvrqoLwbgDVtuYg4ezhGcsGMBdYT07fwS2oBqfOmkQx144ZZ5GZ98XO5IV dN4PWHN5b6RFg6z3+X2WkT73aDQINvwQsTJ9Jo1nH0BMCLdg1t8uE3huo9rfK7+t0lW3 UH5QF0SsICTA/whT248QswOwCtpTtMYA/hzWKKVFqpTe0ckNjNMKPOYD3HtaUsHKfewD Es/g== 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 jr23si1893512ejb.572.2020.09.03.05.05.54; Thu, 03 Sep 2020 05:06:19 -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 S1728800AbgICMAx (ORCPT + 99 others); Thu, 3 Sep 2020 08:00:53 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:37790 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728646AbgICL7Q (ORCPT ); Thu, 3 Sep 2020 07:59:16 -0400 Received: by mail-ot1-f68.google.com with SMTP id 37so2442294oto.4; Thu, 03 Sep 2020 04:59:15 -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=9ImNPfe7CCahb0OVlVwJzlrDCDsuxJrxvrkCtfeRX6E=; b=cdqMLjRA/mbdU6rkFPcQBa/Z+1kkBpUc0pXWz+wutZb4q6pzTx+dPxD48ZAqN1SvXA /RDUh5t61SDy8hSNragnrhBlWqzLLag9HrIs1ojuXaI1z6757v5OqUO+4Yh+mXl6jB3k XdbmyR0ltogzORZshcWLu/FPki0Dkk2cuhV4pD7pmrQs/B15jPhFJRx9OWZtb6firV/s 2Is66E/9nKFQkeApRs1uH3EIUTI/E+R7a/sqVSErf0oBPUgDkXRy8CYyAIg3uVMQe1Me 35chlc5JZugrW6qiBHcja5k0cZrExRGa/QLQvFoG19bIt5y0Uq89y59drTH1FU7T7mU8 QrAw== X-Gm-Message-State: AOAM532Gk0X431ImfwteHN0d4JYYvZYNA0TB428DUVOs+N/TaIp7Lt1h JZVITaPYoLdvNsTkM0BN2yBy0jGb3pKwSCtFWi4AMvOOa3A= X-Received: by 2002:a9d:162:: with SMTP id 89mr1340662otu.250.1599134355136; Thu, 03 Sep 2020 04:59:15 -0700 (PDT) MIME-Version: 1.0 References: <20200825162718.5838-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20200825162718.5838-3-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20200825162718.5838-3-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Thu, 3 Sep 2020 13:59:04 +0200 Message-ID: Subject: Re: [PATCH 2/4] ARM: dts: r8a7742-iwg21d-q7: Add SPI NOR support To: Lad Prabhakar Cc: Magnus Damm , Rob Herring , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Prabhakar 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 Tue, Aug 25, 2020 at 6:28 PM Lad Prabhakar wrote: > Add support for the SPI NOR device which is connected to MSIOF0 interface > on the iWave RainboW-G21d-q7 board. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Chris Paterson > --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts > +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts > @@ -220,6 +220,32 @@ > status = "okay"; > }; > > +&msiof0 { > + pinctrl-0 = <&msiof0_pins>; > + pinctrl-names = "default"; > + cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; > + > + status = "okay"; > + > + flash1: flash@0 { > + compatible = "sst,sst25vf016b", "jedec,spi-nor"; > + reg = <0>; > + spi-max-frequency = <50000000>; > + m25p,fast-read; > + > + partitions { > + compatible = "fixed-partitions"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + partition@0 { > + label = "user"; > + reg = <0x00000000 0x00200000>; > + }; > + }; > + }; > +}; > + > &pci0 { > pinctrl-0 = <&usb0_pins>; > pinctrl-names = "default"; > @@ -266,6 +292,11 @@ > function = "i2c2"; > }; > > + msiof0_pins: msiof0 { > + groups = "msiof0_clk", "msiof0_tx", "msiof0_rx"; I think you're missing "msiof0_sync", connected to SPI_CS0#? With that fixed: Reviewed-by: Geert Uytterhoeven > + function = "msiof0"; > + }; 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