From: Miquel Raynal Date: Fri, 20 May 2022 11:58:54 +0000 (+0200) Subject: Merge tag 'spi-nor/for-5.19' into mtd/next X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e6828be5edcfea25cd70a2d1de41085c67ef9fa5;p=linux.git Merge tag 'spi-nor/for-5.19' into mtd/next SPI NOR core changes: - Read back written SR value to make sure the write was done correctly. - Introduce a common function for Read ID that manufacturer drivers can use to verify the Octal DTR switch worked correctly. - Add helpers for read/write any register commands so manufacturer drivers don't open code it every time. - Clarify rdsr dummy cycles documentation. - Add debugfs entry to expose internal flash parameters and state. SPI NOR manufacturer drivers changes: - Add support for Winbond W25Q512NW-IM, and Eon EN25QH256A. - Move spi_nor_write_ear() to Winbond module since only Winbond flashes use it. - Rework Micron and Cypress Octal DTR enable methods to improve readability. - Use the common Read ID function to verify switch to Octal DTR mode for Micron and Cypress flashes. - Skip polling status on volatile register writes for Micron and Cypress flashes since the operation is instant. Signed-off-by: Miquel Raynal --- e6828be5edcfea25cd70a2d1de41085c67ef9fa5