mtd: spi-nor: winbond: add Zetta ZD25Q128C support
authorMichael Walle <mwalle@kernel.org>
Sun, 4 Aug 2024 22:15:35 +0000 (00:15 +0200)
committerPratyush Yadav <pratyush@kernel.org>
Sat, 14 Sep 2024 15:56:31 +0000 (17:56 +0200)
commita84d45217c8fbfab3f522dc84767f7f08ab1a85e
tree3550c050dcc9744dc8afd6c05e46d426567c5aaa
parent86fd0e6410b453fed93cf8085de1e5b0cfdbb6b9
mtd: spi-nor: winbond: add Zetta ZD25Q128C support

Zetta normally uses BAh as its vendor ID. But for the ZD25Q128C they
took the one from Winbond and messed up the size parameters in SFDP.
Most functions seem compatible with the W25Q128, we just have to fix up
the size.

Link: http://www.zettadevice.com/upload/file/20150821/DS_Zetta_25Q128_RevA.pdf
Link: https://www.lcsc.com/datasheet/lcsc_datasheet_2312081757_Zetta-ZD25Q128CSIGT_C19626875.pdf
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20240804221535.291923-1-mwalle@kernel.org
drivers/mtd/spi-nor/winbond.c