]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: aspeed: Enable Quad SPI mode for page program
authorChin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Fri, 14 Nov 2025 10:10:40 +0000 (18:10 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 17 Nov 2025 00:49:54 +0000 (00:49 +0000)
commit716d0a0a2ab00c601120c19bb357f4373f4722d1
treef5cfaab2cb30c799aff2eb762984cf16de89c04e
parentc94f134729491ab60fc68fcd919821014334db97
spi: aspeed: Enable Quad SPI mode for page program

Ensure the controller switches to quad I/O mode when
spi-tx-bus-width dts property is 4 and the Quad SPI program
opcode (32h or 34h) is used. Without this change, high-bit
data will be lost during page programming.

Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Link: https://patch.msgid.link/20251114101042.1520997-3-chin-ting_kuo@aspeedtech.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-aspeed-smc.c