]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4518996627d8c1d40c8378e58454cb103fc226f
tree88b8bb19be7cef55371adb9173d08dd098ad2934
parent731aeee1f1447edc172a8591ee6db54bfa060f07
parentfebb0dc0188ee1859a1bbbe582a49d30e2e2a0fb
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>