From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fy1kw-0004K7-Ky for linux-mtd@lists.infradead.org; Thu, 06 Sep 2018 21:24:05 +0000 Date: Thu, 6 Sep 2018 23:23:41 +0200 From: Boris Brezillon To: Bernhard Frauendienst Cc: linux-mtd@lists.infradead.org Subject: Re: [PATCH 0/3] Virtual MTD concat device driver Message-ID: <20180906232341.0dd510e3@bbrezillon> In-Reply-To: References: <20180906161413.6335-1-kernel@nospam.obeliks.de> <20180906225949.48497cb5@bbrezillon> <20180906230314.4f7744a6@bbrezillon> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 6 Sep 2018 23:16:01 +0200 Bernhard Frauendienst wrote: > Hi Boris, > > On 06/09/18 23:03, Boris Brezillon wrote: > > On Thu, 6 Sep 2018 22:59:49 +0200 > > Boris Brezillon wrote: > > > >> Hi Bernhard, > >> > >> On Thu, 6 Sep 2018 18:14:10 +0200 > >> Bernhard Frauendienst wrote: > >> > >>> Hi everybody, > >>> > >>> when porting my router board from a mach-file based OpenWRT target to a > >>> device-tree based target, I found that there is no generic way to create > >>> a mtd_concat device from within the dts. The following patches attempt > >>> to provide that possibility. > >> There's a fundamental issue with this patch series: DT is supposed to > >> represent the hardware, not how you want to use it, and clearly, your > >> concatenated MTD dev is a virtual device, not a real one, so I doubt it > >> will pass DT maintainers' review. > > BTW, did you consider doing that through the command line? > > Would you mind elaborating on that? Something like: mtdconcat==,;=, > > The biggest problem that I see is that I have to specify the fixed > partitions somewhere, and I would really like to keep that in the dts > file, where they would also be if it was only a single chip. Send a v2, add the DT maintainers+ML in Cc, and you'll see what happens.