]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spi-nor: spansion: Add s25hl-t/s25hs-t IDs and fixups
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>
Mon, 25 Jul 2022 09:25:05 +0000 (12:25 +0300)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 28 Jul 2022 02:19:27 +0000 (05:19 +0300)
commitea468247bcee2fcba4120038ce43a1a38cdac936
treea05a972518ab0b549c1bfd9a5bbdeb71ddaaec6c
parentd8e0089e7db95bc86b5aba1086c90a44f93e35f4
mtd: spi-nor: spansion: Add s25hl-t/s25hs-t IDs and fixups

The S25HL-T/S25HS-T family is the Infineon SEMPER Flash with Quad SPI.

These Infineon chips support volatile version of configuration registers
and it is recommended to update volatile registers in the field application
due to a risk of the non-volatile registers corruption by power interrupt.
Add support for volatile QE bit.

For the single-die package parts (512Mb and 1Gb), only bottom 4KB and
uniform sector sizes are supported. This is due to missing or incorrect
entries in SMPT. Fixup for other sector sizes configurations will be
followed up as needed.

Tested on Xilinx Zynq-7000 FPGA board.

Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20220725092505.446315-8-tudor.ambarus@microchip.com
drivers/mtd/spi-nor/spansion.c