[PATCH 2/2] mtd: spi-nand: macronix: Add randomizer support
Miquel Raynal
miquel.raynal at bootlin.com
Fri Aug 8 03:19:24 PDT 2025
On 08/08/2025 at 17:55:03 +08, Cheng Ming Lin <linchengming884 at gmail.com> wrote:
> From: Cheng Ming Lin <chengminglin at mxic.com.tw>
>
> Enable randomizer function by specific flowchart to set the default value
> of RANDEN to 1.
>
> Randomizer introduces two new DT properties for child nodes to configure
> the randomizer functionality and coverage options.
> - mxic,enable-randomizer-otp: Specify whether to activate the randomizer
> feature.
> - mxic,randopt: Define the randomizer area per page.
Can we create a global NAND DT property for that? Enabling a randomizer
is quite a generic step.
> The penalty of randomizer are subpage accesses prohibited and more time
> period is needed in program operation and entering deep power-down mode.
> i.e., tPROG 320us to 360us (randomizer enabled).
Do you want to share what is the added value in terms of lifetime to
enable the randomizer, given the drawbacks which are significant?
Thanks,
Miquèl
More information about the linux-mtd
mailing list