]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: dt: add no-1-8-v device tree flag
authorDaniel Drake <dsd@laptop.org>
Sun, 25 Nov 2012 18:02:54 +0000 (13:02 -0500)
committerChris Ball <cjb@laptop.org>
Tue, 4 Dec 2012 18:43:09 +0000 (13:43 -0500)
commit4e3727494d23e7fbd7dec49f1416311ae2e98c41
treed1df3c6a2fd0054f00c6d4addd630b50e1e07a28
parent0496ea3f47266c6d323f8af93354a8e175cc7caf
mmc: dt: add no-1-8-v device tree flag

The OLPC XO-1.75 laptop includes a SDHCI controller which is 1.8v
capable, and it truthfully reports so in its capabilities. This
alternate voltage is used for driving new "UHS-I" SD cards at their
full speed.

However, what the controller doesn't know is that the motherboard
physically doesn't have a 1.8v supply available, so attempting to
switch to the 1.8v level will result in a situation that cannot be
recovered from without physically replugging the SD card.

Add a device tree flag that can be used on systems like these,
and hook it up to the equivalent SDHCI quirk.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Reviewed-by: Philip Rakity <prakity@nvidia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Documentation/devicetree/bindings/mmc/mmc.txt
drivers/mmc/host/sdhci-pltfm.c