History

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.)

Chris Ball committed 14 years ago

Commit 8f637951 parent 15e8a8e2 files · +26 −0Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/pxa_sdhci.h+1−0
@@ -49,6 +49,7 @@ struct sdhci_pxa_platdata { · 48 unmodified lines
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};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t