mtd: spi-nor: Add support for w25q32jwm
authorMichael Walle <michael@walle.cc>
Thu, 16 Jan 2020 15:42:09 +0000 (16:42 +0100)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Sun, 19 Jan 2020 06:33:02 +0000 (08:33 +0200)
commitf3418718c0ec934013a36d717a00554d5fbcffc5
tree94de54dd974e166a61c434d11c7998bc56784dc2
parent52bbd2dcb42c21f183a2f59ad843a8d38fb68250
mtd: spi-nor: Add support for w25q32jwm

Add support for the Winbond W25Q32JW-xM flashes. These have a
programmable QE bit. There is also the W25Q32JW-xQ variant which shares
the ID with the W25Q32DW and W25Q32FW parts. The W25Q32JW-xQ has the QE
bit hard strapped to 1, thus don't support the /HOLD and /WP pins.

This was tested in single, dual and quad mode on a custom board with the
NXP FlexSPI controller. Also the BP bits as well as the TB bit were
tested.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/spi-nor.c