From: Gabor Juhos <j4g8y7@gmail.com>
To: Manivannan Sadhasivam <mani@kernel.org>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>
Cc: Md Sadre Alam <md.alam@oss.qualcomm.com>,
linux-mtd@lists.infradead.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, Gabor Juhos <j4g8y7@gmail.com>
Subject: [PATCH v2 0/8] mtd: rawnand: qcom: share more common code
Date: Fri, 25 Sep 2026 21:06:09 +0200 [thread overview]
Message-ID: <20260925-qcom_nandc-share-more-code-v2-0-a1b088052d6a@gmail.com> (raw)
In commit fdf3ee5c6e52 ("mtd: nand: Add qpic_common API file")
lots of code has benn moved from the 'qcom_nandc' driver into
the 'qpic_common' module to allow using that also from the
'spi-qpic-snand' driver. Yet, the 'qcom_nandc' driver contains
more code which could be used by the other driver.
The patches in the series generalizes several functions and a
simple structure then moves the generalized code into the
'qpic_common' module so it can be used by the two NAND drivers.
There should be no functional impact in regard to the 'qcom_nandc'
driver.
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
---
Changes in v2:
- Replace 'qpic_nandc' to 'qcom_nandc' in the commit messages of patches 1-6
to match the actual code (spotted by sashiko-bot)
- Link to v1: https://lore.kernel.org/r/20260924-qcom_nandc-share-more-code-v1-0-f3012199b161@gmail.com
---
Gabor Juhos (8):
mtd: rawnand: qcom: make check_flash_errors() more generic
mtd: rawnand: qcom: make config_nand_page_read() more generic
mtd: rawnand: qcom: make config_nand_page_write() more generic
mtd: rawnand: qcom: make config_nand_cw_write() more generic
mtd: rawnand: qcom: make nandc_set_read_loc_first() more generic
mtd: rawnand: qcom: make nandc_set_read_loc_last() more generic
mtd: rawnand: qcom: rename 'nand_stats' structure
mtd: rawnand: qcom: move common code to the 'qpic_common' module
drivers/mtd/nand/qpic_common.c | 131 +++++++++++++++++++++++++
drivers/mtd/nand/raw/qcom_nandc.c | 184 +++++------------------------------
include/linux/mtd/nand-qpic-common.h | 17 ++++
3 files changed, 172 insertions(+), 160 deletions(-)
---
base-commit: 55c5b6d5f59f59a8c98a7effc3195226cc20175c
change-id: 20260922-qcom_nandc-share-more-code-febbc0b5ba8e
Best regards,
--
Gabor Juhos <j4g8y7@gmail.com>
next reply other threads:[~2026-09-25 19:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 19:06 Gabor Juhos [this message]
2026-09-25 19:06 ` [PATCH v2 1/8] mtd: rawnand: qcom: make check_flash_errors() more generic Gabor Juhos
2026-09-25 19:06 ` [PATCH v2 2/8] mtd: rawnand: qcom: make config_nand_page_read() " Gabor Juhos
2026-09-25 19:06 ` [PATCH v2 3/8] mtd: rawnand: qcom: make config_nand_page_write() " Gabor Juhos
2026-09-25 19:06 ` [PATCH v2 4/8] mtd: rawnand: qcom: make config_nand_cw_write() " Gabor Juhos
2026-09-25 19:06 ` [PATCH v2 5/8] mtd: rawnand: qcom: make nandc_set_read_loc_first() " Gabor Juhos
2026-09-25 19:06 ` [PATCH v2 6/8] mtd: rawnand: qcom: make nandc_set_read_loc_last() " Gabor Juhos
2026-09-25 19:06 ` [PATCH v2 7/8] mtd: rawnand: qcom: rename 'nand_stats' structure Gabor Juhos
2026-09-25 19:06 ` [PATCH v2 8/8] mtd: rawnand: qcom: move common code to the 'qpic_common' module Gabor Juhos
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=20260925-qcom_nandc-share-more-code-v2-0-a1b088052d6a@gmail.com \
--to=j4g8y7@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=mani@kernel.org \
--cc=md.alam@oss.qualcomm.com \
--cc=miquel.raynal@bootlin.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®