]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge tag 'spi-nor/for-6.2' into mtd/next
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 5 Dec 2022 14:40:59 +0000 (15:40 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 5 Dec 2022 14:40:59 +0000 (15:40 +0100)
SPI NOR core changes:
* Add support for flash reset using the dt reset-gpios property.
* Update hwcaps.mask to include 8D-8D-8D read and page program ops
  when xSPI profile 1.0 table is defined.
* Bypass zero erase size in spi_nor_find_best_erase_type().
* Fix select_uniform_erase to skip 0 erase size
* Add generic flash driver. If a flash is not found in the flash_info
  array, fall back to the generic flash driver which is described solely
  by the flash's SFDP tables.
* Fix the number of bytes for the dummy cycles in
  spi_nor_spimem_check_readop().
* Introduce SPI_NOR_QUAD_PP flag, as PP_1_1_4 is not SFDP discoverable.

SPI NOR manufacturer drivers changes:
* Spansion:
  - use PARSE_SFDP for s28hs512t,
  - add support for s28hl512t, s28hl01gt, and s28hs01gt.
* Gigadevice: Replace default_init() with post_bfpt() for gd25q256.
* Micron - ST: Enable locking for mt25qu256a.
* Winbond: Add support for W25Q512NW-IQ.
* ISSI: Use PARSE_SFDP and SPI_NOR_QUAD_PP.

Fix merge conflict in the jedec,spi-nor bindings.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1  2 
Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
drivers/mtd/spi-nor/core.c

index 6cc491083650a0f9c63b8193c1077dc3f97eab22,8a843b9b86731e1e552da193b46f0348cd8d7a0e..3fe981b14e2cb7d3380c19de4b56fc12bf99b00e
@@@ -70,6 -70,26 +70,12 @@@ properties
        be used on such systems, to denote the absence of a reliable reset
        mechanism.
  
 -  partitions:
 -    type: object
 -
 -  '#address-cells': true
 -  '#size-cells': true
 -
 -patternProperties:
 -  # Note: use 'partitions' node for new users
 -  '^partition@':
 -    type: object
 -
 -  "^otp(-[0-9]+)?$":
 -    type: object
 -
+   reset-gpios:
+     description:
+       A GPIO line connected to the RESET (active low) signal of the device.
+       If "broken-flash-reset" is present then having this property does not
+       make any difference.
  unevaluatedProperties: false
  
  examples:
Simple merge