mmc: uniphier-sd: Add control of UHS mode using SD interface logic
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 25 Jan 2023 01:01:58 +0000 (10:01 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 27 Jan 2023 10:55:50 +0000 (11:55 +0100)
commit1c325ed9f95ad283926753558d364df1cd73410a
treeee254a7634dd06ebb86548abe3d795479f1ab57b
parent388dcd9505a40dbff7016a01ae02de4e946acf82
mmc: uniphier-sd: Add control of UHS mode using SD interface logic

Transition of UHS mode needs to control the register in SD interface
logic. Add access to the register in the logic using the regmap from
"socionext,syscon-uhs-mode" property.

Define the start_signal_voltage_switch function only if UHS mode is
available.

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