From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-out.m-online.net ([212.18.0.9]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1LjqIp-00074u-61 for linux-mtd@lists.infradead.org; Wed, 18 Mar 2009 07:35:09 +0000 Message-ID: <49C0A422.3040704@grandegger.com> Date: Wed, 18 Mar 2009 08:34:58 +0100 From: Wolfgang Grandegger MIME-Version: 1.0 To: avorontsov@ru.mvista.com Subject: Re: [PATCH 4/4] powerpc/85xx: TQM8548: Update DTS file for multi-chip support References: <1237281143-8768-1-git-send-email-wg@grandegger.com> <1237281143-8768-2-git-send-email-wg@grandegger.com> <1237281143-8768-3-git-send-email-wg@grandegger.com> <1237281143-8768-4-git-send-email-wg@grandegger.com> <1237281143-8768-5-git-send-email-wg@grandegger.com> <20090317192341.GB4287@oksana.dev.rtsoft.ru> In-Reply-To: <20090317192341.GB4287@oksana.dev.rtsoft.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Anton Vorontsov wrote: > On Tue, Mar 17, 2009 at 10:12:22AM +0100, Wolfgang Grandegegr wrote: >> From: Wolfgang Grandegger >> >> This patch adds multi-chip support for the Micron MT29F8G08FAB NAND >> flash memory on the TQM8548 modules. >> >> This patch should go through the powerpc/85xx channel. >> >> Signed-off-by: Wolfgang Grandegger >> --- >> arch/powerpc/boot/dts/tqm8548.dts | 5 +++++ >> 1 files changed, 5 insertions(+), 0 deletions(-) >> >> diff --git a/arch/powerpc/boot/dts/tqm8548.dts b/arch/powerpc/boot/dts/tqm8548.dts >> index 81d3fbb..e5c3c67 100644 >> --- a/arch/powerpc/boot/dts/tqm8548.dts >> +++ b/arch/powerpc/boot/dts/tqm8548.dts >> @@ -389,6 +389,11 @@ >> reg = <3 0x0 0x800>; >> fsl,upm-addr-offset = <0x10>; >> fsl,upm-cmd-offset = <0x08>; >> + wait-flags = <0x05>; > > Should be at least fsl,upm-wait-flags. (And the flags should > be documented in dts-bindings ;-). OK. >> + /* Multi-chip device */ >> + fsl,upm-mar-chip-offset = <0x200>; >> + max-chips = <2>; > > num-chips would be more appropriate, no? Yep. > >> + chip-offset = <0x200>; > > I believe this is from some old code... No, it's the address offset between the multiple chips. As Kumar already pointed out, I also need to document the new properties. Wolfgang.