mmc: sdhci-tegra: Add Device Tree probing support
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 23 Aug 2011 18:15:33 +0000 (12:15 -0600)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 19:43:35 +0000 (15:43 -0400)
commit275173b225ae663e54d8dc5c93d79265aad19f89
treece6cd20e8d888c74d0eaa3975acee705f239462a
parent08da834a24312157f512224691ad1fddd11c1073
mmc: sdhci-tegra: Add Device Tree probing support

Add hooks to read gpio configuration out of the device tree node.

[grant.likely: Rewrite of original patch from John Bonesio]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
[swarren: Fixed tegra_sdhci_get_ro() to retrieve pdata correctly]
[swarren: Reworked to avoid #ifdef CONFIG_OF]
[swarren: Reworked binding based on fsl-imx-esdhc.txt]
[swarren: Documented binding]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Documentation/devicetree/bindings/mmc/nvidia-sdhci.txt [new file with mode: 0644]
drivers/mmc/host/sdhci-tegra.c