All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 00/14] mtd: spi-nor: Add support for Cypress s25hl-t/s25hs-t
@ 2021-04-07  3:30 tkuw584924 at gmail.com
  2021-04-07  3:30 ` [PATCH v6 01/14] mtd: spi-nor-core: Add a ->setup() hook tkuw584924 at gmail.com
                   ` (14 more replies)
  0 siblings, 15 replies; 24+ messages in thread
From: tkuw584924 at gmail.com @ 2021-04-07  3:30 UTC (permalink / raw)
  To: u-boot

From: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>

The S25HL-T/S25HS-T family is the Cypress Semper Flash with Quad SPI.

The summary datasheets can be found in the following links.
https://www.cypress.com/file/424146/download (256Mb/512Mb/1Gb, single die)
https://www.cypress.com/file/499246/download (2Gb/4Gb, dual/quad die)

The full version can be found in the following links (registration
required).
https://community.cypress.com/t5/Semper-Flash-Access-Program/Datasheet-Semper-Flash-with-Quad-SPI/ta-p/260789?attachment-id=19522
https://community.cypress.com/t5/Semper-Flash-Access-Program/Datasheet-2Gb-MCP-Semper-Flash-with-Quad-SPI/ta-p/260823?attachment-id=29503

Tested on Xilinx Zynq-7000 FPGA board.

Changes since v6:
  - Took some patches from Pratyush's series
  - Removed USE_CLSR flag from S25HL02GT and S25HS02GT
  - Defined SPINOR_OP_EX4B_CYPRESS and use it
  - Removed mtd.writesize fixup
  - Added uniform sector check for multi-die package parts
  - Remove spansion_quad_enable_volatile() from tiny
  - Fixed some other minor issues

Changes since v5:
  - Removed 256Mb and 4Gb parts support
  - Fixed register offset issue in spansion_quad_enable_volatile()
  - Added spi_nor_default_ready() and moved existing code into it
  - Separated spansion_sr_read() to new patch
  - Renamed spansion_overlaid_erase() to spansion_non_uniform_erase() and
    changed the implementation to issue the proper erase command based on
    the address
  - Added s25hx_t_erase_non_uniform()
  - Changed mtd.writesize and mtd.flags in s25hx_t_setup()
  - Fixed page size and erase size issues in s25hx_t_post_bfpt_fixup()

Changes since v4:
  - Added Read/Write Any Register support
  - Added the ->ready() hook to support multi-die package parts
  - Added S25HL02GT/S25HL04GT/S25HS02GT/S25HS04GT support
  
Changes since v3:
  - Split into multiple patches

Changes since v2:
  - Fixed typo in comment for spansion_overlaid_erase()
  - Fixed expressions for addr and len check in spansion_overlaid_erase()
  - Added device ID check to make the changes effective for S25 only
  - Added nor->setup() and fixup hooks based on the following patches
    https://patchwork.ozlabs.org/project/uboot/patch/20200904153500.3569-7-p.yadav at ti.com/
    https://patchwork.ozlabs.org/project/uboot/patch/20200904153500.3569-8-p.yadav at ti.com/
    https://patchwork.ozlabs.org/project/uboot/patch/20200904153500.3569-9-p.yadav at ti.com/

Pratyush Yadav (4):
  mtd: spi-nor-core: Add a ->setup() hook
  mtd: spi-nor-core: Move SFDP related declarations to top
  mtd: spi-nor-core: Introduce flash-specific fixup hooks
  mtd: spi-nor-core: allow truncated erases

Takahiro Kuwano (10):
  mtd: spi-nor-core: Add non-uniform erase for Spansion/Cypress
  mtd: spi-nor: Add Cypress manufacturer ID
  mtd: spi-nor-ids: Add Cypress s25hl-t/s25hs-t
  mtd: spi-nor-core: Add support for Read/Write Any  Register
  mtd: spi-nor-core: Add support for volatile QE bit
  mtd: spi-nor-core: Add the ->ready() hook
  mtd: spi-nor-core: Read status by Read Any Register
  mtd: spi-nor-core: Add Cypress manufacturer ID in  set_4byte
  mtd: spi-nor-core: Add fixups for Cypress  s25hl-t/s25hs-t
  mtd: spi-nor-tiny: Add fixups for Cypress  s25hl-t/s25hs-t

 drivers/mtd/spi/spi-nor-core.c | 723 ++++++++++++++++++++++++---------
 drivers/mtd/spi/spi-nor-ids.c  |  16 +
 drivers/mtd/spi/spi-nor-tiny.c |  28 +-
 include/linux/mtd/spi-nor.h    | 205 +++++++---
 4 files changed, 700 insertions(+), 272 deletions(-)

-- 
2.25.1

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2021-04-27  1:16 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07  3:30 [PATCH v6 00/14] mtd: spi-nor: Add support for Cypress s25hl-t/s25hs-t tkuw584924 at gmail.com
2021-04-07  3:30 ` [PATCH v6 01/14] mtd: spi-nor-core: Add a ->setup() hook tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 02/14] mtd: spi-nor-core: Move SFDP related declarations to top tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 03/14] mtd: spi-nor-core: Introduce flash-specific fixup hooks tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 04/14] mtd: spi-nor-core: allow truncated erases tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 05/14] mtd: spi-nor-core: Add non-uniform erase for Spansion/Cypress tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 06/14] mtd: spi-nor: Add Cypress manufacturer ID tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 07/14] mtd: spi-nor-ids: Add Cypress s25hl-t/s25hs-t tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 08/14] mtd: spi-nor-core: Add support for Read/Write Any Register tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 09/14] mtd: spi-nor-core: Add support for volatile QE bit tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 10/14] mtd: spi-nor-core: Add the ->ready() hook tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 11/14] mtd: spi-nor-core: Read status by Read Any Register tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 12/14] mtd: spi-nor-core: Add Cypress manufacturer ID in set_4byte tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 13/14] mtd: spi-nor-core: Add fixups for Cypress s25hl-t/s25hs-t tkuw584924 at gmail.com
2021-04-07  3:31 ` [PATCH v6 14/14] mtd: spi-nor-tiny: " tkuw584924 at gmail.com
2021-04-19  7:13 ` [PATCH v6 00/14] mtd: spi-nor: Add support " Jagan Teki
2021-04-20  4:26   ` Takahiro Kuwano
2021-04-25 12:42     ` Jagan Teki
2021-04-26  6:59       ` Takahiro Kuwano
2021-04-26 12:34         ` Jagan Teki
2021-04-26 12:49           ` Pratyush Yadav
2021-04-26 12:55             ` Jagan Teki
2021-04-26 13:19               ` Pratyush Yadav
2021-04-27  1:16                 ` Takahiro Kuwano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.