|
@@ -230,7 +230,14 @@ static void xenon_set_power(struct sdhci_host *host, unsigned char mode,
|
|
|
mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd);
|
|
|
}
|
|
|
|
|
|
+static void xenon_voltage_switch(struct sdhci_host *host)
|
|
|
+{
|
|
|
+ /* Wait for 5ms after set 1.8V signal enable bit */
|
|
|
+ usleep_range(5000, 5500);
|
|
|
+}
|
|
|
+
|
|
|
static const struct sdhci_ops sdhci_xenon_ops = {
|
|
|
+ .voltage_switch = xenon_voltage_switch,
|
|
|
.set_clock = sdhci_set_clock,
|
|
|
.set_power = xenon_set_power,
|
|
|
.set_bus_width = sdhci_set_bus_width,
|