aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310/Kconfig
diff options
context:
space:
mode:
authorHyuk Lee <hyuk1.lee@samsung.com>2010-10-05 22:09:42 -0400
committerKukjin Kim <kgene.kim@samsung.com>2010-10-25 03:02:20 -0400
commit193151142b736f25882f250b6db3b02efd2d3cab (patch)
treea7ea944f033523a48caf340387e31c065ce87080 /arch/arm/mach-s5pv310/Kconfig
parent2ad530d2e76f24cb8c13f88067cb57473a0af202 (diff)
ARM: S5PV310: Add support HSMMC and SDHCI configuration
This patch adds support HSMMC for S5PV310 and S5PC210 and setup for HSMMC host controller and also related GPIO. At most 4 channel can be used at the same time. A user can configure SDHCI data bus as 8bit or 4bit. Signed-off-by: Hyuk Lee <hyuk1.lee@samsung.com> Signed-off-by: Jeongbae Seo <jeongbae.seo@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/Kconfig')
-rw-r--r--arch/arm/mach-s5pv310/Kconfig39
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/Kconfig b/arch/arm/mach-s5pv310/Kconfig
index 9941852b7a06..8cb3dc52b623 100644
--- a/arch/arm/mach-s5pv310/Kconfig
+++ b/arch/arm/mach-s5pv310/Kconfig
@@ -24,6 +24,17 @@ config S5PV310_SETUP_I2C2
24 help 24 help
25 Common setup code for i2c bus 2. 25 Common setup code for i2c bus 2.
26 26
27config S5PV310_SETUP_SDHCI
28 bool
29 select S5PV310_SETUP_SDHCI_GPIO
30 help
31 Internal helper functions for S5PV310 based SDHCI systems.
32
33config S5PV310_SETUP_SDHCI_GPIO
34 bool
35 help
36 Common setup code for SDHCI gpio.
37
27# machine support 38# machine support
28 39
29menu "S5PC210 Machines" 40menu "S5PC210 Machines"
@@ -33,6 +44,11 @@ config MACH_SMDKC210
33 select CPU_S5PV310 44 select CPU_S5PV310
34 select S3C_DEV_RTC 45 select S3C_DEV_RTC
35 select S3C_DEV_WDT 46 select S3C_DEV_WDT
47 select S3C_DEV_HSMMC
48 select S3C_DEV_HSMMC1
49 select S3C_DEV_HSMMC2
50 select S3C_DEV_HSMMC3
51 select S5PV310_SETUP_SDHCI
36 help 52 help
37 Machine support for Samsung SMDKC210 53 Machine support for Samsung SMDKC210
38 S5PC210(MCP) is one of package option of S5PV310 54 S5PC210(MCP) is one of package option of S5PV310
@@ -53,9 +69,32 @@ config MACH_SMDKV310
53 select CPU_S5PV310 69 select CPU_S5PV310
54 select S3C_DEV_RTC 70 select S3C_DEV_RTC
55 select S3C_DEV_WDT 71 select S3C_DEV_WDT
72 select S3C_DEV_HSMMC
73 select S3C_DEV_HSMMC1
74 select S3C_DEV_HSMMC2
75 select S3C_DEV_HSMMC3
76 select S5PV310_SETUP_SDHCI
56 help 77 help
57 Machine support for Samsung SMDKV310 78 Machine support for Samsung SMDKV310
58 79
59endmenu 80endmenu
60 81
82comment "Configuration for HSMMC bus width"
83
84menu "Use 8-bit bus width"
85
86config S5PV310_SDHCI_CH0_8BIT
87 bool "Channel 0 with 8-bit bus"
88 help
89 Support HSMMC Channel 0 8-bit bus.
90 If selected, Channel 1 is disabled.
91
92config S5PV310_SDHCI_CH2_8BIT
93 bool "Channel 2 with 8-bit bus"
94 help
95 Support HSMMC Channel 2 8-bit bus.
96 If selected, Channel 3 is disabled.
97
98endmenu
99
61endif 100endif