mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] use NAND core API for Meson controller
@ 2023-07-05 10:43 Arseniy Krasnov
  2023-07-05 10:43 ` [PATCH v1 1/2] mtd: rawnand: export 'nand_exit_status_op()' Arseniy Krasnov
  2023-07-05 10:43 ` [PATCH v1 2/2] mtd: rawnand: meson: use NAND core API to check status Arseniy Krasnov
  0 siblings, 2 replies; 5+ messages in thread
From: Arseniy Krasnov @ 2023-07-05 10:43 UTC (permalink / raw)
  To: Liang Yang, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Neil Armstrong, Kevin Hilman, Jerome Brunet,
	Martin Blumenstingl, Michał Kępień,
	Arseniy Krasnov, Adam Borowski, JaimeLiao, ChenXiaoSong,
	Andy Shevchenko
  Cc: oxffffaa, kernel, linux-mtd, linux-arm-kernel, linux-amlogic,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-13  7:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-05 10:43 [PATCH v1 0/2] use NAND core API for Meson controller Arseniy Krasnov
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

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®