-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sascha Hauer
authored and
Pierre Ossman
committed
Feb 2, 2009
1 parent
b1ded75
commit 7c60203
Showing
32 changed files
with
985 additions
and
546 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 017f51788ffdc16b0168143e38ea2c1f3551d983 | ||
refs/heads/master: d96be879ff469759af6d7fcebdb66237c18da6f8 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#ifndef ASMARM_ARCH_MMC_H | ||
#define ASMARM_ARCH_MMC_H | ||
|
||
#include <linux/mmc/host.h> | ||
|
||
struct device; | ||
|
||
/* board specific SDHC data, optional. | ||
* If not present, a writable card with 3,3V is assumed. | ||
*/ | ||
struct imxmmc_platform_data { | ||
/* Return values for the get_ro callback should be: | ||
* 0 for a read/write card | ||
* 1 for a read-only card | ||
* -ENOSYS when not supported (equal to NULL callback) | ||
* or a negative errno value when something bad happened | ||
*/ | ||
int (*get_ro)(struct device *); | ||
|
||
/* board specific hook to (de)initialize the SD slot. | ||
* The board code can call 'handler' on a card detection | ||
* change giving data as argument. | ||
*/ | ||
int (*init)(struct device *dev, irq_handler_t handler, void *data); | ||
void (*exit)(struct device *dev, void *data); | ||
|
||
/* available voltages. If not given, assume | ||
* MMC_VDD_32_33 | MMC_VDD_33_34 | ||
*/ | ||
unsigned int ocr_avail; | ||
|
||
/* adjust slot voltage */ | ||
void (*setpower)(struct device *, unsigned int vdd); | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.