linux-stable/include/linux/mtd
Michael Walle 4b361cfa86 mtd: core: add OTP nvmem provider support
Flash OTP regions can already be read via user space. Some boards have
their serial number or MAC addresses stored in the OTP regions. Add
support for them being a (read-only) nvmem provider.

The API to read the OTP data is already in place. It distinguishes
between factory and user OTP, thus there are up to two different
providers.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210424110608.15748-6-michael@walle.cc
2021-05-10 12:42:55 +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
cfi_endian.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
hyperbus.h
inftl.h
jedec.h
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h
mtd.h mtd: core: add OTP nvmem provider support 2021-05-10 12:42:55 +02:00
mtdram.h
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 mtd: nand: Add a helper to retrieve the number of ECC bytes per step 2021-03-11 09:37:28 +01:00
ndfc.h
nftl.h
onenand.h
onenand_regs.h
onfi.h
partitions.h
pfow.h
physmap.h
pismo.h
plat-ram.h
platnand.h
qinfo.h
rawnand.h mtd: rawnand: Add support for secure regions in NAND memory 2021-04-07 10:06:24 +02: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: implement OTP support for Winbond and similar flashes 2021-04-02 09:32:27 +03:00
spinand.h mtd: spinand: Instantiate a SPI-NAND on-die ECC engine 2020-12-10 22:37:30 +01:00
super.h
ubi.h
xip.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00