Path: csiph.com!au2pb.net!feeder.erje.net!2.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Michal Suchanek Newsgroups: linux.kernel Subject: Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Date: Sat, 05 Dec 2015 22:40:02 +0100 Message-ID: References: X-Original-To: Jonas Gorski Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ZXgpzSKHpY9sXOhRDAZMV70ChRB2FsmhOv6XUjZlml0=; b=JMj+0e+4cCiW/Qwdt597c/bc7QAmWo5YuFW7ZXzDofg1DxFVjxQmgZYXaBnkCes1VG 8ezX4IhdbDZW972oMvFEK5sXi/a6eLl5S1KvoQLdfLIZxCh9HEaKVxR4Crh/kpAFSy3M /n0VIk91fus836jRdOgrF9Oe5zHf1fBlLO6n7HY/0mWXEmkCn2walZMOEkNRXNgl1+IG +GKuyrF8uENxkjlE4nhjZGRFLM1ct6HaMV0HCIHB4RS5zTKbjJAzR+1rqOo+BCn5sL94 9KiKlYr1c5S9+vv6UWz/JRQNieHuErIPwTvduU7H0mQYqgF+u6i2QTOWrp/9/L2HOyrm nfkA== X-Received: by 10.194.249.69 with SMTP id ys5mr23328694wjc.97.1449351249711; Sat, 05 Dec 2015 13:34:09 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 34 Organization: linux.* mail to news gateway X-Original-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 X-Original-Date: Sat, 5 Dec 2015 22:33:30 +0100 X-Original-Message-ID: X-Original-References: <1449292763-129421-1-git-send-email-computersforpeace@gmail.com> <1449292763-129421-4-git-send-email-computersforpeace@gmail.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1284648 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/