xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision ebd09753)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4#		http://www.samsung.com/
5
6# Configuration options for the EXYNOS
7
8menuconfig ARCH_EXYNOS
9	bool "Samsung EXYNOS"
10	depends on ARCH_MULTI_V7
11	select ARCH_HAS_HOLES_MEMORYMODEL
12	select ARCH_SUPPORTS_BIG_ENDIAN
13	select ARM_AMBA
14	select ARM_GIC
15	select COMMON_CLK_SAMSUNG
16	select EXYNOS_THERMAL
17	select EXYNOS_PMU
18	select EXYNOS_SROM
19	select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
20	select GPIOLIB
21	select HAVE_ARM_SCU if SMP
22	select HAVE_S3C2410_I2C if I2C
23	select HAVE_S3C2410_WATCHDOG if WATCHDOG
24	select HAVE_S3C_RTC if RTC_CLASS
25	select PINCTRL
26	select PINCTRL_EXYNOS
27	select PM_GENERIC_DOMAINS if PM
28	select S5P_DEV_MFC
29	select SAMSUNG_MC
30	select SOC_SAMSUNG
31	select SRAM
32	select THERMAL
33	select THERMAL_OF
34	select MFD_SYSCON
35	select MEMORY
36	select CLKSRC_EXYNOS_MCT
37	select POWER_RESET
38	select POWER_RESET_SYSCON
39	select POWER_RESET_SYSCON_POWEROFF
40	help
41	  Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
42
43if ARCH_EXYNOS
44
45config S5P_DEV_MFC
46	bool
47	help
48	  Compile in setup memory (init) code for MFC
49
50config ARCH_EXYNOS3
51	bool "SAMSUNG EXYNOS3"
52	select ARM_CPU_SUSPEND if PM
53	help
54	  Samsung EXYNOS3 (Cortex-A7) SoC based systems
55
56config ARCH_EXYNOS4
57	bool "SAMSUNG EXYNOS4"
58	default y
59	select ARM_CPU_SUSPEND if PM_SLEEP
60	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
61	select CPU_EXYNOS4210
62	select GIC_NON_BANKED
63	select MIGHT_HAVE_CACHE_L2X0
64	help
65	  Samsung EXYNOS4 (Cortex-A9) SoC based systems
66
67config ARCH_EXYNOS5
68	bool "SAMSUNG EXYNOS5"
69	default y
70	help
71	  Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
72
73comment "EXYNOS SoCs"
74
75config SOC_EXYNOS3250
76	bool "SAMSUNG EXYNOS3250"
77	default y
78	depends on ARCH_EXYNOS3
79
80config CPU_EXYNOS4210
81	bool "SAMSUNG EXYNOS4210"
82	default y
83	depends on ARCH_EXYNOS4
84
85config SOC_EXYNOS4412
86	bool "SAMSUNG EXYNOS4412"
87	default y
88	depends on ARCH_EXYNOS4
89
90config SOC_EXYNOS5250
91	bool "SAMSUNG EXYNOS5250"
92	default y
93	depends on ARCH_EXYNOS5
94
95config SOC_EXYNOS5260
96	bool "SAMSUNG EXYNOS5260"
97	default y
98	depends on ARCH_EXYNOS5
99
100config SOC_EXYNOS5410
101	bool "SAMSUNG EXYNOS5410"
102	default y
103	depends on ARCH_EXYNOS5
104
105config SOC_EXYNOS5420
106	bool "SAMSUNG EXYNOS5420"
107	default y
108	depends on ARCH_EXYNOS5
109
110config SOC_EXYNOS5800
111	bool "SAMSUNG EXYNOS5800"
112	default y
113	depends on SOC_EXYNOS5420
114
115config EXYNOS5420_MCPM
116	bool "Exynos5420 Multi-Cluster PM support"
117	depends on MCPM && SOC_EXYNOS5420
118	select ARM_CCI400_PORT_CTRL
119	select ARM_CPU_SUSPEND
120	help
121	  This is needed to provide CPU and cluster power management
122	  on Exynos5420 implementing big.LITTLE.
123
124config EXYNOS_CPU_SUSPEND
125	bool
126	select ARM_CPU_SUSPEND
127	default PM_SLEEP || ARM_EXYNOS_CPUIDLE
128
129endif
130