Message ID | 1651234239-32217-1-git-send-email-quic_c_sbhanu@quicinc.com |
---|---|
State | Accepted |
Delegated to: | Pratyush Yadav |
Headers | show |
Series | [V9] mtd: spi-nor: winbond: add support for W25Q512NW-IM | expand |
On Fri, 29 Apr 2022 17:40:39 +0530, Shaik Sajida Bhanu wrote: > Add support for winbond W25Q512NW-IM chip. > > Below are the tests done: > > 1. Verified flashing binary image on spi card using flashrom tool. > 2. Verified OTP support, below are the test results: > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/next, thanks! [1/1] mtd: spi-nor: winbond: add support for W25Q512NW-IM https://git.kernel.org/mtd/c/89051ff5dd -- Regards, Pratyush Yadav Texas Instruments Inc.
diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c index fe80dff..f2b625a 100644 --- a/drivers/mtd/spi-nor/winbond.c +++ b/drivers/mtd/spi-nor/winbond.c @@ -124,6 +124,9 @@ static const struct flash_info winbond_nor_parts[] = { { "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024) NO_SFDP_FLAGS(SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, + { "w25q512nwm", INFO(0xef8020, 0, 64 * 1024, 1024) + PARSE_SFDP + OTP_INFO(256, 3, 0x1000, 0x1000) }, { "w25q512jvq", INFO(0xef4020, 0, 64 * 1024, 1024) NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },