mtd: spi-nor: spansion: Add support for S28HL02GT
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>
Thu, 19 Dec 2024 07:06:16 +0000 (16:06 +0900)
committerPratyush Yadav <pratyush@kernel.org>
Mon, 13 Jan 2025 15:51:10 +0000 (15:51 +0000)
Infineon S28HL02GT is 3.0V, 2Gb Flash device with Octal interface.
It has the same functionalities with S28HS02GT.

Link: https://www.infineon.com/dgdl/Infineon-S28HS02GT_S28HS04GT_S28HL02GT_S28HL04GT_2Gb_4Gb_SEMPER_Flash_Octal_interface_1.8V_3.0V-DataSheet-v01_00-EN.pdf?fileId=8ac78c8c7e7124d1017f0631e33714d9
Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
[pratyush@kernel.org: add comment with flash name]
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/dc6aa706253a5200ff0c0d4523c2540312575c01.1734588106.git.Takahiro.Kuwano@infineon.com
drivers/mtd/spi-nor/spansion.c

index e354fe3a48eebd2592bfe0d5b070c7bbdba067d3..bf08dbf5e7421f8725a9931e36acaf3f7348db42 100644 (file)
@@ -972,6 +972,11 @@ static const struct flash_info spansion_nor_parts[] = {
                .name = "s28hl01gt",
                .mfr_flags = USE_CLPEF,
                .fixups = &s28hx_t_fixups,
+       }, {
+               /* S28HL02GT */
+               .id = SNOR_ID(0x34, 0x5a, 0x1c),
+               .mfr_flags = USE_CLPEF,
+               .fixups = &s28hx_t_fixups,
        }, {
                .id = SNOR_ID(0x34, 0x5b, 0x19),
                .mfr_flags = USE_CLPEF,