1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2009 Simtec Electronics
5 source "arch/arm/mach-s3c/Kconfig.s3c64xx"
9 select GENERIC_IRQ_CHIP
13 Base platform code for all Samsung SoC based systems
19 Base platform power management code for samsung code
22 menu "Samsung Common options"
26 comment "Boot options"
28 config S3C_LOWLEVEL_UART_PORT
29 int "S3C UART to use for low-level messages"
30 depends on ARCH_S3C64XX
33 Choice of which UART port to use for the low-level messages,
34 such as the `Uncompressing...` at start time. The value of
35 this configuration should be between zero and two. The port
36 must have been initialised by the boot-loader before use.
42 This option enables ATAGS based boot support code for
43 Samsung platforms, including static platform devices, legacy
44 clock, timer and interrupt initialization, etc.
46 Platforms that support only DT based boot need not to select
52 int "Space between gpio banks"
55 Add a number of spare GPIO entries between each bank for debugging
56 purposes. This allows any problems where an counter overflows from
57 one bank to another to be caught, at the expense of using a little
63 Internal configuration option to enable the s3c specific gpio
64 chip tracking if the platform requires it.
66 # device definitions to compile in
71 Compile in platform device definitions for HSMMC code
76 Compile in platform device definitions for HSMMC channel 1
81 Compile in platform device definitions for HSMMC channel 2
86 Compile in platform device definitions for HSMMC channel 3
91 Compile in platform device definitions for I2C channel 1
96 Compile in platform device definition for framebuffer
98 config S3C_DEV_USB_HOST
101 Compile in platform device definition for USB host.
103 config S3C_DEV_USB_HSOTG
106 Compile in platform device definition for USB high-speed OtG
108 config S3C64XX_DEV_SPI0
111 Compile in platform device definitions for S3C64XX's type
114 config SAMSUNG_DEV_KEYPAD
117 Compile in platform device definitions for keypad
119 config SAMSUNG_DEV_PWM
122 Compile in platform device definition for PWM Timer
127 config SAMSUNG_PM_GPIO
129 default y if GPIO_SAMSUNG && PM
131 Include legacy GPIO power management code for platforms not using
132 pinctrl-samsung driver.
135 config SAMSUNG_WAKEMASK
139 Compile support for wakeup-mask controls found on the S3C6400
140 and above. This code allows a set of interrupt to wakeup-mask
141 mappings. See <plat/wakeup-mask.h>