mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
9e6c82cd3e
This makes it possible to pass down the host controller capabilities for the MMCI driver using the platform data. It also provides the capabilties for the U300 implementation as an example, and makes sure the 4bit wide mode is set if this is requested by the ios() now that we can actually set that capability for a platform. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 lines
367 B
C
19 lines
367 B
C
/*
|
|
* arch/arm/include/asm/mach/mmc.h
|
|
*/
|
|
#ifndef ASMARM_MACH_MMC_H
|
|
#define ASMARM_MACH_MMC_H
|
|
|
|
#include <linux/mmc/host.h>
|
|
|
|
struct mmc_platform_data {
|
|
unsigned int ocr_mask; /* available voltages */
|
|
u32 (*translate_vdd)(struct device *, unsigned int);
|
|
unsigned int (*status)(struct device *);
|
|
int gpio_wp;
|
|
int gpio_cd;
|
|
unsigned long capabilities;
|
|
};
|
|
|
|
#endif
|