blob: faec4b8c626c81b9c0fe899fe6830b50d75cf965 [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
Ben Dooksb6a60412010-01-06 02:45:09 +090077# device definitions to compile in
78
79config S3C_DEV_HSMMC
80 bool
81 help
82 Compile in platform device definitions for HSMMC code
83
84config S3C_DEV_HSMMC1
85 bool
86 help
87 Compile in platform device definitions for HSMMC channel 1
88
89config S3C_DEV_HSMMC2
90 bool
91 help
92 Compile in platform device definitions for HSMMC channel 2
93
94config S3C_DEV_I2C1
95 bool
96 help
97 Compile in platform device definitions for I2C channel 1
98
99config S3C_DEV_FB
100 bool
101 help
102 Compile in platform device definition for framebuffer
103
104config S3C_DEV_USB_HOST
105 bool
106 help
107 Compile in platform device definition for USB host.
108
109config S3C_DEV_USB_HSOTG
110 bool
111 help
112 Compile in platform device definition for USB high-speed OtG
113
114config S3C_DEV_NAND
115 bool
116 help
117 Compile in platform device definition for NAND controller
118
Ben Dookscf383672009-11-10 00:14:58 +0000119endif