Re: [PATCH v10 1/3] dt-bindings: mtd: nand: Add nand-randomizer property

Rob Herring (Arm)
2026-05-06T22:19:56Z

On Tue, 05 May 2026 09:34:51 +0800, Cheng Ming Lin wrote:
> From: Cheng Ming Lin <chengminglin@mxic.com.tw>
>
> Add the 'nand-randomizer' property to control the data randomizer
> feature. This is used to improve data reliability by reducing
> cell-to-cell interference.
>
> Depending on the hardware architecture, this property is designed to be
> generic and can apply to either the NAND chip's internal randomizer
> or the hardware randomizer engine embedded in the NAND host controller.
>
> This property is defined as a uint32 enum (0 or 1) instead of a simple
> boolean. This design choice explicitly supports the "not present" case.
> If the property is omitted, the driver will not interfere and will leave
> the randomizer in its current state (e.g., as already configured by the
> bootloader or hardware default).
>
> Signed-off-by: Cheng Ming Lin <chengminglin@mxic.com.tw>
> ---
> Documentation/devicetree/bindings/mtd/nand-chip.yaml | 9 +++++++++
> 1 file changed, 9 insertions(+)
>

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>