aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2012-09-19 16:29:12 +0800
committerChris Ball <cjb@laptop.org>2012-09-19 16:29:12 +0800
commit8f63795c60ef5bc3dbfcbf19c1ac64ed79d23c62 (patch)
tree073d48dd496caf00a35ab7030458288081ed4735 /include/linux/platform_data
parent15e8a8e42966162c207bb97ed55c803bc437eeae (diff)
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')
-rw-r--r--include/linux/platform_data/pxa_sdhci.h1
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 51ad0995aba..59acd987ed3 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;
};