Skip to content

Add ARTPEC-8 support to DWMMC controller

Mårten Lindahl linux-arm-kernel linux-devicetree linux-mmc linux-samsung-soc 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 1 replyIn review
  2. v44 patches 1 replySuperseded
  3. v34 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches7 repliesSuperseded
v14 patches4 repliesSuperseded

Changes in v5 from the cover letter

- Remove redundant '0x' prefix from debug message
- Add Acked-by tag by Rob Herring

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: mmc: exynos-dw-mshc: Add support for ARTPEC-8Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt+2 -00 replies
2/4mmc: dw_mmc-exynos: Add support for ARTPEC-8drivers/mmc/host/dw_mmc-exynos.c+36 -110 replies
3/4mmc: dw_mmc: Add driver callbacks for data read timeoutdrivers/mmc/host/dw_mmc-exynos.c drivers/mmc/host/dw_mmc.c drivers/mmc/host/dw_mmc.h+65 -10 replies
4/4mmc: dw_mmc: Do not wait for DTO in case of errordrivers/mmc/host/dw_mmc-exynos.c drivers/mmc/host/dw_mmc.c drivers/mmc/host/dw_mmc.h+19 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiRob Herring
1/4R-b A-b
2/4A-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] Add ARTPEC-8 support to DWMMC controller

Hi!

The ARTPEC-8 SoC has a DWMMC controller that is compatible with the Exynos 7 version v2.70a. The main differences from Exynos 7 is that it does not support HS400 and has an extended data read timeout. To run this controller we need to add compatibility for ARTPEC-8, because we need to separate the configuration of the TMOUT register from the non ARTPEC-8 versions.

This patchset is dependent on 2 changes that has been added to the mmc git next branch, but has not yet been merged to mainline:

Patch 2 of this patchset depends on commit 0e6f2c4c2072b ("mmc: dw_mmc:
add common capabilities to replace caps").

Patch 3 of this patchset depends on commit d5bc33487eab3 ("mmc: dw_mmc:
Allow lower TMOUT value than maximum").

Kind regards
Mårten Lindahl

Changes in v2:
- Change compatible string vendor prefix
- Removed unnecessary comment
- Change 1<<0 to BIT(0)

Changes in v3:
- Add callback for implementation specific control of data timeout
- Add callback for implementation specific read of cycle count for data timeout.
- Move definition of DW_MMC_QUIRK_EXTENDED_TMOUT from patch 3/4 to patch 4/4.

Changes in v4:
- Add Reviewed-by and Acked-by tags from Krzysztof Kozlowski

Changes in v5:
- Remove redundant '0x' prefix from debug message
- Add Acked-by tag by Rob Herring

Mårten Lindahl (4):
dt-bindings: mmc: exynos-dw-mshc: Add support for ARTPEC-8
mmc: dw_mmc-exynos: Add support for ARTPEC-8
mmc: dw_mmc: Add driver callbacks for data read timeout
mmc: dw_mmc: Do not wait for DTO in case of error

 .../bindings/mmc/exynos-dw-mshc.txt           |   2 +
 drivers/mmc/host/dw_mmc-exynos.c              | 101 ++++++++++++++++--
 drivers/mmc/host/dw_mmc.c                     |  21 +++-
 drivers/mmc/host/dw_mmc.h                     |  10 ++
 4 files changed, 122 insertions(+), 12 deletions(-)
Signature · 1 line
2.20.1