Skip to content

Add SDHCI card detection support

Michal Simek u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- New patch in this series to release macros
- Changed MMC_CAP_SD_NONREMOVABLE, MMC_CAP_SD_NEEDS_POLL names to align with Linux bit definitions by removing SD.
- Use new MMC_SD.. macros

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mmc: mvebu: Remove unused MMC_CAP.. macrosinclude/mvebu_mmc.h+0 -41 reply
2/4mmc: Read sd card detect properties from DTdrivers/mmc/mmc-uclass.c include/mmc.h+13 -00 replies
3/4mmc: sdhci: Read cd-gpio from devicetreedrivers/mmc/sdhci.c+6 -00 replies
4/4mmc: sdhci: Implement SDHCI card detectdrivers/mmc/sdhci.c+32 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchPeng Fan
1/4
2/4
3/4R-b
4/4

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

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/4] Add SDHCI card detection support

Hi,

This patch series adds card detection support in sdhci framework & added functionality to read card detect dt properties.

Thanks,
Michal

Changes in v3:
- New patch in this series to release macros
- Changed MMC_CAP_SD_NONREMOVABLE, MMC_CAP_SD_NEEDS_POLL names to align with Linux bit definitions by removing SD.
- Use new MMC_SD.. macros

Changes in v2:
- Moved reading CD devicetree properties functionality from sdhci.c to mmc-uclass.c & moved mmc capability macros to mmc.h from sdhci.h.
- Created a new patch for reading "cd-gpio" property from DT.
- Used CARD_PRESENT instead of SDHCI_CARD_DETECT_PIN_LEVEL for reading sd card presence detection.

T Karthik Reddy (4):
mmc: mvebu: Remove unused MMC_CAP.. macros
mmc: Read sd card detect properties from DT
mmc: sdhci: Read cd-gpio from devicetree
mmc: sdhci: Implement SDHCI card detect

 drivers/mmc/mmc-uclass.c |  9 +++++++++
 drivers/mmc/sdhci.c      | 38 ++++++++++++++++++++++++++++++++++++++
 include/mmc.h            |  4 ++++
 include/mvebu_mmc.h      |  4 ----
 4 files changed, 51 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1