linux-xiaomi-chiron/include/linux/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
..
bbm.h
blktrans.h mtd: Add helper macro for register_mtd_blktrans boilerplate 2021-03-11 09:37:48 +01:00
cfi.h mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N 2022-04-28 10:17:10 +02:00
cfi_endian.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
hyperbus.h mtd: hyperbus: Make hyperbus_unregister_device() return void 2022-06-09 15:06:13 +02:00
inftl.h
jedec.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h
mtd.h mtd: allow getting MTD device associated with a specific DT node 2022-09-24 14:54:37 +02:00
mtdram.h
nand-ecc-mtk.h mtd: nand: make mtk_ecc.c a separated module 2022-04-27 18:12:35 +02:00
nand-ecc-mxic.h spi: mxic: Add support for pipelined ECC operations 2022-02-10 09:32:30 +01:00
nand-ecc-sw-bch.h mtd: nand: ecc-bch: Use the public nsteps field 2021-03-11 09:37:28 +01:00
nand-ecc-sw-hamming.h mtd: nand: ecc-hamming: Use the public nsteps field 2021-03-11 09:37:28 +01:00
nand-gpio.h
nand.h spi: mxic: Add support for pipelined ECC operations 2022-02-10 09:32:30 +01:00
ndfc.h
nftl.h
onenand.h
onenand_regs.h
onfi.h mtd: rawnand: Support enabling NV-DDR through SET_FEATURES 2021-05-26 10:51:00 +02:00
partitions.h
pfow.h
physmap.h
pismo.h
plat-ram.h
platnand.h
qinfo.h
rawnand.h mtd: rawnand: protect access to rawnand devices while in suspend 2022-02-09 09:30:21 +01:00
sh_flctl.h
sharpsl.h mtd: nand: ecc-hamming: Remove useless includes 2020-12-10 22:37:30 +01:00
spear_smi.h
spi-nor.h mtd: spi-nor: s/addr_width/addr_nbytes 2022-07-28 05:11:56 +03:00
spinand.h mtd: spinand: Add support for ATO25D1GA 2022-06-06 15:05:33 +02:00
super.h
ubi.h
xip.h