mmc: tegra: implement memcomp pad calibration
authorLucas Stach <dev@lynxeye.de>
Mon, 29 Feb 2016 20:56:25 +0000 (21:56 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 17 Mar 2016 13:54:36 +0000 (14:54 +0100)
commite5c63d91cdf6a0d02f080bc8ab5b75c6e280a046
tree254d3009c9c3e198159a6b30c1484054ba3c1a2d
parentfac49ce575cd86dc5e91049f274750923dfb6840
mmc: tegra: implement memcomp pad calibration

The Tegra30+ SDMMC module has memcomp pads that are used to
automatically find and set the correct drive strength settings to
the sdmmc pads. The calibration needs to be manually kicked off
when the card signal voltage is changed, after the card clock is
supplied again.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
[Ulf: Rebased to fix a trivial compile error]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c