diff options
| author | Chris Ball <cjb@laptop.org> | 2012-09-19 04:29:12 -0400 |
|---|---|---|
| committer | Chris Ball <cjb@laptop.org> | 2012-09-19 04:29:12 -0400 |
| commit | 8f63795c60ef5bc3dbfcbf19c1ac64ed79d23c62 (patch) | |
| tree | 073d48dd496caf00a35ab7030458288081ed4735 /include/linux/platform_data | |
| parent | 15e8a8e42966162c207bb97ed55c803bc437eeae (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.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 { | |||
| 49 | bool ext_cd_gpio_invert; | 49 | bool ext_cd_gpio_invert; |
| 50 | unsigned int max_speed; | 50 | unsigned int max_speed; |
| 51 | unsigned int host_caps; | 51 | unsigned int host_caps; |
| 52 | unsigned int host_caps2; | ||
| 52 | unsigned int quirks; | 53 | unsigned int quirks; |
| 53 | unsigned int pm_caps; | 54 | unsigned int pm_caps; |
| 54 | }; | 55 | }; |
