Enable dw-mmc multi-card support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Revert "Documentation: dw-mshc: deprecate num-slots"Documentation/ | +9 | 1 reply | |
| 2/9 | Revert "mmc: dw_mmc: remove the unnecessary slot variable"drivers/ | +8 | 0 replies | |
| 3/9 | Revert "mmc: dw_mmc: use the 'slot' instead of 'cur_slot'"drivers/ drivers/ drivers/ | +22 | 0 replies | |
| 4/9 | Revert "mmc: dw_mmc: remove the 'id' arguments about functions relevant to slot"drivers/ | +9 | 0 replies | |
| 5/9 | Revert "mmc: dw_mmc: change the array of slots"drivers/ drivers/ | +15 | 0 replies | |
| 6/9 | Revert "mmc: dw_mmc: remove the loop about finding slots"drivers/ | +79 | 0 replies | |
| 7/9 | Revert "mmc: dw_mmc: deprecated the "num-slots" property"drivers/ | +13 | 0 replies | |
| 8/9 | mmc: dw_mmc: Support two SD_MMC_CE-ATA cardsdrivers/ drivers/ | +71 | 0 replies | |
| 9/9 | mmc: dw_mmc: Parse slot-specific configurationdrivers/ | +37 | 0 replies |
Reviews trailers per patch
3 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Chris Metcalf | Rob Herring |
|---|---|---|
| 1/9 | A-b | |
| 2/9 | ||
| 3/9 | ||
| 4/9 | ||
| 5/9 | ||
| 6/9 | ||
| 7/9 | ||
| 8/9 | R-b | |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] Enable dw-mmc multi-card support
This series of commits enables the multi-card support for the dw-mmc controller. It includes two parts as below.
The first part (patches 1-7) reverts the series of recent commits that removed the multi-card support with comments saying there was no such use case in the real world. Actually this feature is being used in Mellanox Bluefield SoC and has been requested by customers.
The second part (patches 8-9) fixes the DesignWare multi-card support according to the dw-mmc databook (synnopsys: DesignWare Cores Mobile Storage Host Databook, 2.70a). It has changes to set the card number into the CMD register to multiplex requests to different cards when working in SD_MMC_CEATA mode, set the CTYPE / CLKENA / CDTHRCTL registers properly according to the spec, and parse the per-card configuration to match the Linux Documentation (bindings/mmc/synopsys-dw-mshc.txt).
Liming Sun (9):
Revert "Documentation: dw-mshc: deprecate num-slots" Revert "mmc: dw_mmc: remove the unnecessary slot variable" Revert "mmc: dw_mmc: use the 'slot' instead of 'cur_slot'" Revert "mmc: dw_mmc: remove the 'id' arguments about functions
relevant to slot"
Revert "mmc: dw_mmc: change the array of slots" Revert "mmc: dw_mmc: remove the loop about finding slots" Revert "mmc: dw_mmc: deprecated the "num-slots" property"
mmc: dw_mmc: Support two SD_MMC_CE-ATA cards
mmc: dw_mmc: Parse slot-specific configuration
.../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 16 +- drivers/mmc/host/dw_mmc-exynos.c | 4 +- drivers/mmc/host/dw_mmc.c | 277 ++++++++++++++++----- drivers/mmc/host/dw_mmc.h | 17 +- 4 files changed, 236 insertions(+), 78 deletions(-)
Signature · 1 line
1.8.3.1