linux/drivers/mtd
Miquel Raynal (DAVE) ee60be8929 mtd: rawnand: pl353: Update timings at the right moment
If several CE are wired, we would write the registers for every chip one
after the other, and reselect the correct timings for the first chip the
use wants to use after probe. This is not exactly efficient and could
slightly be improved since we already have a helper that applies the
configuration if there is a chip change. Instead of programming the
registers in ->setup_interface(), let's just drop the pointer to the
chip and let the nand_select_target() helper do its magic.

Cc: Olivier Sobrie <olivier@sobrie.be>
Signed-off-by: Miquel Raynal (DAVE) <miquel.raynal@bootlin.com>
Acked-by: Olivier Sobrie <olivier@sobrie.be>
Tested-by: Olivier Sobrie <olivier@sobrie.be>
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2026-06-29 16:47:22 +02:00
..
chips mtd: cfi: Use common error handling code in two functions 2026-06-11 09:20:50 +02:00
devices mtd: slram: simplify register_device() cleanup 2026-06-11 09:20:39 +02:00
hyperbus mtd: hyperbus: hbmc-am654: drop unused module alias 2025-09-29 18:02:30 +02:00
lpddr Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
maps mtd: maps: remove obsolete impa7 map driver 2026-05-27 11:19:57 +02:00
nand mtd: rawnand: pl353: Update timings at the right moment 2026-06-29 16:47:22 +02:00
parsers * MTD changes 2026-04-17 17:57:04 -07:00
spi-nor * Extend SPI NAND continuous read to Winbond devices, which requires 2026-06-21 17:05:45 +02:00
tests Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ubi block: switch numa_node to int in blk_mq_hw_ctx and init_request 2026-05-26 11:01:55 -06:00
ftl.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
inftlcore.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
inftlmount.c mtd: inftlmount: convert printk(KERN_WARNING) to pr_warn 2026-05-27 11:11:10 +02:00
Kconfig mtd: Add driver for concatenating devices 2026-02-25 17:34:20 +01:00
Makefile mtd: Add driver for concatenating devices 2026-02-25 17:34:20 +01:00
mtd_blkdevs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mtd_virt_concat.c mtd: concat: replace alloc + calloc with 1 alloc 2026-03-11 16:23:57 +01:00
mtdblock_ro.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mtdblock.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mtdchar.c mtdchar: replace deprecated mmap hook with mmap_prepare, clean up 2026-04-05 13:53:44 -07:00
mtdconcat.c mtd: concat: replace alloc + calloc with 1 alloc 2026-03-11 16:23:57 +01:00
mtdcore.c mtd: Add driver for concatenating devices 2026-02-25 17:34:20 +01:00
mtdcore.h Revert "mtd: core: always create master device" 2025-06-18 11:18:23 +02:00
mtdoops.c mtd: mtdoops: replace simple_strtoul with kstrtouint 2026-04-27 15:12:58 +02:00
mtdpart.c mtd: Add driver for concatenating devices 2026-02-25 17:34:20 +01:00
mtdpstore.c mtd: Add check for devm_kcalloc() 2025-03-04 12:07:08 +01:00
mtdsuper.c mtd: mtdsuper: replace simple_strtoul with kstrtouint 2026-04-27 15:12:59 +02:00
mtdswap.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
nftlcore.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
nftlmount.c
rfd_ftl.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
sm_ftl.c mtd: sm_ftl: allocate cis_buffer with main struct 2026-05-04 15:50:47 +02:00
sm_ftl.h mtd: sm_ftl: allocate cis_buffer with main struct 2026-05-04 15:50:47 +02:00
ssfdc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00