forked from FireflyTeam/kernel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MMC: Add support for the controller on JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <[email protected]> Acked-by: Matt Fleming <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Matt Fleming <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/1463/ Patchwork: https://patchwork.linux-mips.org/patch/1523/ Signed-off-by: Ralf Baechle <[email protected]>
- Loading branch information
1 parent
ba01d6e
commit 61bfbdb
Showing
4 changed files
with
1,054 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef __LINUX_MMC_JZ4740_MMC | ||
#define __LINUX_MMC_JZ4740_MMC | ||
|
||
struct jz4740_mmc_platform_data { | ||
int gpio_power; | ||
int gpio_card_detect; | ||
int gpio_read_only; | ||
unsigned card_detect_active_low:1; | ||
unsigned read_only_active_low:1; | ||
unsigned power_active_low:1; | ||
|
||
unsigned data_1bit:1; | ||
}; | ||
|
||
#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
Oops, something went wrong.