mmc: sdhci-tegra: Explicitly support Tegra30
authorStephen Warren <swarren@nvidia.com>
Wed, 1 Feb 2012 23:30:55 +0000 (16:30 -0700)
committerChris Ball <cjb@laptop.org>
Sun, 25 Mar 2012 23:33:45 +0000 (19:33 -0400)
commit3e44a1a7d22cdc44c98569fedbd993985bfd64d3
treed6dac36ff0d819e5b2b436acb804f320f8e995aa
parent192b5372421766f62fce20d2db2deb19a58e2cfc
mmc: sdhci-tegra: Explicitly support Tegra30

Tegra30 differs from Tegra20 in a number of ways. This patch implements a
minimal set of differences in order to get the Cardhu board's SD slot and
eMMC working. Given the diffs between the mainline sdhci-tegra.c and our
downstream versions, I expect we'll eventually need to add many more
differences, hence the seemingly heavy-weight addition of the soc_data
structure.

* Tegra30 doesn't need to override register access to SDHCI_HOST_VERSION or
  SDHCI_INT_ENABLE.

* Tegra30 needs quirk SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-tegra.c