2017-12-25 20:17:59 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2015-12-18 03:32:16 +00:00
|
|
|
#
|
2020-01-04 15:20:52 +00:00
|
|
|
# Samsung SoC drivers
|
2015-12-18 03:32:16 +00:00
|
|
|
#
|
2016-02-02 06:24:13 +00:00
|
|
|
menuconfig SOC_SAMSUNG
|
|
|
|
bool "Samsung SoC driver support" if COMPILE_TEST
|
2015-12-18 03:32:16 +00:00
|
|
|
|
2016-02-02 06:24:13 +00:00
|
|
|
if SOC_SAMSUNG
|
2015-12-18 03:32:16 +00:00
|
|
|
|
2019-10-28 15:15:33 +00:00
|
|
|
# There is no need to enable these drivers for ARMv8
|
|
|
|
config EXYNOS_ASV_ARM
|
|
|
|
bool "Exynos ASV ARMv7-specific driver extensions" if COMPILE_TEST
|
2020-12-07 18:54:57 +00:00
|
|
|
depends on EXYNOS_CHIPID
|
2019-10-28 15:15:33 +00:00
|
|
|
|
2019-08-13 15:08:19 +00:00
|
|
|
config EXYNOS_CHIPID
|
2021-09-19 09:31:14 +00:00
|
|
|
tristate "Exynos ChipID controller and ASV driver"
|
2019-08-13 15:08:19 +00:00
|
|
|
depends on ARCH_EXYNOS || COMPILE_TEST
|
2021-09-19 09:31:14 +00:00
|
|
|
default ARCH_EXYNOS
|
2020-12-07 18:54:57 +00:00
|
|
|
select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS
|
2019-08-21 15:39:26 +00:00
|
|
|
select MFD_SYSCON
|
2019-08-13 15:08:19 +00:00
|
|
|
select SOC_BUS
|
2020-12-07 18:54:57 +00:00
|
|
|
help
|
|
|
|
Support for Samsung Exynos SoC ChipID and Adaptive Supply Voltage.
|
2021-09-19 09:31:13 +00:00
|
|
|
This driver can also be built as module (exynos_chipid).
|
2019-08-13 15:08:19 +00:00
|
|
|
|
2021-12-04 19:57:54 +00:00
|
|
|
config EXYNOS_USI
|
|
|
|
tristate "Exynos USI (Universal Serial Interface) driver"
|
|
|
|
default ARCH_EXYNOS && ARM64
|
|
|
|
depends on ARCH_EXYNOS || COMPILE_TEST
|
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
Enable support for USI block. USI (Universal Serial Interface) is an
|
|
|
|
IP-core found in modern Samsung Exynos SoCs, like Exynos850 and
|
|
|
|
ExynosAutoV0. USI block can be configured to provide one of the
|
|
|
|
following serial protocols: UART, SPI or High Speed I2C.
|
|
|
|
|
|
|
|
This driver allows one to configure USI for desired protocol, which
|
|
|
|
is usually done in USI node in Device Tree.
|
|
|
|
|
2015-12-18 03:32:16 +00:00
|
|
|
config EXYNOS_PMU
|
2016-02-02 06:24:13 +00:00
|
|
|
bool "Exynos PMU controller driver" if COMPILE_TEST
|
2017-03-14 17:10:27 +00:00
|
|
|
depends on ARCH_EXYNOS || ((ARM || ARM64) && COMPILE_TEST)
|
|
|
|
select EXYNOS_PMU_ARM_DRIVERS if ARM && ARCH_EXYNOS
|
2021-09-09 22:28:12 +00:00
|
|
|
select MFD_CORE
|
2017-03-14 17:10:27 +00:00
|
|
|
|
|
|
|
# There is no need to enable these drivers for ARMv8
|
|
|
|
config EXYNOS_PMU_ARM_DRIVERS
|
|
|
|
bool "Exynos PMU ARMv7-specific driver extensions" if COMPILE_TEST
|
|
|
|
depends on EXYNOS_PMU
|
2015-12-18 03:32:16 +00:00
|
|
|
|
2016-05-10 14:31:26 +00:00
|
|
|
config EXYNOS_PM_DOMAINS
|
|
|
|
bool "Exynos PM domains" if COMPILE_TEST
|
2020-08-06 18:20:33 +00:00
|
|
|
depends on (ARCH_EXYNOS && PM_GENERIC_DOMAINS) || COMPILE_TEST
|
|
|
|
|
|
|
|
config SAMSUNG_PM_DEBUG
|
|
|
|
bool "Samsung PM Suspend debug"
|
|
|
|
depends on PM && DEBUG_KERNEL
|
|
|
|
depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
|
|
|
|
depends on DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART
|
2020-09-26 19:55:43 +00:00
|
|
|
depends on DEBUG_LL && MMU
|
2020-08-06 18:20:33 +00:00
|
|
|
help
|
|
|
|
Say Y here if you want verbose debugging from the PM Suspend and
|
|
|
|
Resume code. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
|
|
|
|
for more information.
|
|
|
|
|
|
|
|
config S3C_PM_DEBUG_LED_SMDK
|
|
|
|
bool "SMDK LED suspend/resume debugging"
|
|
|
|
depends on PM && (MACH_SMDK6410)
|
|
|
|
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 SAMSUNG_PM_CHECK
|
|
|
|
bool "S3C2410 PM Suspend Memory CRC"
|
|
|
|
depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210)
|
|
|
|
select CRC32
|
|
|
|
help
|
|
|
|
Enable the PM 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 SAMSUNG_PM_CHECK_CHUNKSIZE
|
|
|
|
int "S3C2410 PM Suspend CRC Chunksize (KiB)"
|
|
|
|
depends on PM && SAMSUNG_PM_CHECK
|
|
|
|
default 64
|
|
|
|
help
|
|
|
|
Set the chunksize in Kilobytes of the CRC for checking memory
|
|
|
|
corruption over suspend and resume. A 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>
|
2016-05-10 14:31:26 +00:00
|
|
|
|
2020-07-21 18:09:00 +00:00
|
|
|
config EXYNOS_REGULATOR_COUPLER
|
|
|
|
bool "Exynos SoC Regulator Coupler" if COMPILE_TEST
|
|
|
|
depends on ARCH_EXYNOS || COMPILE_TEST
|
2016-02-02 06:24:13 +00:00
|
|
|
endif
|