mbox series

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

Message ID 20191106140748.13100-1-gch981213@gmail.com (mailing list archive)
Headers show
Series mtd: mtk-quadspi: add support for memory-mapped flash reading | expand

Message

Chuanhong Guo Nov. 6, 2019, 2:07 p.m. UTC
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(-)