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)
commit00e8c11c137b2e4b2bf54dc9881cf32e3441ddb4
treeef252f0ce26489f4e9ddb916feb49c2d0b44514b
parent7ee480795e41db314f2c445c65ed854a5d6e8e32
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