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