[PATCH v1 2/3] mtd: spi-nor: debugfs: Correct DTR protocol names for 1S-xD-xD modes

Takahiro.Kuwano at infineon.com Takahiro.Kuwano at infineon.com
Wed Nov 11 16:14:25 PST 2026


> The debugfs protocol names for the mixed DTR modes (1-1-1, 1-2-2,
> 1-4-4, 1-8-8) currently print the command phase as "1D", i.e. dual
> transfer on a single line.  That does not match the protocol
> definition: these modes issue the opcode on a single line in single
> data rate (S), and only the address, dummy and data phases use DTR
> (D).  The "1D" prefix is therefore wrong.
> 
> Rename them to "1S-xD-xD" so the names reflect that the first phase
> is single-data-rate on one line, consistent with the "8D-8D-8D"
> naming for SNOR_PROTO_8_8_8_DTR.
> 
> This only changes the strings printed by debugfs; no functional
> behavior is affected.
> 
> Signed-off-by: Changhuang Liang <changhuang.liang at starfivetech.com>
> Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---

Reviewed-by: Takahiro Kuwano <takahiro.kuwano at infineon.com>



More information about the linux-mtd mailing list