[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260130092349.621034-1-linchengming884@gmail.com>
Date: Fri, 30 Jan 2026 17:23:47 +0800
From: Cheng Ming Lin <linchengming884@...il.com>
To: Miquel Raynal <miquel.raynal@...tlin.com>,
Vignesh Raghavendra <vigneshr@...com>
Cc: Richard Weinberger <richard@....at>,
Tudor Ambarus <tudor.ambarus@...aro.org>,
Martin Kurbanov <mmkurbanov@...utedevices.com>,
Mikhail Kshevetskiy <mikhail.kshevetskiy@...sys.eu>,
Pratyush Yadav <pratyush@...nel.org>,
linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Cheng Ming Lin <chengminglin@...c.com.tw>
Subject: [PATCH v3 0/2] mtd: spi-nand: Add support for randomizer feature
From: Cheng Ming Lin <chengminglin@...c.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
Powered by blists - more mailing lists