mmc: uniphier-sd: Add control to switch UHS speed
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 25 Jan 2023 01:01:59 +0000 (10:01 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 27 Jan 2023 10:55:50 +0000 (11:55 +0100)
commit2cda1de0cb578900de6ac17a32d1d859f4798b99
treea25842ac96ac372d4ddbedeef9dd136602f18235
parent1c325ed9f95ad283926753558d364df1cd73410a
mmc: uniphier-sd: Add control to switch UHS speed

SD interface logic has the register to switch UHS speed.
The default is up to SDR25 and to support SDR50 or faster,
add uniphier_sd_speed_switch() function to switch the speed mode.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20230125010201.28246-4-hayashi.kunihiko@socionext.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/uniphier-sd.c