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

2015-12-16 Thread David Gibson
On Tue, Dec 15, 2015 at 11:03:48AM +0100, Geert Uytterhoeven wrote: > Hi David, > > On Tue, Dec 15, 2015 at 7:00 AM, David Gibson > wrote: > >> If the only property needed is the partition table offset, it can be > >> encoded > >> in the unit-address, and the "reg" property: > >> > >> pa

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

2015-12-15 Thread Geert Uytterhoeven
Hi David, On Tue, Dec 15, 2015 at 7:00 AM, David Gibson wrote: >> If the only property needed is the partition table offset, it can be encoded >> in the unit-address, and the "reg" property: >> >> partitions { >> >> partition-table@ { >> reg = <

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

2015-12-15 Thread David Gibson
On Mon, Dec 14, 2015 at 11:22:46AM +0100, Geert Uytterhoeven wrote: > On Sat, Dec 12, 2015 at 6:51 AM, David Gibson > wrote: > > On Thu, Dec 10, 2015 at 12:43:24PM -0800, Brian Norris wrote: > >> On Mon, Dec 07, 2015 at 12:36:28PM +1100, David Gibson wrote: > >> > On Sat, Dec 05, 2015 at 10:33:30P

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

2015-12-14 Thread Michal Suchanek
On 14 December 2015 at 11:22, Geert Uytterhoeven wrote: > On Sat, Dec 12, 2015 at 6:51 AM, David Gibson > wrote: >> On Thu, Dec 10, 2015 at 12:43:24PM -0800, Brian Norris wrote: >>> On Mon, Dec 07, 2015 at 12:36:28PM +1100, David Gibson wrote: >>> > On Sat, Dec 05, 2015 at 10:33:30PM +0100, Micha

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

2015-12-14 Thread Geert Uytterhoeven
On Sat, Dec 12, 2015 at 6:51 AM, David Gibson wrote: > On Thu, Dec 10, 2015 at 12:43:24PM -0800, Brian Norris wrote: >> On Mon, Dec 07, 2015 at 12:36:28PM +1100, David Gibson wrote: >> > On Sat, Dec 05, 2015 at 10:33:30PM +0100, Michal Suchanek wrote: >> > > On 5 December 2015 at 12:39, Jonas Gors

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

2015-12-12 Thread David Gibson
On Thu, Dec 10, 2015 at 12:43:24PM -0800, Brian Norris wrote: > On Mon, Dec 07, 2015 at 12:36:28PM +1100, David Gibson wrote: > > On Sat, Dec 05, 2015 at 10:33:30PM +0100, Michal Suchanek wrote: > > > On 5 December 2015 at 12:39, Jonas Gorski wrote: > > > > On Sat, Dec 5, 2015 at 6:19 AM, Brian No

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

2015-12-11 Thread Michal Suchanek
Hello, On 10 December 2015 at 21:43, Brian Norris wrote: > On Mon, Dec 07, 2015 at 12:36:28PM +1100, David Gibson wrote: >> On Sat, Dec 05, 2015 at 10:33:30PM +0100, Michal Suchanek wrote: >> > On 5 December 2015 at 12:39, Jonas Gorski wrote: >> > > On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris >

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

2015-12-10 Thread Brian Norris
On Mon, Dec 07, 2015 at 12:36:28PM +1100, David Gibson wrote: > On Sat, Dec 05, 2015 at 10:33:30PM +0100, Michal Suchanek wrote: > > On 5 December 2015 at 12:39, Jonas Gorski wrote: > > > On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris > > > wrote: > > > > >> + > > >> +Examples: > > >> + > > >> +fl

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

2015-12-06 Thread Rob Herring
On Fri, Dec 04, 2015 at 09:19:19PM -0800, Brian Norris wrote: > The platform description (such as the type of partition formats used on > a given flash) should be done independently of the flash driver in use. > However, we can't reasonably have *all* partition parsers run on all > flash (until the

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

2015-12-06 Thread David Gibson
On Sat, Dec 05, 2015 at 10:33:30PM +0100, Michal Suchanek wrote: > On 5 December 2015 at 12:39, Jonas Gorski wrote: > > On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris > > wrote: > > >> + > >> +Examples: > >> + > >> +flash@0 { > >> + partitions { > >> + compatible = "google,fmap

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

2015-12-05 Thread Michal Suchanek
On 5 December 2015 at 12:39, Jonas Gorski wrote: > On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris > wrote: >> + >> +Examples: >> + >> +flash@0 { >> + partitions { >> + compatible = "google,fmap"; >> + }; >> +}; > > I wonder if this wouldn't be better served in a separate

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

2015-12-05 Thread Jonas Gorski
On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris wrote: > The platform description (such as the type of partition formats used on > a given flash) should be done independently of the flash driver in use. > However, we can't reasonably have *all* partition parsers run on all > flash (until they find a

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

2015-12-04 Thread Brian Norris
The platform description (such as the type of partition formats used on a given flash) should be done independently of the flash driver in use. However, we can't reasonably have *all* partition parsers run on all flash (until they find a match), so let's overload the 'partitions' subnode to support