File tree Expand file tree Collapse file tree 4 files changed +1054
-0
lines changed
arch/mips/include/asm/mach-jz4740 Expand file tree Collapse file tree 4 files changed +1054
-0
lines changed Original file line number Diff line number Diff line change
1
+ #ifndef __LINUX_MMC_JZ4740_MMC
2
+ #define __LINUX_MMC_JZ4740_MMC
3
+
4
+ struct jz4740_mmc_platform_data {
5
+ int gpio_power ;
6
+ int gpio_card_detect ;
7
+ int gpio_read_only ;
8
+ unsigned card_detect_active_low :1 ;
9
+ unsigned read_only_active_low :1 ;
10
+ unsigned power_active_low :1 ;
11
+
12
+ unsigned data_1bit :1 ;
13
+ };
14
+
15
+ #endif
Original file line number Diff line number Diff line change @@ -432,3 +432,12 @@ config MMC_SH_MMCIF
432
432
This selects the MMC Host Interface controler (MMCIF).
433
433
434
434
This driver supports MMCIF in sh7724/sh7757/sh7372.
435
+
436
+ config MMC_JZ4740
437
+ tristate "JZ4740 SD/Multimedia Card Interface support"
438
+ depends on MACH_JZ4740
439
+ help
440
+ This selects support for the SD/MMC controller on Ingenic JZ4740
441
+ SoCs.
442
+ If you have a board based on such a SoC and with a SD/MMC slot,
443
+ say Y or M here.
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ obj-$(CONFIG_MMC_CB710) += cb710-mmc.o
36
36
obj-$(CONFIG_MMC_VIA_SDMMC) += via-sdmmc.o
37
37
obj-$(CONFIG_SDH_BFIN) += bfin_sdh.o
38
38
obj-$(CONFIG_MMC_SH_MMCIF) += sh_mmcif.o
39
+ obj-$(CONFIG_MMC_JZ4740) += jz4740_mmc.o
39
40
40
41
obj-$(CONFIG_MMC_SDHCI_OF) += sdhci-of.o
41
42
sdhci-of-y := sdhci-of-core.o
You can’t perform that action at this time.
0 commit comments