[PATCH 0/2] mtd: mtk-quadspi: add support for memory-mapped flash reading

Chuanhong Guo
2019-11-06T14:08:48Z

This patchset adds support for optional memory-mapped flash reading.

BTW: This controller is a ridiculous one which only supports very limited
spi-nor instructions. I can't rework the driver into a spi-mem one because
MTK didn't provide register description in their datasheet and even if they
do provide the documentation, the resulted driver will still be ridiculous
because it'll need to check every supported instructions in support_op and
do execution in one-by-one case in exec_op.

Chuanhong Guo (2):
mtd: mtk-quadspi: add support for memory-mapped flash reading
dt-bindings: mtd: mtk-quadspi: update bindings for mmap flash read

.../devicetree/bindings/mtd/mtk-quadspi.txt | 21 ++++++++++++++++++-
drivers/mtd/spi-nor/mtk-quadspi.c | 11 ++++++++++
2 files changed, 31 insertions(+), 1 deletion(-)

--
2.21.0