What should the SDHCI regulator control?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris,

A question about regulators for SD cards:

We have a few boards, with some slightly different setups:

Setup 1: (Harmony, Seaboard, Ventana, AC100)

Power to SD is fixed at 3.3V

There is a GPIO to enable power, which gates the SD connector's VDD pin
and the pullups on DAT/CMD lines.

Setup 2 (Cardhu):

There is a regulator in a PMU/PMIC which can supply a variable voltage,
which is fed to the SoC's SD controller (presumably affects the IO pad
voltage), and the pullups on the DAT/CMD lines.

There is a fixed 3.3V supply, with a GPIO to enable/disable it, which
is fed only to the SD connector's VDD pin.

Question 1: In case 2,

Is the card always supposed to receive 3.3V here; is an SD card supposed
to contain its own internal regulator to generate e.g. a 1.85V IO voltage
rather than being supplied with the lower voltage?

Question 2: In general,

So, there's always a GPIO to gate power to the SD connector, but any
variable voltage is not fed the the SD card itself, only the SoC. Also,
the GPIO sometimes affects the CMD/DAT pullups, whereas sometimes they're
affected by the variable regulator.

Is the regulator returned by the regulator_get() call in sdhci_add_host()
supposed to control the GPIO (or should the GPIO always be switched on?)
or should it control the variable regulator that affects only the SoC,
or both at once, or ...?

Thanks.

-- 
nvpublic

--
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


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux