acrn-kernel/drivers/mtd
Rafał Miłecki 4a575865c1 mtd: allow getting MTD device associated with a specific DT node
MTD subsystem API allows interacting with MTD devices (e.g. reading,
writing, handling bad blocks). So far a random driver could get MTD
device only by its name (get_mtd_device_nm()). This change allows
getting them also by a DT node.

This API is required for drivers handling DT defined MTD partitions in a
specific way (e.g. U-Boot (sub)partition with environment variables).

Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220916122100.170016-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-24 14:54:37 +02:00
..
chips
devices mtd: dataflash: Add SPI ID table 2022-06-24 20:47:38 +02:00
hyperbus mtd: hyperbus: rpc-if: Fix RPM imbalance in probe error path 2022-06-24 20:47:36 +02:00
lpddr mtd: lpddr2_nvm: Warn about failure to unregister mtd device 2022-06-09 15:06:16 +02:00
maps mtd: physmap: Drop if with an always false condition 2022-06-09 15:06:29 +02:00
nand MTD core changes: 2022-08-05 14:13:45 -07:00
parsers mtd: parsers: scpart: add missing of_node_put() in scpart_parse() 2022-06-17 08:29:50 +02:00
spi-nor mtd: spi-nor: fix spi_nor_spimem_setup_op() call in spi_nor_erase_{sector,chip}() 2022-07-28 05:34:23 +03:00
tests
ubi block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
Kconfig
Makefile
ftl.c
inftlcore.c
inftlmount.c
mtd_blkdevs.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
mtdblock.c
mtdblock_ro.c
mtdchar.c mtdchar: use kvmalloc() for potentially large allocations 2022-06-09 15:03:32 +02:00
mtdconcat.c
mtdcore.c mtd: allow getting MTD device associated with a specific DT node 2022-09-24 14:54:37 +02:00
mtdcore.h
mtdoops.c
mtdpart.c
mtdpstore.c
mtdsuper.c
mtdswap.c
nftlcore.c
nftlmount.c
rfd_ftl.c
sm_ftl.c mtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release 2022-06-09 15:03:23 +02:00
sm_ftl.h
ssfdc.c