Skip to content

Enable SD/MMC on JZ4780 SoCs

Ezequiel Garcia linux-devicetree linux-mips linux-mmc stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest0 of 14 patches 1 replyIn review

Changes in v4 from the cover letter

* Replaced callbacks with if/else magic to handle the different register widths on versions of the SoC.

Patches in v4 No applies recorded yet

None of the 14 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchMathieu MalaterreRob HerringJames Hogan
SeriesT-b T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b R-b A-b A-b A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/14] Enable SD/MMC on JZ4780 SoCs

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
Signature · 1 line
2.16.2