brintos

brintos / linux-shallow public Read only

0
0
Text · 2.5 KiB · 1a5dfdc Raw
79 lines · plain
1# SPDX-License-Identifier: GPL-2.02#3# Samsung SoC drivers4#5menuconfig SOC_SAMSUNG6	bool "Samsung SoC driver support" if COMPILE_TEST7 8if SOC_SAMSUNG9 10# There is no need to enable these drivers for ARMv811config EXYNOS_ASV_ARM12	bool "Exynos ASV ARMv7-specific driver extensions" if COMPILE_TEST13	depends on EXYNOS_CHIPID14 15config EXYNOS_CHIPID16	tristate "Exynos ChipID controller and ASV driver"17	depends on ARCH_EXYNOS || COMPILE_TEST18	default ARCH_EXYNOS19	select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS20	select MFD_SYSCON21	select SOC_BUS22	help23	  Support for Samsung Exynos SoC ChipID and Adaptive Supply Voltage.24	  This driver can also be built as module (exynos_chipid).25 26config EXYNOS_USI27	tristate "Exynos USI (Universal Serial Interface) driver"28	default ARCH_EXYNOS && ARM6429	depends on ARCH_EXYNOS || COMPILE_TEST30	select MFD_SYSCON31	help32	  Enable support for USI block. USI (Universal Serial Interface) is an33	  IP-core found in modern Samsung Exynos SoCs, like Exynos850 and34	  ExynosAutoV9. USI block can be configured to provide one of the35	  following serial protocols: UART, SPI or High Speed I2C.36 37	  This driver allows one to configure USI for desired protocol, which38	  is usually done in USI node in Device Tree.39 40config EXYNOS_PMU41	bool "Exynos PMU controller driver" if COMPILE_TEST42	depends on ARCH_EXYNOS || ((ARM || ARM64) && COMPILE_TEST)43	select EXYNOS_PMU_ARM_DRIVERS if ARM && ARCH_EXYNOS44	select MFD_CORE45	select REGMAP_MMIO46 47# There is no need to enable these drivers for ARMv848config EXYNOS_PMU_ARM_DRIVERS49	bool "Exynos PMU ARMv7-specific driver extensions" if COMPILE_TEST50	depends on EXYNOS_PMU51 52config SAMSUNG_PM_CHECK53	bool "S3C2410 PM Suspend Memory CRC"54	depends on PM && (ARCH_S3C64XX || ARCH_S5PV210)55	select CRC3256	help57	  Enable the PM code's memory area checksum over sleep. This option58	  will generate CRCs of all blocks of memory, and store them before59	  going to sleep. The blocks are then checked on resume for any60	  errors.61 62	  Note, this can take several seconds depending on memory size63	  and CPU speed.64 65config SAMSUNG_PM_CHECK_CHUNKSIZE66	int "S3C2410 PM Suspend CRC Chunksize (KiB)"67	depends on PM && SAMSUNG_PM_CHECK68	default 6469	help70	  Set the chunksize in Kilobytes of the CRC for checking memory71	  corruption over suspend and resume. A smaller value will mean that72	  the CRC data block will take more memory, but will identify any73	  faults with better precision.74 75config EXYNOS_REGULATOR_COUPLER76	bool "Exynos SoC Regulator Coupler" if COMPILE_TEST77	depends on ARCH_EXYNOS || COMPILE_TEST78endif79