mmc: sdhci-sprd: Add start_signal_voltage_switch ops
commiteef9e0a60e78be6873b515e85466cac2f25581ed
authorBaolin Wang <baolin.wang@linaro.org>
Fri, 21 Jun 2019 06:12:31 +0000 (21 14:12 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Jul 2019 11:17:30 +0000 (10 13:17 +0200)
tree080536cb48802b70ab60b945e3d5a644d0ccbb42
parentcb3a7d4a0aec4e56043d6433724e0606d6b6efba
mmc: sdhci-sprd: Add start_signal_voltage_switch ops

For Spreadtrum SD host controller, we can not use standard SD registers
to change and detect the I/O voltage signals, since our voltage regulator
for I/O is fixed in hardware, and no signals were connected to the SD
controller. Thus add Spreadtrum specific voltage switch ops to change
voltage instead of using standard SD host registers.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-sprd.c