This patchset adds support for SD/MMC on JZ4780 based platforms, such as the MIPS Creator CI20 board. Most of the work has been done by Alex, Paul and Zubair, while I've only prepared the upstream submission, cleaned some patches, and written some commit logs where needed. All praises should go to them, all rants to me. The series is based on v4.16-rc6. Changes from v3: * Replaced callbacks with if/else magic to handle the different register widths on versions of the SoC. Changes from v2: * Fix commit log in "mmc: dt-bindings: add MMC support to JZ4740 SoC" Changes from v1: * Reordered patches, fixes first, for easier backporting. * Added Link and Fixes tags to patch "Fix race condition", for easier backporting. * Enabled the DMA in the dtsi for jz4780, dropped it from the ci20 dts. * Reworded config and help user visible text. * Reworded commit logs, using imperative. * Re-authored my patches, as Collabora is partially sponsoring them. Alex Smith (3): mmc: jz4740: Fix race condition in IRQ mask update mmc: jz4740: Set clock rate to mmc->f_max rather than JZ_MMC_CLK_RATE mmc: jz4740: Add support for the JZ4780 Ezequiel Garcia (10): mmc: jz4780: Order headers alphabetically mmc: jz4740: Use dev_get_platdata mmc: jz4740: Introduce devicetree probe mmc: dt-bindings: add MMC support to JZ4740 SoC mmc: jz4740: Use dma_request_chan() MIPS: dts: jz4780: Add DMA controller node to the devicetree MIPS: dts: jz4780: Add MMC controller node to the devicetree MIPS: dts: ci20: Enable MMC in the devicetree MIPS: configs: ci20: Enable DMA and MMC support MIPS: configs: ci20: Enable ext4 Paul Cercueil (1): mmc: jz4740: Fix error exit path in driver's probe Zubair Lutfullah Kakakhel (1): mmc: jz4740: Reset the device requesting the interrupt Documentation/devicetree/bindings/mmc/jz4740.txt | 38 +++++ arch/mips/boot/dts/ingenic/ci20.dts | 34 ++++ arch/mips/boot/dts/ingenic/jz4780.dtsi | 52 ++++++ arch/mips/configs/ci20_defconfig | 4 + drivers/mmc/host/Kconfig | 9 +- drivers/mmc/host/jz4740_mmc.c | 205 +++++++++++++++-------- include/dt-bindings/dma/jz4780-dma.h | 49 ++++++ 7 files changed, 321 insertions(+), 70 deletions(-) create mode 100644 Documentation/devicetree/bindings/mmc/jz4740.txt create mode 100644 include/dt-bindings/dma/jz4780-dma.h -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html