On 15 January 2014 15:11, Seungwon Jeon <tgih.jun@xxxxxxxxxxx> wrote: > Replaced UHS_DDR50 with MMC_DDR52. > > CC: Balaji T K <balajitk@xxxxxx> > Signed-off-by: Seungwon Jeon <tgih.jun@xxxxxxxxxxx> > --- > drivers/mmc/host/omap_hsmmc.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c > index dbd32ad..cca397e 100644 > --- a/drivers/mmc/host/omap_hsmmc.c > +++ b/drivers/mmc/host/omap_hsmmc.c > @@ -540,7 +540,7 @@ static void omap_hsmmc_set_clock(struct omap_hsmmc_host *host) > * - MMC/SD clock coming out of controller > 25MHz > */ > if ((mmc_slot(host).features & HSMMC_HAS_HSPE_SUPPORT) && > - (ios->timing != MMC_TIMING_UHS_DDR50) && > + (ios->timing != MMC_TIMING_MMC_DDR52) && Even if I can't find anywhere that OMAP has enabled the corresponding host caps for UHS SD cards, it still might be the case that OMAP actually is able to handle the 1.8V I/O voltage switches and thus you should like keep that. You find the omap specific hack in omap_hsmmc_switch_opcond(). Ideally the driver should be updated to implement the host_ops->start_signal_voltage_switch and host_ops->card_busy instead. Maybe some the OMAP guys can tell use more to be sure. Kind regards Ulf Hansson > ((OMAP_HSMMC_READ(host->base, CAPA) & HSS) == HSS)) { > regval = OMAP_HSMMC_READ(host->base, HCTL); > if (clkdiv && (clk_get_rate(host->fclk)/clkdiv) > 25000000) > @@ -560,7 +560,7 @@ static void omap_hsmmc_set_bus_width(struct omap_hsmmc_host *host) > u32 con; > > con = OMAP_HSMMC_READ(host->base, CON); > - if (ios->timing == MMC_TIMING_UHS_DDR50) > + if (ios->timing == MMC_TIMING_MMC_DDR52) > con |= DDR; /* configure in DDR mode */ > else > con &= ~DDR; > -- > 1.7.0.4 > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html