blob: e6c122967355e49d73529941aa06d81ccd97d301 [file] [log] [blame]
Ben Dookscf383672009-11-10 00:14:58 +00001# arch/arm/plat-samsung/Kconfig
2#
3# Copyright 2009 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_SAMSUNG
8 bool
9 depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX || ARCH_S5PC1XX
10 default y
11 help
12 Base platform code for all Samsung SoC based systems
13
14if PLAT_SAMSUNG
15
Harald Welteaa9ad6a2009-12-01 01:24:34 +000016config SAMSUNG_CLKSRC
17 bool
18 help
19 Select the clock code for the clksrc implementation
20 used by newer systems such as the S3C64XX.
Ben Dookscf383672009-11-10 00:14:58 +000021
Ben Dooks7162ba02010-01-06 10:14:51 +090022# options for IRQ support
23
24config SAMSUNG_IRQ_VIC_TIMER
25 bool
26 help
27 Internal configuration to build the VIC timer interrupt code.
28
Ben Dooks51022cf2010-01-06 11:18:44 +090029config SAMSUNG_IRQ_UART
30 bool
31 help
32 Internal configuration to build the IRQ UART demux code.
33
Ben Dooks4f830db2010-01-06 02:28:20 +090034# options for gpio configuration support
35
36config S3C_GPIO_CFG_S3C24XX
37 bool
38 help
39 Internal configuration to enable S3C24XX style GPIO configuration
40 functions.
41
42config S3C_GPIO_CFG_S3C64XX
43 bool
44 help
45 Internal configuration to enable S3C64XX style GPIO configuration
46 functions.
47
48config S5P_GPIO_CFG_S5PC1XX
49 bool
50 help
51 Internal configuration to enable S5PC1XX style GPIO configuration
52 functions.
53
54config S3C_GPIO_PULL_UPDOWN
55 bool
56 help
57 Internal configuration to enable the correct GPIO pull helper
58
59config S3C_GPIO_PULL_DOWN
60 bool
61 help
62 Internal configuration to enable the correct GPIO pull helper
63
64config S3C_GPIO_PULL_UP
65 bool
66 help
67 Internal configuration to enable the correct GPIO pull helper
68
Kukjin Kim85841bc2010-01-11 12:21:51 +090069config SAMSUNG_GPIO_EXTRA
70 int "Number of additional GPIO pins"
71 default 0
72 help
73 Use additional GPIO space in addition to the GPIO's the SOC
74 provides. This allows expanding the GPIO space for use with
75 GPIO expanders.
76
Maurus Cuelenaere3929e1e2010-01-14 00:30:31 +010077# ADC driver
78
79config S3C_ADC
80 bool "ADC common driver support"
81 help
82 Core support for the ADC block found in the Samsung SoC systems
83 for drivers such as the touchscreen and hwmon to use to share
84 this resource.
85
Ben Dooksb6a60412010-01-06 02:45:09 +090086# device definitions to compile in
87
88config S3C_DEV_HSMMC
89 bool
90 help
91 Compile in platform device definitions for HSMMC code
92
93config S3C_DEV_HSMMC1
94 bool
95 help
96 Compile in platform device definitions for HSMMC channel 1
97
98config S3C_DEV_HSMMC2
99 bool
100 help
101 Compile in platform device definitions for HSMMC channel 2
102
103config S3C_DEV_I2C1
104 bool
105 help
106 Compile in platform device definitions for I2C channel 1
107
108config S3C_DEV_FB
109 bool
110 help
111 Compile in platform device definition for framebuffer
112
113config S3C_DEV_USB_HOST
114 bool
115 help
116 Compile in platform device definition for USB host.
117
118config S3C_DEV_USB_HSOTG
119 bool
120 help
121 Compile in platform device definition for USB high-speed OtG
122
123config S3C_DEV_NAND
124 bool
125 help
126 Compile in platform device definition for NAND controller
127
Ben Dookscf383672009-11-10 00:14:58 +0000128endif