# SPDX-License-Identifier: GPL-2.0
#
# Copyright 2009 Simtec Electronics
config [31mCONFIG_PLAT_SAMSUNG[0m
bool
depends on [31mCONFIG_PLAT_S3C24XX[0m || [31mCONFIG_ARCH_S3C64XX[0m || [31mCONFIG_ARCH_EXYNOS[0m || [31mCONFIG_ARCH_S5PV210[0m
default y
select [31mCONFIG_GENERIC_IRQ_CHIP[0m
select [31mCONFIG_NO_IOPORT_MAP[0m
help
Base platform code for all Samsung SoC based systems
config [31mCONFIG_SAMSUNG_PM[0m
bool
depends on [31mCONFIG_PM[0m && ([31mCONFIG_PLAT_S3C24XX[0m || [31mCONFIG_ARCH_S3C64XX[0m)
default y
help
Base platform power management code for samsung code
if [31mCONFIG_PLAT_SAMSUNG[0m
menu "Samsung Common options"
# boot configurations
comment "Boot options"
config [31mCONFIG_S3C_LOWLEVEL_UART_PORT[0m
int "S3C UART to use for low-level messages"
depends on [31mCONFIG_ARCH_S3C64XX[0m
default 0
help
Choice of which UART port to use for the low-level messages,
such as the `Uncompressing...` at start time. The value of
this configuration should be between zero and two. The port
must have been initialised by the boot-loader before use.
config [31mCONFIG_SAMSUNG_ATAGS[0m
def_bool n
depends on [31mCONFIG_ATAGS[0m
help
This option enables [31mCONFIG_ATAGS[0m based boot support code for
Samsung platforms, including static platform devices, legacy
clock, timer and interrupt initialization, etc.
Platforms that support only DT based boot need not to select
this option.
if [31mCONFIG_SAMSUNG_ATAGS[0m
config [31mCONFIG_S3C_GPIO_SPACE[0m
int "Space between gpio banks"
default 0
help
Add a number of spare GPIO entries between each bank for debugging
purposes. This allows any problems where an counter overflows from
one bank to another to be caught, at the expense of using a little
more memory.
config [31mCONFIG_S3C_GPIO_TRACK[0m
bool
help
Internal configuration option to enable the s3c specific gpio
chip tracking if the platform requires it.
# ADC driver
config [31mCONFIG_S3C_ADC[0m
bool "ADC common driver support"
depends on ![31mCONFIG_ARCH_MULTIPLATFORM[0m
help
Core support for the ADC block found in the Samsung SoC systems
for drivers such as the touchscreen and hwmon to use to share
this resource.
# device definitions to compile in
config [31mCONFIG_S3C_DEV_HSMMC[0m
bool
help
Compile in platform device definitions for HSMMC code
config [31mCONFIG_S3C_DEV_HSMMC1[0m
bool
help
Compile in platform device definitions for HSMMC channel 1
config [31mCONFIG_S3C_DEV_HSMMC2[0m
bool
help
Compile in platform device definitions for HSMMC channel 2
config [31mCONFIG_S3C_DEV_HSMMC3[0m
bool
help
Compile in platform device definitions for HSMMC channel 3
config [31mCONFIG_S3C_DEV_HWMON[0m
bool
help
Compile in platform device definitions for [31mCONFIG_HWMON[0m
config [31mCONFIG_S3C_DEV_I2C1[0m
bool
help
Compile in platform device definitions for [31mCONFIG_I2C[0m channel 1
config [31mCONFIG_S3C_DEV_I2C2[0m
bool
help
Compile in platform device definitions for [31mCONFIG_I2C[0m channel 2
config [31mCONFIG_S3C_DEV_I2C3[0m
bool
help
Compile in platform device definition for [31mCONFIG_I2C[0m controller 3
config [31mCONFIG_S3C_DEV_I2C4[0m
bool
help
Compile in platform device definition for [31mCONFIG_I2C[0m controller 4
config [31mCONFIG_S3C_DEV_I2C5[0m
bool
help
Compile in platform device definition for [31mCONFIG_I2C[0m controller 5
config [31mCONFIG_S3C_DEV_I2C6[0m
bool
help
Compile in platform device definition for [31mCONFIG_I2C[0m controller 6
config [31mCONFIG_S3C_DEV_I2C7[0m
bool
help
Compile in platform device definition for [31mCONFIG_I2C[0m controller 7
config [31mCONFIG_S3C_DEV_FB[0m
bool
help
Compile in platform device definition for framebuffer
config [31mCONFIG_S3C_DEV_USB_HOST[0m
bool
help
Compile in platform device definition for [31mCONFIG_USB[0m host.
config [31mCONFIG_S3C_DEV_USB_HSOTG[0m
bool
help
Compile in platform device definition for [31mCONFIG_USB[0m high-speed OtG
config [31mCONFIG_S3C_DEV_WDT[0m
bool
default y if [31mCONFIG_ARCH_S3C24XX[0m
help
Complie in platform device definition for Watchdog Timer
config [31mCONFIG_S3C_DEV_NAND[0m
bool
help
Compile in platform device definition for NAND controller
config [31mCONFIG_S3C_DEV_ONENAND[0m
bool
help
Compile in platform device definition for OneNAND controller
config [31mCONFIG_S3C_DEV_RTC[0m
bool
help
Complie in platform device definition for [31mCONFIG_RTC[0m
config [31mCONFIG_SAMSUNG_DEV_ADC[0m
bool
help
Compile in platform device definition for ADC controller
config [31mCONFIG_SAMSUNG_DEV_IDE[0m
bool
help
Compile in platform device definitions for [31mCONFIG_IDE[0m
config [31mCONFIG_S3C64XX_DEV_SPI0[0m
bool
help
Compile in platform device definitions for S3C64XX's type
[31mCONFIG_SPI[0m controller 0
config [31mCONFIG_S3C64XX_DEV_SPI1[0m
bool
help
Compile in platform device definitions for S3C64XX's type
[31mCONFIG_SPI[0m controller 1
config [31mCONFIG_S3C64XX_DEV_SPI2[0m
bool
help
Compile in platform device definitions for S3C64XX's type
[31mCONFIG_SPI[0m controller 2
config [31mCONFIG_SAMSUNG_DEV_TS[0m
bool
help
Common in platform device definitions for touchscreen device
config [31mCONFIG_SAMSUNG_DEV_KEYPAD[0m
bool
help
Compile in platform device definitions for keypad
config [31mCONFIG_SAMSUNG_DEV_PWM[0m
bool
default y if [31mCONFIG_ARCH_S3C24XX[0m
help
Compile in platform device definition for [31mCONFIG_PWM[0m Timer
config [31mCONFIG_S3C24XX_PWM[0m
bool "PWM device support"
select [31mCONFIG_PWM[0m
select [31mCONFIG_PWM_SAMSUNG[0m
help
Support for exporting the [31mCONFIG_PWM[0m timer blocks via the pwm device
system
config [31mCONFIG_GPIO_SAMSUNG[0m
def_bool y
config [31mCONFIG_SAMSUNG_PM_GPIO[0m
bool
default y if [31mCONFIG_GPIO_SAMSUNG[0m && [31mCONFIG_PM[0m
help
Include legacy GPIO power management code for platforms not using
pinctrl-samsung driver.
endif
comment "Power management"
config [31mCONFIG_SAMSUNG_PM_DEBUG[0m
bool "Samsung PM Suspend debug"
depends on [31mCONFIG_PM[0m && [31mCONFIG_DEBUG_KERNEL[0m
depends on [31mCONFIG_PLAT_S3C24XX[0m || [31mCONFIG_ARCH_S3C64XX[0m || [31mCONFIG_ARCH_S5PV210[0m
depends on [31mCONFIG_DEBUG_EXYNOS_UART[0m || [31mCONFIG_DEBUG_S3C24XX_UART[0m || [31mCONFIG_DEBUG_S3C2410_UART[0m
help
Say Y here if you want verbose debugging from the [31mCONFIG_PM[0m Suspend and
Resume code. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
for more information.
config [31mCONFIG_S3C_PM_DEBUG_LED_SMDK[0m
bool "SMDK LED suspend/resume debugging"
depends on [31mCONFIG_PM[0m && ([31mCONFIG_MACH_SMDK6410[0m)
help
Say Y here to enable the use of the SMDK LEDs on the baseboard
for debugging of the state of the suspend and resume process.
Note, this currently only works for S3C64XX based SMDK boards.
config [31mCONFIG_SAMSUNG_PM_CHECK[0m
bool "S3C2410 PM Suspend Memory CRC"
depends on [31mCONFIG_PM[0m && ([31mCONFIG_PLAT_S3C24XX[0m || [31mCONFIG_ARCH_S3C64XX[0m || [31mCONFIG_ARCH_S5PV210[0m)
select [31mCONFIG_CRC32[0m
help
Enable the [31mCONFIG_PM[0m code's memory area checksum over sleep. This option
will generate CRCs of all blocks of memory, and store them before
going to sleep. The blocks are then checked on resume for any
errors.
Note, this can take several seconds depending on memory size
and CPU speed.
See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
config [31mCONFIG_SAMSUNG_PM_CHECK_CHUNKSIZE[0m
int "S3C2410 PM Suspend CRC Chunksize (KiB)"
depends on [31mCONFIG_PM[0m && [31mCONFIG_SAMSUNG_PM_CHECK[0m
default 64
help
Set the chunksize in Kilobytes of the CRC for checking memory
corruption over suspend and resume. [31mCONFIG_A[0m smaller value will mean that
the CRC data block will take more memory, but will identify any
faults with better precision.
See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
config [31mCONFIG_SAMSUNG_WAKEMASK[0m
bool
depends on [31mCONFIG_PM[0m
help
Compile support for wakeup-mask controls found on the S3C6400
and above. This code allows a set of interrupt to wakeup-mask
mappings. See <plat/wakeup-mask.h>
config [31mCONFIG_SAMSUNG_WDT_RESET[0m
bool
help
Compile support for system restart by triggering watchdog reset.
Used on SoCs that do not provide dedicated reset control.
config [31mCONFIG_DEBUG_S3C_UART[0m
depends on [31mCONFIG_PLAT_SAMSUNG[0m
int
default "0" if [31mCONFIG_DEBUG_S3C_UART0[0m
default "1" if [31mCONFIG_DEBUG_S3C_UART1[0m
default "2" if [31mCONFIG_DEBUG_S3C_UART2[0m
default "3" if [31mCONFIG_DEBUG_S3C_UART3[0m
endmenu
endif