Hi Ulf, On Tue, Sep 13, 2016 at 2:57 PM, Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote: > On 12 September 2016 at 16:15, Chris Brandt <chris.brandt@xxxxxxxxxxx> wrote: >> In moving platforms from board files to DT, there still needs to be a way >> to set the ocr_mask setting for the tmio driver during probe. Without this >> setting, the probe will fail because the supported voltages are not known. > > Regarding the ocr_mask; How do these SoCs provides the power to the mmc/sd card? > > Do note, I am *not* talking about the I/O voltage but the core power > to the card. > > The reason for raising the question is that we have infrastructures in > the mmc core which can create the ocr_mask, by parsing a regulator's > voltage range. This is the recommended method to use, instead of using > hard coded ocr mask values. On RSKRZA1, 3.3V is provided to the SD/MMC socket through an MIC2026 MOSFET switch. On Genmai, 3.3V or 5V is provided through an LTC1471 switch. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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