public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] mtd: spi-nand: Add support for randomizer feature
@ 2026-01-30  9:23 Cheng Ming Lin
  2026-01-30  9:23 ` [PATCH v3 1/2] mtd: spi-nand: Add support for randomizer Cheng Ming Lin
  2026-01-30  9:23 ` [PATCH v3 2/2] mtd: spi-nand: macronix: Enable randomizer support Cheng Ming Lin
  0 siblings, 2 replies; 6+ messages in thread
From: Cheng Ming Lin @ 2026-01-30  9:23 UTC (permalink / raw)
  To: Miquel Raynal, Vignesh Raghavendra
  Cc: Richard Weinberger, Tudor Ambarus, Martin Kurbanov,
	Mikhail Kshevetskiy, Pratyush Yadav, linux-mtd, linux-kernel,
	Cheng Ming Lin

From: Cheng Ming Lin <chengminglin@mxic.com.tw>

This patch series introduces randomizer support for SPI NAND devices.

Patch 1 adds the hook and initialization logic to the core framework.
Patch 2 implements the randomizer setting specifically for Macronix
chips (MX35LF/UF series) and allows control via device tree.

v3:
* Revert the device tree property to the vendor-specific
  "mxic,randomizer-enable" to strictly follow vendor-specific bindings.

* Update the 'set_randomizer' callback signature to accept a boolean
  'enable' argument, allowing the feature to be explicitly enabled or
  disabled.

* Switch the implementation to use the standard SET_FEATURE command
  to modify the Configuration Register (0x10), replacing the previous
  special program command method.

v2:
* Create a global NAND DT property

Cheng Ming Lin (2):
  mtd: spi-nand: Add support for randomizer
  mtd: spi-nand: macronix: Enable randomizer support

 drivers/mtd/nand/spi/core.c     | 21 +++++++++++++++
 drivers/mtd/nand/spi/macronix.c | 47 ++++++++++++++++++++++++++-------
 include/linux/mtd/spinand.h     |  9 +++++++
 3 files changed, 67 insertions(+), 10 deletions(-)

-- 
2.25.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2026-01-30 17:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-30  9:23 [PATCH v3 0/2] mtd: spi-nand: Add support for randomizer feature Cheng Ming Lin
2026-01-30  9:23 ` [PATCH v3 1/2] mtd: spi-nand: Add support for randomizer Cheng Ming Lin
2026-01-30 15:30   ` kernel test robot
2026-01-30 15:40   ` kernel test robot
2026-01-30 17:24   ` kernel test robot
2026-01-30  9:23 ` [PATCH v3 2/2] mtd: spi-nand: macronix: Enable randomizer support Cheng Ming Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox