1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2009 Simtec Electronics
5 source "arch/arm/mach-s3c/Kconfig.s3c24xx"
6 source "arch/arm/mach-s3c/Kconfig.s3c64xx"
10 depends on PLAT_S3C24XX || ARCH_S3C64XX
12 select GENERIC_IRQ_CHIP
16 Base platform code for all Samsung SoC based systems
20 depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX)
23 Base platform power management code for samsung code
26 menu "Samsung Common options"
30 comment "Boot options"
32 config S3C_LOWLEVEL_UART_PORT
33 int "S3C UART to use for low-level messages"
34 depends on ARCH_S3C64XX
37 Choice of which UART port to use for the low-level messages,
38 such as the `Uncompressing...` at start time. The value of
39 this configuration should be between zero and two. The port
40 must have been initialised by the boot-loader before use.
46 This option enables ATAGS based boot support code for
47 Samsung platforms, including static platform devices, legacy
48 clock, timer and interrupt initialization, etc.
50 Platforms that support only DT based boot need not to select
56 int "Space between gpio banks"
59 Add a number of spare GPIO entries between each bank for debugging
60 purposes. This allows any problems where an counter overflows from
61 one bank to another to be caught, at the expense of using a little
67 Internal configuration option to enable the s3c specific gpio
68 chip tracking if the platform requires it.
73 bool "ADC common driver support"
74 depends on !ARCH_MULTIPLATFORM
76 Core support for the ADC block found in the Samsung SoC systems
77 for drivers such as the touchscreen and hwmon to use to share
80 # device definitions to compile in
85 Compile in platform device definitions for HSMMC code
90 Compile in platform device definitions for HSMMC channel 1
95 Compile in platform device definitions for HSMMC channel 2
100 Compile in platform device definitions for HSMMC channel 3
105 Compile in platform device definitions for HWMON
110 Compile in platform device definitions for I2C channel 1
115 Compile in platform device definitions for I2C channel 2
120 Compile in platform device definition for I2C controller 3
125 Compile in platform device definition for I2C controller 4
130 Compile in platform device definition for I2C controller 5
135 Compile in platform device definition for I2C controller 6
140 Compile in platform device definition for I2C controller 7
145 Compile in platform device definition for framebuffer
147 config S3C_DEV_USB_HOST
150 Compile in platform device definition for USB host.
152 config S3C_DEV_USB_HSOTG
155 Compile in platform device definition for USB high-speed OtG
159 default y if ARCH_S3C24XX
161 Compile in platform device definition for Watchdog Timer
166 Compile in platform device definition for NAND controller
168 config S3C_DEV_ONENAND
171 Compile in platform device definition for OneNAND controller
176 Compile in platform device definition for RTC
178 config SAMSUNG_DEV_ADC
181 Compile in platform device definition for ADC controller
183 config SAMSUNG_DEV_IDE
186 Compile in platform device definitions for IDE
188 config S3C64XX_DEV_SPI0
191 Compile in platform device definitions for S3C64XX's type
194 config S3C64XX_DEV_SPI1
197 Compile in platform device definitions for S3C64XX's type
200 config S3C64XX_DEV_SPI2
203 Compile in platform device definitions for S3C64XX's type
206 config SAMSUNG_DEV_TS
209 Common in platform device definitions for touchscreen device
211 config SAMSUNG_DEV_KEYPAD
214 Compile in platform device definitions for keypad
216 config SAMSUNG_DEV_PWM
218 default y if ARCH_S3C24XX
220 Compile in platform device definition for PWM Timer
223 bool "PWM device support"
227 Support for exporting the PWM timer blocks via the pwm device
233 config SAMSUNG_PM_GPIO
235 default y if GPIO_SAMSUNG && PM
237 Include legacy GPIO power management code for platforms not using
238 pinctrl-samsung driver.
241 config SAMSUNG_WAKEMASK
245 Compile support for wakeup-mask controls found on the S3C6400
246 and above. This code allows a set of interrupt to wakeup-mask
247 mappings. See <plat/wakeup-mask.h>