History

ARM/mmc: Convert old mmci-omap to GPIO descriptors

A recent change to the OMAP driver making it use a dynamic GPIO base created problems with some old OMAP1 board files, among them Nokia 770, SX1 and also the OMAP2 Nokia n8x0. Fix up all instances of GPIOs being used for the MMC driver by pushing the handling of power, slot selection and MMC "cover" into the driver as optional GPIOs. This is maybe not the most perfect solution as the MMC framework have some central handlers for some of the stuff, but it at least makes the situtation better and solves the immediate issue.

Linus Walleij committed 3 years ago

Commit e519f0b1 parent 767d8335 files · +83 −94Browse files

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

Unified · Split

include/linux/platform_data/mmc-omap.h+0−2
@@ -20,8 +20,6 @@ struct omap_mmc_platform_data { · 19 unmodified lines
20 * maximum frequency on the MMC bus */20 * maximum frequency on the MMC bus */
21 unsigned int max_freq;21 unsigned int max_freq;
22 22
23 /* switch the bus to a new slot */
24 int (*switch_slot)(struct device *dev, int slot);
25 /* initialize board-specific MMC functionality, can be NULL if23 /* initialize board-specific MMC functionality, can be NULL if
26 * not supported */24 * not supported */
27 int (*init)(struct device *dev);25 int (*init)(struct device *dev);

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