Re: [PATCH v8 3/4] mtd: rawnand: Add Cortina CS7542 controller support

From: Fil Dunsky

Date: Fri Dec 04 2026 - 10:39:20 EST


Hi Philipp,

> The dt-binding calls this reset "shared", but here we request exclusive
> access, which is correct?

The binding is right. Global reset bit 14 covers the common flash
interface for NAND, parallel NOR and serial flash. The Almond+ DT only
has a NAND consumer today, but that does not make the reset exclusive.

The next revision takes a shared, deasserted reset reference and keeps it
for the life of the driver. At probe it resets only the local NAND state
machine through the NAND ECC reset register. It validates the NAND child
before obtaining the shared reset and describes the affected interfaces
in the binding.

The candidate booted on Almond+ and read 128 pages across four banks,
including the same raw OOB bytes as the installed driver.

Thanks,
Fil