]> 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)
commit78badda4d4c7118d98f2f69bb871b809b0fbc5a9
tree3d043203b0e55e3c54d53962396f0edd81819458
parent1389c27c77f51d23e6cffe1ebb1533ee9a78c9de
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