]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/plat-samsung/Kconfig
ARM: SAMSUNG: Move GPIO common functions to plat-samsung
[karo-tx-linux.git] / arch / arm / plat-samsung / Kconfig
1 # arch/arm/plat-samsung/Kconfig
2 #
3 # Copyright 2009 Simtec Electronics
4 #
5 # Licensed under GPLv2
6
7 config 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
14 if PLAT_SAMSUNG
15
16 config SAMSUNG_CLKSRC
17         bool
18         help
19           Select the clock code for the clksrc implementation
20           used by newer systems such as the S3C64XX.
21
22 # options for IRQ support
23
24 config SAMSUNG_IRQ_VIC_TIMER
25        bool
26        help
27          Internal configuration to build the VIC timer interrupt code.
28
29 config SAMSUNG_IRQ_UART
30        bool
31        help
32          Internal configuration to build the IRQ UART demux code.
33
34 # options for gpio configuration support
35
36 config SAMSUNG_GPIOLIB_4BIT
37         bool
38         help
39           GPIOlib file contains the 4 bit modification functions for gpio
40           configuration. GPIOlib shall be compiled only for S3C64XX and S5P
41           series of processors.
42
43 config S3C_GPIO_CFG_S3C24XX
44         bool
45         help
46           Internal configuration to enable S3C24XX style GPIO configuration
47           functions.
48
49 config S3C_GPIO_CFG_S3C64XX
50         bool
51         help
52           Internal configuration to enable S3C64XX style GPIO configuration
53           functions.
54
55 config S5P_GPIO_CFG_S5PC1XX
56         bool
57         help
58           Internal configuration to enable S5PC1XX style GPIO configuration
59           functions.
60
61 config S3C_GPIO_PULL_UPDOWN
62         bool
63         help
64           Internal configuration to enable the correct GPIO pull helper
65
66 config S3C_GPIO_PULL_DOWN
67         bool
68         help
69           Internal configuration to enable the correct GPIO pull helper
70
71 config S3C_GPIO_PULL_UP
72         bool
73         help
74           Internal configuration to enable the correct GPIO pull helper
75
76 config SAMSUNG_GPIO_EXTRA
77         int "Number of additional GPIO pins"
78         default 0
79         help
80           Use additional GPIO space in addition to the GPIO's the SOC
81           provides. This allows expanding the GPIO space for use with
82           GPIO expanders.
83
84 # ADC driver
85
86 config S3C_ADC
87         bool "ADC common driver support"
88         help
89           Core support for the ADC block found in the Samsung SoC systems
90           for drivers such as the touchscreen and hwmon to use to share
91           this resource.
92
93 # device definitions to compile in
94
95 config S3C_DEV_HSMMC
96         bool
97         help
98           Compile in platform device definitions for HSMMC code
99
100 config S3C_DEV_HSMMC1
101         bool
102         help
103           Compile in platform device definitions for HSMMC channel 1
104
105 config S3C_DEV_HSMMC2
106         bool
107         help
108           Compile in platform device definitions for HSMMC channel 2
109
110 config S3C_DEV_I2C1
111         bool
112         help
113           Compile in platform device definitions for I2C channel 1
114
115 config S3C_DEV_FB
116         bool
117         help
118           Compile in platform device definition for framebuffer
119
120 config S3C_DEV_USB_HOST
121         bool
122         help
123           Compile in platform device definition for USB host.
124
125 config S3C_DEV_USB_HSOTG
126         bool
127         help
128           Compile in platform device definition for USB high-speed OtG
129
130 config S3C_DEV_NAND
131         bool
132         help
133           Compile in platform device definition for NAND controller
134
135 endif