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 4/7] mtd: add of_match_mtd_parser() and of_mtd_match_mtd_parser() helpers

2015-12-06 Thread Rob Herring
On Fri, Dec 4, 2015 at 11:19 PM, Brian Norris wrote: > Like the corresponding OF-based device/driver matching infrascture, typo. > let's begin to support a mtd/partition-parser matching infrastructure. > > Signed-off-by: Brian Norris > --- > drivers/of/of_mtd.c| 33