Merge tag 'spi-nor/for-5.17' into mtd/next
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 31 Dec 2021 12:29:26 +0000 (13:29 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 31 Dec 2021 12:29:36 +0000 (13:29 +0100)
commitbee387131abe02f43da0ba784446ed4c0dd06dbb
tree88b8bb19be7cef55371adb9173d08dd098ad2934
parent2dc6de1cd303bf9298eee4b4ad4bbe911e8a8a1d
parent5f340402bbfc1ee75e7b62b98f6ad85e14ce587c
Merge tag 'spi-nor/for-5.17' into mtd/next

SPI NOR core changes:
- Add Pratyush as SPI NOR co-maintainer.
- Flash parameters initialization was done in a spaghetti way. Clean
  flash parameters initialization.
- Rework the flash_info flags and clarify where one should be used.
- Initialize all flash parameters based on JESD216 SFDP where possible.
  Flash parameters and settings that are SFDP discoverable should not be
  duplicated via flash_info flags at flash declaration.
- Remove debugfs entries that duplicate sysfs entries.

SPI NOR manufacturer drivers changes:
- Use late_init() hook in various drivers to make it clear that those
  flash parameters are either not declared in the JESD216 SFDP standard,
  or the SFDP tables which define those flash parameters are not defined
  by the flash.
- Fix mtd size for s3an flashes.
- Write 2 bytes when disabling Octal DTR mode: 1 byte long transactions are
  not allowed in 8D-8D-8D mode.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>