History

mmc: pxa: Use GPIO descriptor for power

After converting the PXA driver to use GPIO descriptors for card detect and write protect it is relatively simple to convert it to also use a descriptor for getting the optional power control GPIO. The polarity inversion flag can also go away from the platform data since this is indicated in the GPIO machine descriptor table.

Linus Walleij committed 7 years ago

Commit f54005b1 parent 80a68f337 files · +53 −79Browse files

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

Unified · Split

include/linux/platform_data/mmc-pxamci.h+0−2
@@ -16,8 +16,6 @@ struct pxamci_platform_data { · 15 unmodified lines
1616 int (*setpower)(struct device *, unsigned int);
1717 void (*exit)(struct device *, void *);
1818 bool gpio_card_ro_invert; /* gpio ro is inverted */
19− int gpio_power; /* gpio powering up MMC bus */
20− bool gpio_power_invert; /* gpio power is inverted */
2119 };
2220
2321 extern void pxa_set_mci_info(struct pxamci_platform_data *info);