]> git.baikalelectronics.ru Git - kernel.git/commit
spi: stm32-qspi: Add dirmap support
authorPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 19 Apr 2021 12:15:41 +0000 (14:15 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 19 Apr 2021 13:18:44 +0000 (14:18 +0100)
commitb28f7ebc77d626f8797c02e6ebd1bc4ed26d76d0
tree6b390605819fec7516bea7e1927d436932700fbf
parent90f87c52c66c98a7762eac50369be7b5bec14d58
spi: stm32-qspi: Add dirmap support

Add stm32_qspi_dirmap_read() and stm32_qspi_dirmap_create()
to get dirmap support.

Update the exec_op callback which doens't allow anymore memory map
access. Memory map access are only available through the dirmap_read
callback.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20210419121541.11617-4-patrice.chotard@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32-qspi.c