OSDN Git Service

mmc: sdhci-msm: add SDR104 CRC workaround enablement control
authorSubhash Jadavani <subhashj@codeaurora.org>
Fri, 31 Mar 2017 23:50:59 +0000 (16:50 -0700)
committerSubhash Jadavani <subhashj@codeaurora.org>
Mon, 3 Apr 2017 17:42:30 +0000 (10:42 -0700)
commita4b36d773babd517b8208d487ea6beb060aab610
treec4a6041f5ecbcb75111b11681dc0a376a727081c
parent0820ed55248b4dec2a05d48764b7350e7171e99f
mmc: sdhci-msm: add SDR104 CRC workaround enablement control

On Certain chipsets, SDR104 mode might be unstable causing CRC error on
the interface. So we need a workaround which would skip printing register
dumps on CRC errors and also downgrade bus speed mode to SDR50/DDR50 in
case of continuous CRC errors. This patch adds "qcom,sdr104-wa" property
to enable this workaround if required.

Change-Id: I626d8ef45a97e8e6558e7f20be496de1f5a2a438
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Documentation/devicetree/bindings/mmc/sdhci-msm.txt
drivers/mmc/host/sdhci-msm.c
drivers/mmc/host/sdhci-msm.h
include/linux/mmc/host.h