xref: /openbmc/linux/arch/arm/mach-s5pv210/Kconfig (revision 28dc7ef8)
1# arch/arm/mach-s5pv210/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 S5PV210/S5PC110
9
10if ARCH_S5PV210
11
12config CPU_S5PV210
13	bool
14	select ARM_AMBA
15	select PL330_DMA if DMADEVICES
16	select S5P_CLOCK if !COMMON_CLK
17	select S5P_EXT_INT
18	select S5P_PM if PM
19	select S5P_SLEEP if PM
20	help
21	  Enable S5PV210 CPU support
22
23config S5PV210_SETUP_I2C1
24	bool
25	help
26	  Common setup code for i2c bus 1.
27
28config S5PV210_SETUP_I2C2
29	bool
30	help
31	  Common setup code for i2c bus 2.
32
33config S5PV210_SETUP_IDE
34	bool
35	help
36	  Common setup code for S5PV210 IDE GPIO configurations
37
38config S5PV210_SETUP_FB_24BPP
39	bool
40	help
41          Common setup code for S5PV210 with an 24bpp RGB display helper.
42
43config S5PV210_SETUP_KEYPAD
44	bool
45	help
46	  Common setup code for keypad.
47
48config S5PV210_SETUP_SDHCI
49        bool
50        select S5PV210_SETUP_SDHCI_GPIO
51        help
52          Internal helper functions for S5PV210 based SDHCI systems
53
54config S5PV210_SETUP_SDHCI_GPIO
55	bool
56	help
57	  Common setup code for SDHCI gpio.
58
59config S5PV210_SETUP_FIMC
60	bool
61	help
62	  Common setup code for the camera interfaces.
63
64config S5PV210_SETUP_SPI
65	bool
66	help
67	  Common setup code for SPI GPIO configurations.
68
69config S5PV210_SETUP_USB_PHY
70	bool
71	help
72	  Common setup code for USB PHY controller
73
74config COMMON_CLK_S5PV210
75	bool "Common Clock Framework support"
76	default y
77	select COMMON_CLK_SAMSUNG
78	help
79	  Enable this option to use new clock driver
80	  based on Common Clock Framework.
81
82menu "S5PC110 Machines"
83
84config MACH_AQUILA
85	bool "Aquila"
86	select CPU_S5PV210
87	select S3C_DEV_FB
88	select S3C_DEV_HSMMC
89	select S3C_DEV_HSMMC1
90	select S3C_DEV_HSMMC2
91	select S5PV210_SETUP_FB_24BPP
92	select S5PV210_SETUP_SDHCI
93	select S5PV210_SETUP_USB_PHY
94	select S5P_DEV_FIMC0
95	select S5P_DEV_FIMC1
96	select S5P_DEV_FIMC2
97	select S5P_DEV_ONENAND
98	help
99	  Machine support for the Samsung Aquila target based on S5PC110 SoC
100
101config MACH_GONI
102	bool "GONI"
103	select CPU_S5PV210
104	select S3C_DEV_FB
105	select S3C_DEV_HSMMC
106	select S3C_DEV_HSMMC1
107	select S3C_DEV_HSMMC2
108	select S3C_DEV_I2C1
109	select S3C_DEV_I2C2
110	select S3C_DEV_USB_HSOTG
111	select S5PV210_SETUP_FB_24BPP
112	select S5PV210_SETUP_FIMC
113	select S5PV210_SETUP_I2C1
114	select S5PV210_SETUP_I2C2
115	select S5PV210_SETUP_KEYPAD
116	select S5PV210_SETUP_SDHCI
117	select S5PV210_SETUP_USB_PHY
118	select S5P_DEV_FIMC0
119	select S5P_DEV_FIMC1
120	select S5P_DEV_FIMC2
121	select S5P_DEV_MFC
122	select S5P_DEV_ONENAND
123	select S5P_DEV_TV
124	select S5P_GPIO_INT
125	select SAMSUNG_DEV_KEYPAD
126	help
127	  Machine support for Samsung GONI board
128	  S5PC110(MCP) is one of package option of S5PV210
129
130config MACH_SMDKC110
131	bool "SMDKC110"
132	select CPU_S5PV210
133	select S3C_DEV_I2C1
134	select S3C_DEV_I2C2
135	select S3C_DEV_RTC
136	select S3C_DEV_WDT
137	select S5PV210_SETUP_I2C1
138	select S5PV210_SETUP_I2C2
139	select S5PV210_SETUP_IDE
140	select S5P_DEV_FIMC0
141	select S5P_DEV_FIMC1
142	select S5P_DEV_FIMC2
143	select S5P_DEV_MFC
144	select SAMSUNG_DEV_IDE
145	help
146	  Machine support for Samsung SMDKC110
147	  S5PC110(MCP) is one of package option of S5PV210
148
149endmenu
150
151menu "S5PV210 Machines"
152
153config MACH_SMDKV210
154	bool "SMDKV210"
155	select CPU_S5PV210
156	select S3C_DEV_FB
157	select S3C_DEV_HSMMC
158	select S3C_DEV_HSMMC1
159	select S3C_DEV_HSMMC2
160	select S3C_DEV_HSMMC3
161	select S3C_DEV_I2C1
162	select S3C_DEV_I2C2
163	select S3C_DEV_RTC
164	select S3C_DEV_USB_HSOTG
165	select S3C_DEV_WDT
166	select S5PV210_SETUP_FB_24BPP
167	select S5PV210_SETUP_I2C1
168	select S5PV210_SETUP_I2C2
169	select S5PV210_SETUP_IDE
170	select S5PV210_SETUP_KEYPAD
171	select S5PV210_SETUP_SDHCI
172	select S5PV210_SETUP_USB_PHY
173	select S5P_DEV_FIMC0
174	select S5P_DEV_FIMC1
175	select S5P_DEV_FIMC2
176	select S5P_DEV_JPEG
177	select S5P_DEV_MFC
178	select SAMSUNG_DEV_ADC
179	select SAMSUNG_DEV_BACKLIGHT
180	select SAMSUNG_DEV_IDE
181	select SAMSUNG_DEV_KEYPAD
182	select SAMSUNG_DEV_PWM
183	select SAMSUNG_DEV_TS
184	help
185	  Machine support for Samsung SMDKV210
186
187config MACH_TORBRECK
188	bool "Torbreck"
189	select ARCH_SPARSEMEM_ENABLE
190	select CPU_S5PV210
191	select S3C_DEV_HSMMC
192	select S3C_DEV_HSMMC1
193	select S3C_DEV_HSMMC2
194	select S3C_DEV_HSMMC3
195	select S3C_DEV_I2C1
196	select S3C_DEV_I2C2
197	select S3C_DEV_RTC
198	select S3C_DEV_WDT
199	select S5PV210_SETUP_I2C1
200	select S5PV210_SETUP_I2C2
201	select S5PV210_SETUP_SDHCI
202	select SAMSUNG_DEV_IDE
203	help
204	  Machine support for aESOP Torbreck
205
206endmenu
207
208endif
209