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 Samsung Exynos
7
8menuconfig ARCH_EXYNOS
9	bool "Samsung Exynos"
10	depends on ARCH_MULTI_V7
11	select ARM_AMBA
12	select ARM_GIC
13	select EXYNOS_IRQ_COMBINER
14	select COMMON_CLK_SAMSUNG
15	select EXYNOS_THERMAL
16	select EXYNOS_PMU
17	select EXYNOS_SROM
18	select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
19	select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5
20	select HAVE_ARM_SCU if SMP
21	select PINCTRL
22	select PINCTRL_EXYNOS
23	select PM_GENERIC_DOMAINS if PM
24	select S5P_DEV_MFC
25	select SAMSUNG_MC
26	select SOC_SAMSUNG
27	select SRAM
28	select THERMAL
29	select THERMAL_OF
30	select MFD_SYSCON
31	select MEMORY
32	select CLKSRC_EXYNOS_MCT
33	select POWER_RESET
34	select POWER_RESET_SYSCON
35	select POWER_RESET_SYSCON_POWEROFF
36	help
37	  Support for Samsung Exynos SoCs
38
39if ARCH_EXYNOS
40
41config S5P_DEV_MFC
42	bool
43	help
44	  Compile in setup memory (init) code for MFC
45
46config ARCH_EXYNOS3
47	bool "Samsung Exynos3"
48	default y
49	select ARM_CPU_SUSPEND if PM
50	help
51	  Samsung Exynos3 (Cortex-A7) SoC based systems
52
53config ARCH_EXYNOS4
54	bool "Samsung Exynos4"
55	default y
56	select ARM_CPU_SUSPEND if PM_SLEEP
57	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
58	select CPU_EXYNOS4210
59	select GIC_NON_BANKED
60	help
61	  Samsung Exynos4 (Cortex-A9) SoC based systems
62
63config ARCH_EXYNOS5
64	bool "Samsung Exynos5"
65	default y
66	help
67	  Samsung Exynos5 (Cortex-A15/A7) SoC based systems
68
69comment "Exynos SoCs"
70
71config SOC_EXYNOS3250
72	bool "Samsung Exynos3250"
73	default y
74	depends on ARCH_EXYNOS3
75
76config CPU_EXYNOS4210
77	bool "Samsung Exynos4210"
78	default y
79	depends on ARCH_EXYNOS4
80
81config SOC_EXYNOS4412
82	bool "Samsung Exynos4412"
83	default y
84	depends on ARCH_EXYNOS4
85
86config SOC_EXYNOS5250
87	bool "Samsung Exynos5250"
88	default y
89	depends on ARCH_EXYNOS5
90
91config SOC_EXYNOS5260
92	bool "Samsung Exynos5260"
93	default y
94	depends on ARCH_EXYNOS5
95
96config SOC_EXYNOS5410
97	bool "Samsung Exynos5410"
98	default y
99	depends on ARCH_EXYNOS5
100
101config SOC_EXYNOS5420
102	bool "Samsung Exynos5420"
103	default y
104	depends on ARCH_EXYNOS5
105	select EXYNOS_MCPM if SMP
106	select ARM_CCI400_PORT_CTRL
107	select ARM_CPU_SUSPEND
108
109config SOC_EXYNOS5800
110	bool "Samsung EXYNOS5800"
111	default y
112	depends on SOC_EXYNOS5420
113	select EXYNOS_REGULATOR_COUPLER
114
115config EXYNOS_MCPM
116	bool
117	select MCPM
118
119config EXYNOS_CPU_SUSPEND
120	bool
121	select ARM_CPU_SUSPEND
122	default PM_SLEEP || ARM_EXYNOS_CPUIDLE
123
124endif
125