* [PATCH] mtd: spinand: add support for FORESEE F35SQA001G
@ 2024-11-10 20:50 Bohdan Chubuk
2024-12-05 10:43 ` Miquel Raynal
0 siblings, 1 reply; 2+ messages in thread
From: Bohdan Chubuk @ 2024-11-10 20:50 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra
Cc: Bohdan Chubuk, linux-mtd, linux-kernel
Add support for FORESEE F35SQA001G SPI NAND.
Similar to F35SQA002G, but differs in capacity.
Datasheet:
- https://cdn.ozdisan.com/ETicaret_Dosya/704795_871495.pdf
Tested on Xiaomi AX3000T flashed with OpenWRT.
Signed-off-by: Bohdan Chubuk <chbgdn@gmail.com>
---
drivers/mtd/nand/spi/foresee.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/mtd/nand/spi/foresee.c b/drivers/mtd/nand/spi/foresee.c
index e0d2d9257..8a01582c0 100644
--- a/drivers/mtd/nand/spi/foresee.c
+++ b/drivers/mtd/nand/spi/foresee.c
@@ -81,6 +81,16 @@ static const struct spinand_info foresee_spinand_table[] = {
SPINAND_HAS_QE_BIT,
SPINAND_ECCINFO(&f35sqa002g_ooblayout,
f35sqa002g_ecc_get_status)),
+ SPINAND_INFO("F35SQA001G",
+ SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x71, 0x71),
+ NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
+ NAND_ECCREQ(1, 512),
+ SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+ &write_cache_variants,
+ &update_cache_variants),
+ SPINAND_HAS_QE_BIT,
+ SPINAND_ECCINFO(&f35sqa002g_ooblayout,
+ f35sqa002g_ecc_get_status)),
};
static const struct spinand_manufacturer_ops foresee_spinand_manuf_ops = {
--
2.47.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] mtd: spinand: add support for FORESEE F35SQA001G
2024-11-10 20:50 [PATCH] mtd: spinand: add support for FORESEE F35SQA001G Bohdan Chubuk
@ 2024-12-05 10:43 ` Miquel Raynal
0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2024-12-05 10:43 UTC (permalink / raw)
To: Richard Weinberger, Vignesh Raghavendra, Bohdan Chubuk
Cc: Miquel Raynal, linux-mtd, linux-kernel
On Sun, 10 Nov 2024 22:50:47 +0200, Bohdan Chubuk wrote:
> Add support for FORESEE F35SQA001G SPI NAND.
>
> Similar to F35SQA002G, but differs in capacity.
> Datasheet:
> - https://cdn.ozdisan.com/ETicaret_Dosya/704795_871495.pdf
>
> Tested on Xiaomi AX3000T flashed with OpenWRT.
>
> [...]
Applied to nand/next, thanks!
[1/1] mtd: spinand: add support for FORESEE F35SQA001G
Patche(s) will be available within hours on:
mtd/linux.git
Kind regards,
Miquèl
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-05 10:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-10 20:50 [PATCH] mtd: spinand: add support for FORESEE F35SQA001G Bohdan Chubuk
2024-12-05 10:43 ` 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®