aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor
AgeCommit message (Expand)AuthorFilesLines
2024-04-29mtd: spi-nor: replace unnecessary div64_u64() with div_u64()Michael Walle1-2/+2
2024-03-13mtd: spi-nor: core: correct type of iMuhammad Usama Anjum1-1/+1
2024-02-26mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase mapTakahiro Kuwano1-2/+56
2024-02-26mtd: spi-nor: core: get rid of SNOR_OVERLAID_REGION flagTakahiro Kuwano4-17/+8
2024-02-26mtd: spi-nor: core: get rid of SNOR_LAST_REGION flagTakahiro Kuwano4-105/+41
2024-02-26mtd: spi-nor: core: rework struct spi_nor_erase_regionTakahiro Kuwano4-67/+46
2024-01-09Merge tag 'mtd/for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/...Linus Torvalds11-119/+227
2023-12-20mtd: spi-nor: sfdp: get the 1-1-8 and 1-8-8 protocol from SFDPJaimeLiao2-0/+36
2023-12-19mtd: spi-nor: drop superfluous debug printsTudor Ambarus1-18/+0
2023-12-19mtd: spi-nor: sysfs: hide the flash name if not setJaimeLiao1-0/+2
2023-12-19mtd: spi-nor: mark the flash name as obsoleteTudor Ambarus1-1/+1
2023-12-19mtd: spi-nor: print flash ID instead of nameTudor Ambarus1-2/+2
2023-12-06mtd: spi-nor: micron-st: Add support for mt25qu01gFabio Estevam1-0/+25
2023-12-06mtd: spi-nor: remove NO_CHIP_ERASE flagTudor Ambarus2-8/+3
2023-12-06mtd: spi-nor: micron-st: enable die erase for multi die flashesTudor Ambarus2-19/+47
2023-12-06mtd: spi-nor: spansion: enable die erase for multi die flashesTudor Ambarus1-2/+2
2023-12-06mtd: spi-nor: add erase die (chip) capabilityTudor Ambarus3-37/+81
2023-11-30mtd: spi-nor: Stop reporting warning message when soft reset is not suportedChia-Lin Kao (AceLan)1-1/+2
2023-11-30spi: Unify error codes by replacing -ENOTSUPP with -EOPNOTSUPPChia-Lin Kao (AceLan)1-1/+1
2023-11-15mtd: spi-nor: use kernel sized types instead of c99 typesTudor Ambarus5-31/+27
2023-11-04Merge tag 'spi-nor/for-6.7' into mtd/nextMiquel Raynal21-873/+1407
2023-10-18mtd: spi-nor: micron-st: use SFDP table for mt25qu512aMamta Shukla1-3/+13
2023-10-18mtd: spi-nor: micron-st: enable lock/unlock for mt25qu512aMamta Shukla1-0/+2
2023-10-16mtd: spi-nor: nxp-spifi: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-10-16mtd: spi-nor: hisi-sfc: Convert to platform remove callback returning voidUwe Kleine-König1-3/+2
2023-09-27mtd: spi-nor: atmel: add at25ff321a entryNicolas Ferre1-0/+5
2023-09-19mtd: spi-nor: core: get rid of the INFOx() macrosMichael Walle1-65/+0
2023-09-19mtd: spi-nor: atmel: drop duplicate entryMichael Walle1-7/+0
2023-09-19mtd: spi-nor: winbond: sort flash_info entriesMichael Walle1-83/+83
2023-09-19mtd: spi-nor: sst: sort flash_info databaseMichael Walle1-45/+45
2023-09-19mtd: spi-nor: spansion: sort flash_info databaseMichael Walle1-87/+87
2023-09-19mtd: spi-nor: micron-st: sort flash_info databaseMichael Walle1-168/+168
2023-09-19mtd: spi-nor: macronix: sort flash_info databaseMichael Walle1-65/+65
2023-09-19mtd: spi-nor: issi: sort flash_info databaseMichael Walle1-22/+22
2023-09-19mtd: spi-nor: gigadevice: sort flash_info databaseMichael Walle1-18/+18
2023-09-19mtd: spi-nor: eon: sort flash_info databaseMichael Walle1-18/+18
2023-09-19mtd: spi-nor: atmel: sort flash_info databaseMichael Walle1-41/+41
2023-09-19mtd: spi-nor: xmc: convert flash_info to new formatMichael Walle1-6/+11
2023-09-19mtd: spi-nor: xilinx: use new macros in S3AN_INFO()Michael Walle1-11/+12
2023-09-19mtd: spi-nor: winbond: convert flash_info to new formatMichael Walle1-96/+185
2023-09-19mtd: spi-nor: sst: convert flash_info to new formatMichael Walle1-58/+104
2023-09-19mtd: spi-nor: spansion: convert flash_info to new formatMichael Walle1-129/+241
2023-09-19mtd: spi-nor: micron-st: convert flash_info to new formatMichael Walle1-137/+268
2023-09-19mtd: spi-nor: macronix: convert flash_info to new formatMichael Walle1-68/+150
2023-09-19mtd: spi-nor: issi: convert flash_info to new formatMichael Walle1-36/+78
2023-09-19mtd: spi-nor: intel: convert flash_info to new formatMichael Walle1-6/+16
2023-09-19mtd: spi-nor: gigadevice: convert flash_info to new formatMichael Walle1-32/+49
2023-09-19mtd: spi-nor: everspin: convert flash_info to new formatMichael Walle1-4/+23
2023-09-19mtd: spi-nor: esmt: convert flash_info to new formatMichael Walle1-9/+19
2023-09-19mtd: spi-nor: eon: convert flash_info to new formatMichael Walle1-18/+54
2023-09-19mtd: spi-nor: atmel: convert flash_info to new formatMichael Walle1-42/+80
2023-09-19mtd: spi-nor: remove or move flash_info commentsMichael Walle11-14/+1
2023-09-19mtd: spi-nor: add SNOR_ID() and SNOR_OTP()Michael Walle1-0/+14
2023-09-19mtd: spi-nor: rename .otp_org to .otp and make it a pointerMichael Walle3-4/+4
2023-09-19mtd: spi-nor: move the .id and .id_len into an own structureMichael Walle5-19/+36
2023-09-19mtd: spi-nor: introduce (temporary) INFO0()Michael Walle3-11/+14
2023-09-19mtd: spi-nor: drop .parse_sfdpMichael Walle9-36/+22
2023-09-19mtd: spi-nor: make sector_size optionalMichael Walle4-7/+16
2023-09-19mtd: spi-nor: push 4k SE handling into spi_nor_select_uniform_erase()Michael Walle1-18/+9
2023-09-19mtd: spi-nor: default .n_banks to 1Michael Walle3-7/+5
2023-09-19mtd: spi-nor: store .n_banks in struct spi_nor_flash_parameterMichael Walle2-3/+6
2023-09-19mtd: spi-nor: default page_size to 256 bytesMichael Walle2-8/+7
2023-09-19mtd: spi-nor: convert .n_sectors to .sizeMichael Walle4-11/+12
2023-09-19mtd: spi-nor: xilinx: remove addr_nbytes from S3AN_INFO()Michael Walle1-1/+0
2023-09-19mtd: spi-nor: xilinx: use SPI_NOR_ID() in S3AN_INFO()Michael Walle1-6/+1
2023-09-19mtd: spi-nor: remove Fujitsu MB85RS1MT supportMichael Walle4-24/+0
2023-09-19mtd: spi-nor: remove catalyst 'flashes'Michael Walle4-27/+0
2023-09-03Merge tag 'mtd/for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/...Linus Torvalds13-184/+293
2023-08-18Merge tag 'spi-nor/for-6.6' into mtd/nextMiquel Raynal13-183/+293
2023-08-18mtd: spi-nor: nxp-spifi: Use helper function devm_clk_get_enabled()Li Zetao1-27/+6
2023-08-18mtd: spi-nor: Add support for sst26vf032b flashMiquel Raynal1-0/+4
2023-08-18mtd: spi-nor: Check bus width while setting QE bitHsin-Yi Wang1-9/+10
2023-07-27mtd: Explicitly include correct DT includesRob Herring1-1/+0
2023-07-27mtd: spi-nor: avoid holes in struct spi_mem_opArnd Bergmann1-2/+2
2023-07-26mtd: spi-nor: spansion: switch cypress_nor_get_page_size() to use vreg_offsetTudor Ambarus1-65/+48
2023-07-26mtd: spi-nor: spansion: switch s25hx_t to use vreg_offset for quad_enable()Tudor Ambarus1-11/+7
2023-07-26mtd: spi-nor: spansion: let SFDP determine the flash and sector sizeTudor Ambarus1-8/+8
2023-07-26mtd: spi-nor: spansion: add support for S28HS02GTTakahiro Kuwano1-5/+15
2023-07-26mtd: spi-nor: spansion: add octal DTR support in RD_ANY_REG_OPTakahiro Kuwano1-1/+7
2023-07-26mtd: spi-nor: spansion: add MCP support in set_octal_dtr()Takahiro Kuwano1-14/+19
2023-07-26mtd: spi-nor: spansion: switch h28hx's ready() to use vreg_offsetTakahiro Kuwano1-0/+1
2023-07-26mtd: spi-nor: spansion: switch set_octal_dtr method to use vreg_offsetTakahiro Kuwano1-6/+19
2023-07-26mtd: spi-nor: spansion: prepare octal dtr methods for multi chip supportTakahiro Kuwano1-13/+37
2023-07-26mtd: spi-nor: spansion: preserve CFR2V[7] when writing MEMLATTakahiro Kuwano1-1/+13
2023-07-26mtd: spi-nor: spansion: use CLPEF as an alternative to CLSRTakahiro Kuwano10-32/+103
2023-07-22mtd: spi-nor: spansion: return method directlyTudor Ambarus1-7/+1
2023-07-18mtd: spi-nor: rename method for enabling or disabling octal DTRTudor Ambarus4-13/+13
2023-07-18mtd: spi-nor: Correct flags for Winbond w25q128Linus Walleij1-2/+3
2023-07-13mtd: spi-nor: Avoid setting SRWD bit in SR if WP# signal not connectedAmit Kumar Mahapatra4-2/+12
2023-05-26mtd: spi-nor: Fix divide by zero for spi-nor-generic flashesTudor Ambarus1-1/+4
2023-05-26mtd: spi-nor: spansion: make sure local struct does not contain garbageTudor Ambarus1-2/+2
2023-04-25Merge tag 'mtd/for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/...Linus Torvalds14-156/+1070
2023-04-19Merge tag 'spi-nor/for-6.4' into mtd/nextMiquel Raynal13-154/+1068
2023-04-08mtd: spi-nor: spansion: Add support for s25hl02gt and s25hs02gtTakahiro Kuwano1-0/+12
2023-04-08mtd: spi-nor: spansion: Add a new ->ready() hook for multi-chip deviceTakahiro Kuwano1-24/+85
2023-04-08mtd: spi-nor: spansion: Rework cypress_nor_quad_enable_volatile() for multi-c...Takahiro Kuwano1-21/+39
2023-04-08mtd: spi-nor: spansion: Rework cypress_nor_get_page_size() for multi-chip dev...Takahiro Kuwano1-20/+69
2023-04-08mtd: spi-nor: sfdp: Add support for SCCR map for multi-chip deviceTakahiro Kuwano1-0/+66
2023-04-08mtd: spi-nor: Extract volatile register offset from SCCR mapTakahiro Kuwano2-0/+17
2023-04-08mtd: spi-nor: Allow post_sfdp hook to return errorsTudor Ambarus4-10/+25
2023-04-08mtd: spi-nor: spansion: Rename method to cypress_nor_get_page_sizeTudor Ambarus1-6/+5
2023-04-08mtd: spi-nor: spansion: Enable JFFS2 write buffer for S25FS256TTakahiro Kuwano1-7/+1
2023-04-08mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s25hx SEMPER f...Takahiro Kuwano1-5/+2
2023-04-08mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s28hx SEMPER f...Takahiro Kuwano4-1/+17
2023-04-04mtd: spi-nor: spansion: Determine current address modeTakahiro Kuwano1-3/+128
2023-04-04mtd: spi-nor: core: Introduce spi_nor_set_4byte_addr_mode()Tudor Ambarus2-5/+31
2023-04-04mtd: spi-nor: core: Update flash's current address mode when changing address...Tudor Ambarus1-1/+3
2023-04-04mtd: spi-nor: Stop exporting spi_nor_restore()Tudor Ambarus1-2/+1
2023-04-04mtd: spi-nor: Set the 4-Byte Address Mode method based on SFDP dataTudor Ambarus6-12/+71
2023-04-04mtd: spi-nor: core: Make spi_nor_set_4byte_addr_mode_brwr publicTudor Ambarus2-1/+2
2023-04-04mtd: spi-nor: core: Update name and description of spi_nor_set_4byte_addr_modeTudor Ambarus4-6/+8
2023-04-04mtd: spi-nor: core: Update name and description of spansion_set_4byte_addr_modeTudor Ambarus1-4/+9
2023-04-04mtd: spi-nor: core: Update name and description of micron_st_nor_set_4byte_ad...Tudor Ambarus3-5/+7
2023-04-04mtd: spi-nor: core: Move generic method to core - micron_st_nor_set_4byte_add...Tudor Ambarus3-24/+25
2023-04-04mtd: spi-nor: macronix: Add support for mx25uw51245g with RWWMiquel Raynal1-0/+3
2023-04-04mtd: spi-nor: Delay the initialization of bank_sizeMiquel Raynal1-1/+2
2023-04-04mtd: spi-nor: Fix a trivial typoMiquel Raynal1-1/+1
2023-03-29mtd: spi-nor: Enhance locking to support reads while writesMiquel Raynal1-16/+321
2023-03-29mtd: spi-nor: Add a RWW flagMiquel Raynal3-0/+7
2023-03-29mtd: spi-nor: Prepare the introduction of a new locking mechanismMiquel Raynal1-6/+53
2023-03-29mtd: spi-nor: Separate preparation and lockingMiquel Raynal1-4/+20
2023-03-29mtd: spi-nor: Reorder the preparation vs. locking stepsMiquel Raynal5-21/+18
2023-03-29mtd: spi-nor: Add a macro to define more banksMiquel Raynal1-0/+4
2023-03-29mtd: spi-nor: Introduce the concept of bankMiquel Raynal3-5/+13
2023-03-22mtd: Use of_property_read_bool() for boolean propertiesRob Herring1-2/+2
2023-03-17mtd: spi-nor: spansion: Add support for Infineon S25FS256TTakahiro Kuwano1-0/+60
2023-03-17mtd: spi-nor: spansion: Make RD_ANY_REG_OP macro take number of dummy bytesTakahiro Kuwano1-5/+5
2023-03-06mtd: spi-nor: fix memory leak when using debugfs_lookup()Greg Kroah-Hartman3-4/+23
2023-02-06mtd: spi-nor: Sort headers alphabeticallyTudor Ambarus3-9/+8
2023-02-06mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_typeLouis Rannou3-2/+12
2023-01-26mtd: spi-nor: Create macros to define chip IDs and geometriesMiquel Raynal1-23/+20
2023-01-26mtd: spi-nor: spansion: Make CFRx reg fields genericTudor Ambarus1-11/+11
2023-01-26mtd: spi-nor: spansion: Consider reserved bits in CFR5 registerTudor Ambarus1-2/+7
2023-01-26mtd: spi-nor: core: fix implicit declaration warningZeng Heng1-0/+1
2022-12-26mtd: spi-nor: sfdp: Use SFDP_DWORD() macro for optional parameter tablesTakahiro Kuwano1-12/+16
2022-12-26mtd: spi-nor: sfdp: Rename BFPT_DWORD() macro to SFDP_DWORD()Takahiro Kuwano4-29/+28
2022-12-26mtd: spi-nor: sfdp: Fix index value for SCCR dwordsTakahiro Kuwano1-1/+1
2022-12-05Merge tag 'spi-nor/for-6.2' into mtd/nextMiquel Raynal11-45/+211
2022-11-22mtd: spi-nor: add SFDP fixups for Quad Page ProgramSudip Mukherjee3-0/+9
2022-11-22mtd: spi-nor: issi: is25wp256: Init flash based on SFDPSudip Mukherjee1-2/+2
2022-11-21mtd: spi-nor: winbond: add support for W25Q512NW-IQJae Hyun Yoo1-0/+3
2022-11-21mtd: spi-nor: micron-st: Enable locking for mt25qu256aEliav Farber1-0/+2
2022-11-21mtd: spi-nor: Fix the number of bytes for the dummy cyclesAllen-KH Cheng1-1/+2
2022-11-21mtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init with gd25q2...Yaliang Wang1-7/+17
2022-11-21mtd: spi-nor: Fix formatting in spi_nor_read_raw() kerneldoc commentJonathan Neuschäfer1-2/+1
2022-11-21mtd: spi-nor: sysfs: print JEDEC ID for generic flash driverMichael Walle1-2/+4
2022-11-21mtd: spi-nor: add generic flash driverMichael Walle3-2/+52
2022-11-21mtd: spi-nor: fix select_uniform_erase to skip 0 erase sizeMichael Walle1-0/+4
2022-11-21mtd: spi-nor: move function declaration out of sfdp.hMichael Walle2-2/+2
2022-11-21mtd: spi-nor: remember full JEDEC flash IDMichael Walle2-1/+6
2022-11-21mtd: spi-nor: sysfs: hide manufacturer if it is not setMichael Walle1-0/+2
2022-11-21mtd: spi-nor: hide jedec_id sysfs attribute if not presentMichael Walle1-0/+14
2022-11-21mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()Alexander Sverdlin1-0/+2
2022-10-25mtd: spi-nor: core: Add an error message when failing to exit the 4-byte addr...Tudor Ambarus1-2/+12
2022-10-25mtd: spi-nor: micron-st.c: Replace hardcoded values for addr_nbytes/addr_mode...Tudor Ambarus1-3/+7
2022-10-25mtd: spi-nor: spansion: Replace hardcoded values for addr_nbytes/addr_mode_nb...Tudor Ambarus1-5/+11
2022-10-25mtd: spi-nor: spansion: Add s28hl512t, s28hl01gt, and s28hs01gt infoTakahiro Kuwano1-0/+12
2022-10-25mtd: spi-nor: spansion: Rename s28hs512t prefixTakahiro Kuwano1-10/+10
2022-10-25mtd: spi-nor: spansion: Remove NO_SFDP_FLAGS from s28hs512t infoTakahiro Kuwano1-9/+8
2022-10-25mtd: spi-nor: sfdp: Update params->hwcaps.mask at xSPI profile 1.0 table parseTakahiro Kuwano1-0/+7
2022-10-25mtd: spi-nor: Add support for flash resetSai Krishna Potthuri1-0/+25
2022-10-18mtd: spi-nor: core: Ignore -ENOTSUPP in spi_nor_init()Mika Westerberg1-1/+3
2022-07-28mtd: spi-nor: fix spi_nor_spimem_setup_op() call in spi_nor_erase_{sector,chi...Patrice Chotard1-3/+3
2022-07-28mtd: spi-nor: spansion: Add s25hl-t/s25hs-t IDs and fixupsTakahiro Kuwano1-0/+132
2022-07-28mtd: spi-nor: spansion: Add local function to discover page sizeTakahiro Kuwano1-22/+31
2022-07-28mtd: spi-nor: core: Track flash's internal address modeTudor Ambarus2-1/+8
2022-07-28mtd: spi-nor: core: Return error code from set_4byte_addr_mode()Takahiro Kuwano1-1/+1
2022-07-28mtd: spi-nor: Do not change nor->addr_nbytes at SFDP parsing timeTudor Ambarus4-8/+9
2022-07-28mtd: spi-nor: core: Shrink the storage size of the flash_info's addr_nbytesTudor Ambarus1-1/+1
2022-07-28mtd: spi-nor: s/addr_width/addr_nbytesTudor Ambarus9-66/+66
2022-07-19mtd: spi-nor: esmt: Use correct name of f25l32qaSungbo Eo1-1/+1
2022-07-19mtd: spi-nor: micron-st: Skip FSR reading if SPI controller does not support itMika Westerberg1-2/+10
2022-06-27mtd: spi-nor: move SECT_4K_PMC special handlingMichael Walle3-10/+22
2022-05-24Merge tag 'spi-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...Linus Torvalds3-932/+0
2022-05-16spi: spi-mem: Convert Aspeed SMC driver to spi-memCédric Le Goater3-932/+0
2022-05-12mtd: spi-nor: debugfs: fix format specifierMichael Walle1-1/+1
2022-05-09mtd: spi-nor: support eon en25qh256a variantLeon M. George1-1/+2
2022-05-09mtd: spi-nor: winbond: add support for W25Q512NW-IMShaik Sajida Bhanu1-0/+3
2022-05-09mtd: spi-nor: expose internal parameters via debugfsMichael Walle4-0/+259
2022-05-09mtd: spi-nor: export spi_nor_hwcaps_pp2cmd()Michael Walle2-1/+2
2022-05-02mtd: spi-nor: move spi_nor_write_ear() to winbond moduleMichael Walle3-38/+41
2022-04-29mtd: spi-nor: amend the rdsr dummy cycles documentationMichael Walle1-2/+3
2022-04-27mtd: spi-nor: micron-st: Remove status polling on volatile registers writeTudor Ambarus1-3/+0
2022-04-27mtd: spi-nor: spansion: Remove status polling on volatile registers writeTudor Ambarus1-4/+0
2022-04-27mtd: spi-nor: Introduce templates for SPI NOR operationsTudor Ambarus5-107/+158
2022-04-27mtd: spi-nor: spansion: Rework spi_nor_cypress_octal_dtr_enable()Tudor Ambarus1-59/+69
2022-04-27mtd: spi-nor: micron-st: Rework spi_nor_micron_octal_dtr_enable()Tudor Ambarus1-51/+60
2022-04-27mtd: spi-nor: core: Add helpers to read/write any registerTudor Ambarus2-0/+50
2022-04-27mtd: spi-nor: manufacturers: Use spi_nor_read_id() core methodTudor Ambarus2-20/+6
2022-04-27mtd: spi-nor: core: Introduce method for RDID opTudor Ambarus2-15/+44
2022-04-27mtd: spi-nor: core: Use auto-detection only onceTudor Ambarus1-3/+1
2022-04-27mtd: spi-nor: Introduce spi_nor_match_id()Tudor Ambarus1-21/+19
2022-04-27mtd: spi-nor: Rename method, s/spi_nor_match_id/spi_nor_match_nameTudor Ambarus1-3/+3
2022-04-27mtd: spi-nor: core: Check written SR value in spi_nor_write_16bit_sr_and_check()Chen-Tsung Hsieh1-0/+9
2022-03-25Merge tag 'mtd/changes-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds19-509/+594
2022-03-18Merge tag 'spi-nor/for-5.18' into mtd/nextMiquel Raynal18-507/+581
2022-03-08mtd: spi-nor: Skip erase logic when SPI_NOR_NO_ERASE is setTudor Ambarus1-1/+2
2022-02-25mtd: spi-nor: renumber flagsMichael Walle1-14/+14
2022-02-25mtd: spi-nor: slightly change code style in spi_nor_sr_ready()Michael Walle1-1/+2
2022-02-25mtd: spi-nor: spansion: rename vendor specific functions and definesMichael Walle1-7/+7