Skip to content

mmc: implemented eMMC4.4 hardware reset feature

Chuanxiao.Dong linux-mmc 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mmc: implemented eMMC4.4 hardware reset feature in mmc core layerdrivers/mmc/core/core.c drivers/mmc/core/core.h drivers/mmc/core/mmc.c +4 more+80 -01 reply
1/2mmc: implemented eMMC4.4 hardware reset feature in core layerdrivers/mmc/core/core.c drivers/mmc/core/core.h drivers/mmc/core/mmc.c +3 more+80 -00 replies
2/2mmc: implemented hardware reset callback in sdhci host layerdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+24 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2]mmc: implemented eMMC4.4 hardware reset feature

Hello Chris,
Several days ago, I send a patch which is used to implement the eMMC4.4 hardware reset feature. But did not get any response till now. I have splitted that patch into 2 for easy understanding, and posting here for you to review it. Thanks.

The 2 patches implemented eMMC4.4 hardware reset feature in core layer and sdhci host layer, but need each sdhci host controller to implement the real reset part specially.

patch 0001: implemented eMMC4.4 hardware reset feature in mmc core layer.
patch 0002: implemented hardware reset callback in sdhci host layer.

I also have a concern about the enabling hardware reset part. As eMMC 4.4 standar says, to enable hardware reset need to set the bit 0 of byte 162 in ext_csd register. However this register is onetime programmable, once setted, cannot be changed any more. And the standar also says this feature is disabled by default. If driver does not set it, the feature can not be enabled. So is it suitable for driver to set this bit?

Thanks
Chuanxiao