]> git.baikalelectronics.ru Git - kernel.git/commit
sdhci: tegra: Avoid reading autocal timeout values when not applicable
authorSowjanya Komatineni <skomatineni@nvidia.com>
Wed, 20 May 2020 20:08:57 +0000 (13:08 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:22:15 +0000 (11:22 +0200)
commit0a4bf3f1bbd5d60de901325e353b8a5aefd76a73
tree01146e8c0ea740ec171c51f6fb4e788a5d68599b
parent65dd29c9574506a858ece8b1908ebb563564fd4b
sdhci: tegra: Avoid reading autocal timeout values when not applicable

When auto calibration timeouts, calibration is disabled and fail-safe
drive strength values are programmed based on the signal voltage.

Different fail-safe drive strength values based on voltage are
applicable only for SoCs supporting 3V3 and 1V8 pad controls.

So, this patch avoids reading these properties from the device tree
for SoCs not using pad controls and the warning of missing properties
will not show up on these SoC platforms.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/1590005337-1087-1-git-send-email-skomatineni@nvidia.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c