diff options
author | Chris Ball <cjb@laptop.org> | 2012-09-19 12:29:12 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-09-19 12:29:12 +0400 |
commit | 8f63795c60ef5bc3dbfcbf19c1ac64ed79d23c62 (patch) | |
tree | 073d48dd496caf00a35ab7030458288081ed4735 /include/linux/platform_data/pxa_sdhci.h | |
parent | 15e8a8e42966162c207bb97ed55c803bc437eeae (diff) | |
download | linux-8f63795c60ef5bc3dbfcbf19c1ac64ed79d23c62.tar.xz |
mmc: sdhci-pxav3: dt: Support "cd-gpios" property
Tested on OLPC XO-4/MMP3, where the card detection pin for one of
the controllers is a sideband GPIO. The third cell in the cd-gpios
property controls whether the GPIO is active high/active low.
(Also, pass host_caps2 through from platdata to the mmc host.)
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
[kliu5@marvell.com: Compile fix]
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/platform_data/pxa_sdhci.h')
-rw-r--r-- | include/linux/platform_data/pxa_sdhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/pxa_sdhci.h b/include/linux/platform_data/pxa_sdhci.h index 51ad0995abac..59acd987ed34 100644 --- a/include/linux/platform_data/pxa_sdhci.h +++ b/include/linux/platform_data/pxa_sdhci.h @@ -49,6 +49,7 @@ struct sdhci_pxa_platdata { bool ext_cd_gpio_invert; unsigned int max_speed; unsigned int host_caps; + unsigned int host_caps2; unsigned int quirks; unsigned int pm_caps; }; |