OSDN Git Service

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)
commit18674dee3cd651279eb3d9ba789fe483ddfe1137
tree6b390605819fec7516bea7e1927d436932700fbf
parentf3530f26f8e9869e6e8c3370cf6f61330774fe2b
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