[PATCH v3 0/2] mtd: spi-nor: spansion: Add support for Infineon S25FS256T
tkuw584924 at gmail.com
tkuw584924 at gmail.com
Wed Mar 1 23:35:05 PST 2023
From: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
Infineon S25FS256T is 256Mbit Quad SPI NOR flash. This series updates
RD_ANY_REG_OP macro to support dummy cycles and then adds ID and fixups
for S25FS256T.
---
zynq> cat /sys/bus/spi/devices/spi0.0/spi-nor/partname
s25fs256t
zynq> cat /sys/bus/spi/devices/spi0.0/spi-nor/jedec_id
342b190f0890
zynq> cat /sys/bus/spi/devices/spi0.0/spi-nor/manufacturer
spansion
zynq> xxd -p /sys/bus/spi/devices/spi0.0/spi-nor/sfdp
53464450080101ff00000114000100ff84000102500100ffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffffe7ffe2ffffffff0f48eb086bffff
ffffeeffffffffff00ffffff00ff11d810d800ff00ff321cfeff71e9ffe1
ec031c607a757a75f766805c00d65dfff938c0a100000000000000000000
0000ffffffff710600fedcdcffff
zynq> md5sum /sys/bus/spi/devices/spi0.0/spi-nor/sfdp
13ecce2f195c4c71648e90d4a7e4a0df /sys/bus/spi/devices/spi0.0/spi-nor/sfdp
zynq> test_qspi.sh
random: crng init done
6+0 records in
6+0 records out
6291456 bytes (6.0MB) copied, 3.200008 seconds, 1.9MB/s
Copied 6291456 bytes from qspi_test to address 0x00000000 in flash
Erased 6291456 bytes from address 0x00000000 in flash
Copied 6291456 bytes from address 0x00000000 in flash to qspi_read
0000000 ffff ffff ffff ffff ffff ffff ffff ffff
*
0600000
Copied 6291456 bytes from qspi_test to address 0x00000000 in flash
Copied 6291456 bytes from address 0x00000000 in flash to qspi_read
3b47256fecc997f606d7e75e6a9b567a8e8037c1 qspi_test
3b47256fecc997f606d7e75e6a9b567a8e8037c1 qspi_read
---
Takahiro Kuwano (2):
mtd: spi-nor: spansion: Make RD_ANY_REG_OP macro take number of dummy
bytes
mtd: spi-nor: spansion: Add support for Infineon S25FS256T
drivers/mtd/spi-nor/spansion.c | 70 +++++++++++++++++++++++++++++++---
1 file changed, 65 insertions(+), 5 deletions(-)
--
2.25.1
More information about the linux-mtd
mailing list