Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1284648

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

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 <hramrach@gmail.com>
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 <qCsIG-6mL-3@gated-at.bofh.it> (permalink)
References <qCdqi-4oQ-11@gated-at.bofh.it> <qCdqi-4oQ-13@gated-at.bofh.it> <qCjvI-vV-37@gated-at.bofh.it>
X-Original-To Jonas Gorski <jogo@openwrt.org>
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 <linux-kernel.vger.kernel.org>
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 <computersforpeace@gmail.com>, Boris Brezillon <boris.brezillon@free-electrons.com>, Arnd Bergmann <arnd@arndb.de>, Geert Uytterhoeven <geert+renesas@glider.be>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, devicetree-spec@vger.kernel.org, Simon Arlott <simon@fire.lp0.eu>, Linus Walleij <linus.walleij@linaro.org>, Rafał Miłecki <zajec5@gmail.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Jason Gunthorpe <jgunthorpe@obsidianresearch.com>, Rob Herring <robh+dt@kernel.org>, MTD Maling List <linux-mtd@lists.infradead.org>, Hauke Mehrtens <hauke@hauke-m.de>
X-Original-Date Sat, 5 Dec 2015 22:33:30 +0100
X-Original-Message-ID <CAOMqctTbUNd0GtY07YJuxem9HkU1WZ-NtO556=Yg2QrsF49Xjw@mail.gmail.com>
X-Original-References <1449292763-129421-1-git-send-email-computersforpeace@gmail.com> <1449292763-129421-4-git-send-email-computersforpeace@gmail.com> <CAOiHx=nz2bdA_R610ozsQHhccdcrHVVCamTtne5ReHrA-FcaaQ@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1284648

Show key headers only | View raw


On 5 December 2015 at 12:39, Jonas Gorski <jogo@openwrt.org> wrote:
> On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris
> <computersforpeace@gmail.com> 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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Brian Norris <computersforpeace@gmail.com> - 2015-12-05 06:20 +0100
  Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Jonas Gorski <jogo@openwrt.org> - 2015-12-05 12:50 +0100
    Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Michal Suchanek <hramrach@gmail.com> - 2015-12-05 22:40 +0100
      Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding David Gibson <david@gibson.dropbear.id.au> - 2015-12-07 04:10 +0100
        Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding Brian Norris <computersforpeace@gmail.com> - 2015-12-10 21:50 +0100
          Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding Michal Suchanek <hramrach@gmail.com> - 2015-12-11 17:00 +0100
  Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format  binding Rob Herring <robh@kernel.org> - 2015-12-07 04:10 +0100

csiph-web