]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: renesas_sdhi: newer SoCs don't need manual tap correction
authorTakeshi Saito <takeshi.saito.xv@renesas.com>
Wed, 20 Jul 2022 07:29:01 +0000 (09:29 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 21 Jul 2022 16:03:41 +0000 (18:03 +0200)
commitfb461ab1e3a89a5ffb903e5d62c9f58c76cb74b0
treeef252f0ce26489f4e9ddb916feb49c2d0b44514b
parent30d3d30d09668a8e5af987d917e645420e3bbd99
mmc: renesas_sdhi: newer SoCs don't need manual tap correction

The newest Gen3 SoCs and Gen4 SoCs do not need manual tap correction
with HS400 anymore. So, instead of checking the SDHI version, add a
quirk flag and set manual tap correction only for affected SoCs.

Signed-off-by: Takeshi Saito <takeshi.saito.xv@renesas.com>
[wsa: rebased, renamed the quirk variable, removed stale comment]
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20220720072901.1266-1-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi.h
drivers/mmc/host/renesas_sdhi_core.c
drivers/mmc/host/renesas_sdhi_internal_dmac.c