From: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
To: "Liang Yang" <liang.yang@amlogic.com>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Richard Weinberger" <richard@nod.at>,
"Vignesh Raghavendra" <vigneshr@ti.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Kevin Hilman" <khilman@baylibre.com>,
"Jerome Brunet" <jbrunet@baylibre.com>,
"Martin Blumenstingl" <martin.blumenstingl@googlemail.com>,
"Michał Kępień" <kernel@kempniu.pl>,
"Arseniy Krasnov" <AVKrasnov@sberdevices.ru>,
"Adam Borowski" <kilobyte@angband.pl>,
JaimeLiao <jaimeliao.tw@gmail.com>,
ChenXiaoSong <chenxiaosong2@huawei.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>
Cc: <oxffffaa@gmail.com>, <kernel@sberdevices.ru>,
<linux-mtd@lists.infradead.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-amlogic@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH v1 0/2] use NAND core API for Meson controller
Date: Wed, 5 Jul 2023 13:43:56 +0300 [thread overview]
Message-ID: <20230705104403.696680-1-AVKrasnov@sberdevices.ru> (raw)
During waiting for command completion this driver sends NAND_CMD_STATUS
and then NAND_CMD_READ0 to leave status checking mode. Instead of direct
accesses to the registers of the controller to send these commands, this
patchset uses currently implemented and exported NAND API for the same
purposes. First patch is preparation: we need to export function
'nand_exit_status_op()' for modules. Second patch uses these functions
in the Meson driver.
Arseniy Krasnov (2):
mtd: rawnand: export 'nand_exit_status_op()'
mtd: rawnand: meson: use NAND core API to check status
drivers/mtd/nand/raw/meson_nand.c | 26 ++++++++++++--------------
drivers/mtd/nand/raw/nand_base.c | 1 +
include/linux/mtd/rawnand.h | 1 +
3 files changed, 14 insertions(+), 14 deletions(-)
--
2.35.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next reply other threads:[~2023-07-05 10:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-05 10:43 Arseniy Krasnov [this message]
2023-07-05 10:43 ` [PATCH v1 1/2] mtd: rawnand: export 'nand_exit_status_op()' Arseniy Krasnov
2023-07-13 7:58 ` Miquel Raynal
2023-07-05 10:43 ` [PATCH v1 2/2] mtd: rawnand: meson: use NAND core API to check status Arseniy Krasnov
2023-07-13 7:58 ` Miquel Raynal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230705104403.696680-1-AVKrasnov@sberdevices.ru \
--to=avkrasnov@sberdevices.ru \
--cc=andriy.shevchenko@linux.intel.com \
--cc=chenxiaosong2@huawei.com \
--cc=jaimeliao.tw@gmail.com \
--cc=jbrunet@baylibre.com \
--cc=kernel@kempniu.pl \
--cc=kernel@sberdevices.ru \
--cc=khilman@baylibre.com \
--cc=kilobyte@angband.pl \
--cc=liang.yang@amlogic.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=miquel.raynal@bootlin.com \
--cc=neil.armstrong@linaro.org \
--cc=oxffffaa@gmail.com \
--cc=richard@nod.at \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®