From: Brian Norris <computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Alexander Stein
<alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
Cc: Marek Vasut <marex-ynQEQJNshbs@public.gmane.org>,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
vndao-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org,
dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
ngachi86-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver
Date: Thu, 20 Aug 2015 13:19:25 -0700 [thread overview]
Message-ID: <20150820201925.GD74600@google.com> (raw)
In-Reply-To: <3030745.IsU6n2jnJj@ws-stein>
On Thu, Aug 20, 2015 at 12:06:36PM +0200, Alexander Stein wrote:
> On Thursday 20 August 2015 10:03:38, Marek Vasut wrote:
> > > +Example:
> > > +
> > > + quadspi_controller_0: quadspi@0x180014a0 {
> > > + compatible = "altr,quadspi-1.0";
> > > + reg = <0x180014a0 0x00000020>,
> > > + <0x14000000 0x04000000>;
> > > + reg-names = "avl_csr", "avl_mem";
> > > + #address-cells = <1>;
> > > + #size-cells = <0>;
> > > + flash0: epcq256@0 {
> > > + compatible = "altr,epcq256";
> > > + #address-cells = <1>;
> > > + #size-cells = <1>;
> > > + partition@0 {
> > > + /* 16 MB for raw data. */
> > > + label = "EPCQ Flash 0 raw data";
> > > + reg = <0x0 0x1000000>;
> > > + };
> > > + partition@1000000 {
> > > + /* 16 MB for jffs2 data. */
> > > + label = "EPCQ Flash 0 JFFS 2";
> > > + reg = <0x1000000 0x1000000>;
> > > + };
> >
> > IIRC, encoding partitions into OF is deprecated (and it shouldn't be
> > part of the example anyway, so please remove this bit).
>
> Do you mean specifying partitions in OF is deprecated in general? Is there any link for that?
> What would be an alternative to it?
This is the first I've heard of such a deprecation. I would argue that
it's still probably one of the best ways to specify partitions. It's not
exactly perfect (partitions aren't really "hardware", so may not belong
in the "hardware description"), but IMO it's better than cmdlineparts,
for instance. I also don't really know of any good-enough, generically
useful on-flash partition formats, especially ones that can handle the
complexities of NAND.
Brian
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-08-20 20:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 6:55 [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver vndao
[not found] ` <1440053705-3836-1-git-send-email-vndao-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org>
2015-08-20 8:03 ` Marek Vasut
2015-08-20 8:13 ` Nga Chi
[not found] ` <CAN1oZWwLRYxs=eeWi8jh-jo8+C7WckdW1hfyunmq5_1qb1Jb8w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-20 8:17 ` Viet Nga Dao
2015-08-20 9:01 ` Marek Vasut
2015-08-20 8:52 ` Marek Vasut
2015-08-20 9:18 ` Viet Nga Dao
2015-08-20 9:42 ` Marek Vasut
2015-08-20 20:38 ` Brian Norris
[not found] ` <CAN1oZWzADdeNyZofXQwKa0F2_Jv4Oda824ew5C3Ug+-V9Lx3hw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-20 20:37 ` Brian Norris
[not found] ` <20150820203726.GE74600-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2015-08-21 1:38 ` Viet Nga Dao
[not found] ` <201508201003.38179.marex-ynQEQJNshbs@public.gmane.org>
2015-08-20 10:06 ` Alexander Stein
2015-08-20 20:19 ` Brian Norris [this message]
2015-08-20 21:52 ` Marek Vasut
2015-09-01 7:41 ` Viet Nga Dao
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=20150820201925.GD74600@google.com \
--to=computersforpeace-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=marex-ynQEQJNshbs@public.gmane.org \
--cc=ngachi86-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=vndao-EIB2kfCEclfQT0dZR+AlfA@public.gmane.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).