]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/mtd/nvmxip: introduce QSPI XIP driver
authorAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Mon, 17 Apr 2023 09:11:53 +0000 (10:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2023 21:01:14 +0000 (17:01 -0400)
commit9e115ace358d9ed79844b27b06b3a0e8b23d49da
tree19e7209634bb475fcca177a268860ded52c295c1
parentf37af2760ea92cec3fbdcfceb6df7be57a618165
drivers/mtd/nvmxip: introduce QSPI XIP driver

add nvmxip_qspi driver under UCLASS_NVMXIP

The device associated with this driver is the parent of the blk#<id> device
nvmxip_qspi can be reused by other platforms. If the platform
has custom settings to apply before using the flash, then the platform
can provide its own parent driver belonging to UCLASS_NVMXIP and reuse
nvmxip-blk driver. The custom driver can be implemented like nvmxip_qspi in
addition to the platform custom settings.

Platforms can use multiple NVM XIP devices at the same time by defining a
DT node for each one of them.

For more details please refer to doc/develop/driver-model/nvmxip_qspi.rst

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
MAINTAINERS
doc/develop/driver-model/nvmxip.rst
doc/device-tree-bindings/nvmxip/nvmxip_qspi.txt [new file with mode: 0644]
drivers/mtd/nvmxip/Kconfig
drivers/mtd/nvmxip/Makefile
drivers/mtd/nvmxip/nvmxip_qspi.c [new file with mode: 0644]