Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1284976

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding

From David Gibson <david@gibson.dropbear.id.au>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding
Date 2015-12-07 04:10 +0100
Message-ID <qCUlz-7fn-1@gated-at.bofh.it> (permalink)
References <qCdqi-4oQ-11@gated-at.bofh.it> <qCdqi-4oQ-13@gated-at.bofh.it> <qCjvI-vV-37@gated-at.bofh.it> <qCsIG-6mL-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Dec 05, 2015 at 10:33:30PM +0100, Michal Suchanek wrote:
> On 5 December 2015 at 12:39, Jonas Gorski <jogo@openwrt.org> wrote:
> > On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris
> > <computersforpeace@gmail.com> wrote:
> 
> >> +
> >> +Examples:
> >> +
> >> +flash@0 {
> >> +       partitions {
> >> +               compatible = "google,fmap";
> >> +       };
> >> +};
> >
> > I wonder if this wouldn't be better served in a separate binding doc
> > with its compatible name as the filename, like we do with
> > driver^Whardware blocks, especially if we want to add more parsers.
> 
> 
> I find that *very* counter productive for bindings that go to the same
> node. You have a description of a node, and then suddenly there you
> have another file with another description of the same node. Totally
> awesome.

I can't actually work out from that if you're agreeing with the
original post or the first reply.

> Also how do you plan to write partitioning schemes with parameters
> like with non-zero offset of the partition table.

Presumably with properties in the patitions node.  Not seeing the
problem here.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Brian Norris <computersforpeace@gmail.com> - 2015-12-05 06:20 +0100
  Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Jonas Gorski <jogo@openwrt.org> - 2015-12-05 12:50 +0100
    Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Michal Suchanek <hramrach@gmail.com> - 2015-12-05 22:40 +0100
      Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding David Gibson <david@gibson.dropbear.id.au> - 2015-12-07 04:10 +0100
        Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding Brian Norris <computersforpeace@gmail.com> - 2015-12-10 21:50 +0100
          Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Michal Suchanek <hramrach@gmail.com> - 2015-12-11 17:00 +0100
  Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding Rob Herring <robh@kernel.org> - 2015-12-07 04:10 +0100

csiph-web