Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752932AbbLCWiH (ORCPT ); Thu, 3 Dec 2015 17:38:07 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:32887 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751260AbbLCWiF (ORCPT ); Thu, 3 Dec 2015 17:38:05 -0500 Date: Thu, 3 Dec 2015 14:38:01 -0800 From: Brian Norris To: Rob Herring Cc: Harvey Hunt , linux-mtd@lists.infradead.org, Alex Smith , Zubair Lutfullah Kakakhel , David Woodhouse , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 1/3] dt-bindings: binding for jz4780-{nand,bch} Message-ID: <20151203223801.GA64180@google.com> References: <1449144142-24004-1-git-send-email-harvey.hunt@imgtec.com> <1449144142-24004-2-git-send-email-harvey.hunt@imgtec.com> <20151203213812.GA32235@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151203213812.GA32235@rob-hp-laptop> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1384 Lines: 32 On Thu, Dec 03, 2015 at 03:38:12PM -0600, Rob Herring wrote: > On Thu, Dec 03, 2015 at 12:02:20PM +0000, Harvey Hunt wrote: > > v8 -> v9: > > - Document that partitions are represented as a child node of a NAND chip. > > Don't multiple flash chips typically get interleaved in order to get > parallelism needed for performance? Then the view of the partitions > would apply across all chips. Not in MTD so far. We have mtdconcat to do some combination of flash, but it's not too easy to use right now. There are also some "MTD RAID" patches submitted recently that might cover what you're talking about, but that's brand new and unreviewed, and I don't think anyone has considered trying to handle partitions for such a thing yet. Partitioning of this kind isn't even that useful for NAND flash, actually, since fixed assignment of flash ranges restricts the flexibility of UBI's wear-leveling algorithms. It probably makes more sense to deal with UBI volumes instead of MTD partitions when talking about NAND flash. And those aren't specified in DT. > Anyway, it's optional, so: > > Acked-by: Rob Herring Brian -- 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/