Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753111AbbLEVeN (ORCPT ); Sat, 5 Dec 2015 16:34:13 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:34183 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751691AbbLEVeL (ORCPT ); Sat, 5 Dec 2015 16:34:11 -0500 MIME-Version: 1.0 In-Reply-To: References: <1449292763-129421-1-git-send-email-computersforpeace@gmail.com> <1449292763-129421-4-git-send-email-computersforpeace@gmail.com> From: Michal Suchanek Date: Sat, 5 Dec 2015 22:33:30 +0100 Message-ID: Subject: Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding To: Jonas Gorski Cc: Brian Norris , Boris Brezillon , Arnd Bergmann , Geert Uytterhoeven , "devicetree@vger.kernel.org" , devicetree-spec@vger.kernel.org, Simon Arlott , Linus Walleij , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , "linux-kernel@vger.kernel.org" , Jason Gunthorpe , Rob Herring , MTD Maling List , Hauke Mehrtens Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1086 Lines: 34 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 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/