[PATCH 3/3] mtd: rawnand: qcom: Add support for page scope read
Miquel Raynal
miquel.raynal at bootlin.com
Tue Sep 28 05:54:40 PDT 2021
Hello,
mdalam at codeaurora.org wrote on Tue, 28 Sep 2021 17:51:00 +0530:
> On 2021-09-15 15:27, Md Sadre Alam wrote:
> > QPIC V2.0 onwards QPIC controller support enhanced read mode
> > like page scope read and multi page read.
> >
> > In QPIC V1, SW is needed to write EXEC_CMD register for each
the driver needs to (same below)
> > Code word and collect any Status related to that CW before
> > issueing EXEC_CMD for next CW.
> >
> > Page scope command is truly a page mode command where SW is
> > required to issue EXEC_CMD only once for a page. Controller
> > HW takes care of Codeword specific details and automatically
> > returns status associated with each CW to BAM pipe, dedicated
> > for status deposition.
> >
> > With this command, SW now can issue one read command for a page
> > and upon receiving completion interrupt, can process status,
> > that have already been deposited in memory through status BAM pipe.
> >
> > Signed-off-by: Md Sadre Alam <mdalam at codeaurora.org>
> > ---
> > drivers/mtd/nand/raw/qcom_nandc.c | 77 > ++++++++++++++++++++++++++++++++++++---
> > 1 file changed, 71 insertions(+), 6 deletions(-)
> >
Thanks,
Miquèl
More information about the linux-mtd
mailing list