]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: am654_sdhci: Add support for input tap delay
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 4 Feb 2021 09:40:51 +0000 (15:10 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Thu, 4 Feb 2021 15:07:57 +0000 (20:37 +0530)
commitccd0aefe7e8818e8b41f3ed3c54752902f5c7a3c
treeb36e28dce24b2627c7e4e66223e68f4dd155867c
parent13e96973764493a1e4003d82eab3a8f441c30120
mmc: am654_sdhci: 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.

Therefore, move all dll configurations to their own functions and gate it
with 50 MHz speed and a minimum mode. If both these conditions are not
satisfied then configure delay chain modes.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/am654_sdhci.c