]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit789fabb9b53664f3e7a3152314f6e79f5057dfbb
treece6cd20e8d888c74d0eaa3975acee705f239462a
parenteac229530dddf6b4470eb09a343b2680517e1026
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