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

Michal Suchanek hramrach at gmail.com
Sat Dec 5 13:33:30 PST 2015


On 5 December 2015 at 12:39, Jonas Gorski <jogo at openwrt.org> wrote:
> On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris
> <computersforpeace at gmail.com> wrote:

>> +
>> +Examples:
>> +
>> +flash at 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.

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

Thanks

Michal



More information about the linux-mtd mailing list