From: bayi.cheng@mediatek.com (bayi cheng)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node
Date: Thu, 26 Nov 2015 10:42:53 +0800 [thread overview]
Message-ID: <1448505773.9118.19.camel@mhfsdcap03> (raw)
In-Reply-To: <CAGS+omBVfc=BPLoobOJSDPnbv97PnGsRxUTF1gbXEz4DeufbmQ@mail.gmail.com>
On Thu, 2015-11-26 at 09:20 +0800, Daniel Kurtz wrote:
> Hi Bayi, Matthias,
>
> Sorry for the late review, one comment below...
>
> On Wed, Nov 18, 2015 at 11:30 AM, Bayi Cheng <bayi.cheng@mediatek.com> wrote:
> > Add Mediatek nor flash node
> >
> > Signed-off-by: Bayi Cheng <bayi.cheng@mediatek.com>
> > Acked-by: Brian Norris <computersforpeace@gmail.com>
> > ---
> > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 +++++++++++++++++-
> > 1 file changed, 17 insertions(+), 1 deletion(-)
> >
> > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> > index 4dd5f93..7988656 100644
> > --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> > +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> > @@ -387,7 +387,23 @@
> > status = "disabled";
> > };
> >
> > - i2c3: i2c at 11010000 {
> > + nor_flash: spi at 1100d000 {
> > + compatible = "mediatek,mt8173-nor";
> > + reg = <0 0x1100d000 0 0xe0>;
> > + clocks = <&pericfg CLK_PERI_SPI>,
> > + <&topckgen CLK_TOP_SPINFI_IFR_SEL>;
> > + clock-names = "spi", "sf";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + status = "disabled";
> > +
> > + flash at 0 {
> > + compatible = "jedec,spi-nor";
> > + reg = <0>;
> > + };
>
> I think this flash at 0 node represents the flash device present on the
> board and should therefore be moved to the board-specific .dts.
>
> -Dan
>
Hi Daniel, Thanks for your comments, and I will fixed it in the next
patch.
> > + };
> > +
> > + i2c3: i2c3 at 11010000 {
> > compatible = "mediatek,mt8173-i2c";
> > reg = <0 0x11010000 0 0x70>,
> > <0 0x11000280 0 0x80>;
> > --
> > 1.8.1.1.dirty
> >
next prev parent reply other threads:[~2015-11-26 2:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 3:30 [PATCH v8 0/2] Mediatek SPI-NOR flash driver Bayi Cheng
2015-11-18 3:30 ` [PATCH v8 1/2] mtd: mtk-nor: mtk serial flash controller driver Bayi Cheng
2015-11-21 1:36 ` Brian Norris
2015-11-18 3:30 ` [PATCH v8 2/2] arm64: dts: mt8173: Add nor flash node Bayi Cheng
2015-11-25 10:50 ` Matthias Brugger
2015-11-25 10:57 ` Yingjoe Chen
2015-11-25 12:31 ` Matthias Brugger
2015-11-26 1:20 ` Daniel Kurtz
2015-11-26 2:42 ` bayi cheng [this message]
2015-12-04 16:22 ` Matthias Brugger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448505773.9118.19.camel@mhfsdcap03 \
--to=bayi.cheng@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).