Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964922AbbLOKDw (ORCPT ); Tue, 15 Dec 2015 05:03:52 -0500 Received: from mail-oi0-f43.google.com ([209.85.218.43]:33295 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964799AbbLOKDt (ORCPT ); Tue, 15 Dec 2015 05:03:49 -0500 MIME-Version: 1.0 In-Reply-To: <20151215060056.GB3011@voom.redhat.com> References: <1449292763-129421-1-git-send-email-computersforpeace@gmail.com> <1449292763-129421-4-git-send-email-computersforpeace@gmail.com> <20151207013628.GC20139@voom.fritz.box> <20151210204324.GK144338@google.com> <20151212055105.GA17011@voom.fritz.box> <20151215060056.GB3011@voom.redhat.com> Date: Tue, 15 Dec 2015 11:03:48 +0100 X-Google-Sender-Auth: uQ29CbvWtXZZqMtHpgNikCUNzTI Message-ID: Subject: Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding From: Geert Uytterhoeven To: David Gibson Cc: Brian Norris , Michal Suchanek , Jonas Gorski , 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: 1277 Lines: 38 Hi David, On Tue, Dec 15, 2015 at 7:00 AM, David Gibson wrote: >> If the only property needed is the partition table offset, it can be encoded >> in the unit-address, and the "reg" property: >> >> partitions { >> >> partition-table@xxxx { >> reg = <0xxxx ...>; >> ... >> }; >> >> ... >> }; > > Urgh.. and that's abusing the unit address. Why? The partition is part of the FLASH. In this respect, it doesn't differ from other hardcoded partitions using the same DT syntax. It would just have a compatible value indicating it's a partition table. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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/