]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci_am654: Add support for input tap delay
authorFaiz Abbas <faiz_abbas@ti.com>
Wed, 23 Sep 2020 10:52:04 +0000 (16:22 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 28 Sep 2020 10:31:06 +0000 (12:31 +0200)
commit496ee7ed31c38b8114f5e6314a13cfb112217ce7
tree3d043203b0e55e3c54d53962396f0edd81819458
parent23776265c3dc2e32d214f20afe91a0be103c4c1f
mmc: sdhci_am654: Add support for input tap delay

DLL need only be enabled for speed modes and clock frequencies at or
above 50 MHz. For speed modes that don't enable the DLL, we need to
configure a static input delay value. This involves reading an optional
itap-del-sel-* value from the device tree and configuring it for the
appropriate speed mode.

With this addition, make sure that DLL is always switched off at the
beginning of the set_clock() call to simplify configuration. This also
removes the need for the dll_on member in struct sdhci_am654_data.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Link: https://lore.kernel.org/r/20200923105206.7988-5-faiz_abbas@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci_am654.c