[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <OFDC1EA65D.196421DA-ON4825849E.000FBB73-4825849E.001181F2@mxic.com.tw>
Date: Fri, 25 Oct 2019 11:11:13 +0800
From: masonccyang@...c.com.tw
To: "Boris Brezillon" <boris.brezillon@...labora.com>
Cc: bbrezillon@...nel.org, computersforpeace@...il.com,
dwmw2@...radead.org, frieder.schrempf@...tron.de,
gregkh@...uxfoundation.org, juliensu@...c.com.tw,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
marcel.ziswiler@...adex.com, marek.vasut@...il.com,
"Miquel Raynal" <miquel.raynal@...tlin.com>, richard@....at,
tglx@...utronix.de, vigneshr@...com
Subject: Re: [PATCH RFC 3/3] mtd: rawnand: Add support Macronix power down mode
Hi Boris,
>
> Subject
>
> Re: [PATCH RFC 3/3] mtd: rawnand: Add support Macronix power down mode
>
> On Tue, 8 Oct 2019 10:06:50 +0800
> masonccyang@...c.com.tw wrote:
>
> > > > + nand_select_target(chip, 0);
> > >
> > > On several NAND controllers there is no way to act on the CS line
> > > without actually writing bytes to the NAND chip. So basically this
> > > is very likely to not work.
> >
> > any other way to make it work ? GPIO ?
> > or just have some comments description here.
> > i.e,.
> >
> > /* The NAND chip will exit the deep power down mode with #CS toggling,
> > * please refer to datasheet for the timing requirement of tCRDP and
tRDP.
> > */
> >
>
> Good luck with that. As Miquel said, on most NAND controllers
> select_target() is a dummy operation that just assigns nand_chip->target
> to the specified value but doesn't assert the CS line. You could send a
> dummy command here, like a READ_ID, but I guess you need CS to be
> asserted for at least 20ns before asserting any other signals (CLE/ALE)
> which might be an issue.
>
I have validated & checked w/ designer that NANDs device just need CS#
line
toggling and don't care of CLE/WE#/RE#. That is raw NAND controller
sending
a command nand_status_op() or nand_power_down_op() will exit the deep
power down too. The first command(just CS# line toggling) to NAND device
in deep power down mode will not be recognized. We may publish the
application notes or update the datasheet later.
thanks & best regards,
Mason
CONFIDENTIALITY NOTE:
This e-mail and any attachments may contain confidential information
and/or personal data, which is protected by applicable laws. Please be
reminded that duplication, disclosure, distribution, or use of this e-mail
(and/or its attachments) or any part thereof is prohibited. If you receive
this e-mail in error, please notify us immediately and delete this mail as
well as its attachment(s) from your system. In addition, please be
informed that collection, processing, and/or use of personal data is
prohibited unless expressly permitted by personal data protection laws.
Thank you for your attention and cooperation.
Macronix International Co., Ltd.
=====================================================================
============================================================================
CONFIDENTIALITY NOTE:
This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation.
Macronix International Co., Ltd.
=====================================================================
Powered by blists - more mailing lists