xref: /openbmc/linux/drivers/soc/samsung/Kconfig (revision 29c37341)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Samsung SoC drivers
4#
5menuconfig SOC_SAMSUNG
6	bool "Samsung SoC driver support" if COMPILE_TEST
7
8if SOC_SAMSUNG
9
10config EXYNOS_ASV
11	bool "Exynos Adaptive Supply Voltage support" if COMPILE_TEST
12	depends on (ARCH_EXYNOS && EXYNOS_CHIPID) || COMPILE_TEST
13	select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS
14
15# There is no need to enable these drivers for ARMv8
16config EXYNOS_ASV_ARM
17	bool "Exynos ASV ARMv7-specific driver extensions" if COMPILE_TEST
18	depends on EXYNOS_ASV
19
20config EXYNOS_CHIPID
21	bool "Exynos Chipid controller driver" if COMPILE_TEST
22	depends on ARCH_EXYNOS || COMPILE_TEST
23	select MFD_SYSCON
24	select SOC_BUS
25
26config EXYNOS_PMU
27	bool "Exynos PMU controller driver" if COMPILE_TEST
28	depends on ARCH_EXYNOS || ((ARM || ARM64) && COMPILE_TEST)
29	select EXYNOS_PMU_ARM_DRIVERS if ARM && ARCH_EXYNOS
30
31# There is no need to enable these drivers for ARMv8
32config EXYNOS_PMU_ARM_DRIVERS
33	bool "Exynos PMU ARMv7-specific driver extensions" if COMPILE_TEST
34	depends on EXYNOS_PMU
35
36config EXYNOS_PM_DOMAINS
37	bool "Exynos PM domains" if COMPILE_TEST
38	depends on PM_GENERIC_DOMAINS || COMPILE_TEST
39
40config EXYNOS_REGULATOR_COUPLER
41	bool "Exynos SoC Regulator Coupler" if COMPILE_TEST
42	depends on ARCH_EXYNOS || COMPILE_TEST
43endif
44