ARM: S5PV310: I2C0/1 devices support on Universal board
[pandora-kernel.git] / arch / arm / mach-s5pv310 / Kconfig
1 # arch/arm/mach-s5pv310/Kconfig
2 #
3 # Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 #               http://www.samsung.com/
5 #
6 # Licensed under GPLv2
7
8 # Configuration options for the S5PV310
9
10 if ARCH_S5PV310
11
12 config CPU_S5PV310
13         bool
14         help
15           Enable S5PV310 CPU support
16
17 config S5PV310_SETUP_I2C1
18         bool
19         help
20           Common setup code for i2c bus 1.
21
22 config S5PV310_SETUP_I2C2
23         bool
24         help
25           Common setup code for i2c bus 2.
26
27 config S5PV310_SETUP_SDHCI
28         bool
29         select S5PV310_SETUP_SDHCI_GPIO
30         help
31           Internal helper functions for S5PV310 based SDHCI systems.
32
33 config S5PV310_SETUP_SDHCI_GPIO
34         bool
35         help
36           Common setup code for SDHCI gpio.
37
38 # machine support
39
40 menu "S5PC210 Machines"
41
42 config MACH_SMDKC210
43         bool "SMDKC210"
44         select CPU_S5PV310
45         select S3C_DEV_RTC
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
52         help
53           Machine support for Samsung SMDKC210
54           S5PC210(MCP) is one of package option of S5PV310
55
56 config MACH_UNIVERSAL_C210
57         bool "Mobile UNIVERSAL_C210 Board"
58         select CPU_S5PV310
59         select S5P_DEV_ONENAND
60         select S3C_DEV_I2C1
61         select S5PV310_SETUP_I2C1
62         help
63           Machine support for Samsung Mobile Universal S5PC210 Reference
64           Board. S5PC210(MCP) is one of package option of S5PV310
65
66 endmenu
67
68 menu "S5PV310 Machines"
69
70 config MACH_SMDKV310
71         bool "SMDKV310"
72         select CPU_S5PV310
73         select S3C_DEV_RTC
74         select S3C_DEV_WDT
75         select S3C_DEV_HSMMC
76         select S3C_DEV_HSMMC1
77         select S3C_DEV_HSMMC2
78         select S3C_DEV_HSMMC3
79         select S5PV310_SETUP_SDHCI
80         help
81           Machine support for Samsung SMDKV310
82
83 endmenu
84
85 comment "Configuration for HSMMC bus width"
86
87 menu "Use 8-bit bus width"
88
89 config S5PV310_SDHCI_CH0_8BIT
90         bool "Channel 0 with 8-bit bus"
91         help
92           Support HSMMC Channel 0 8-bit bus.
93           If selected, Channel 1 is disabled.
94
95 config S5PV310_SDHCI_CH2_8BIT
96         bool "Channel 2 with 8-bit bus"
97         help
98           Support HSMMC Channel 2 8-bit bus.
99           If selected, Channel 3 is disabled.
100
101 endmenu
102
103 endif