xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision c1d3fb8a)
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_ASV
17	select EXYNOS_CHIPID
18	select EXYNOS_THERMAL
19	select EXYNOS_PMU
20	select EXYNOS_SROM
21	select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
22	select GPIOLIB
23	select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5 && VIRTUALIZATION
24	select HAVE_ARM_SCU if SMP
25	select HAVE_S3C2410_I2C if I2C
26	select HAVE_S3C2410_WATCHDOG if WATCHDOG
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 (EXYNOS4/5)
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	select MIGHT_HAVE_CACHE_L2X0
68	help
69	  Samsung EXYNOS4 (Cortex-A9) SoC based systems
70
71config ARCH_EXYNOS5
72	bool "SAMSUNG EXYNOS5"
73	default y
74	help
75	  Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
76
77comment "EXYNOS SoCs"
78
79config SOC_EXYNOS3250
80	bool "SAMSUNG EXYNOS3250"
81	default y
82	depends on ARCH_EXYNOS3
83
84config CPU_EXYNOS4210
85	bool "SAMSUNG EXYNOS4210"
86	default y
87	depends on ARCH_EXYNOS4
88
89config SOC_EXYNOS4412
90	bool "SAMSUNG EXYNOS4412"
91	default y
92	depends on ARCH_EXYNOS4
93
94config SOC_EXYNOS5250
95	bool "SAMSUNG EXYNOS5250"
96	default y
97	depends on ARCH_EXYNOS5
98
99config SOC_EXYNOS5260
100	bool "SAMSUNG EXYNOS5260"
101	default y
102	depends on ARCH_EXYNOS5
103
104config SOC_EXYNOS5410
105	bool "SAMSUNG EXYNOS5410"
106	default y
107	depends on ARCH_EXYNOS5
108
109config SOC_EXYNOS5420
110	bool "SAMSUNG EXYNOS5420"
111	default y
112	depends on ARCH_EXYNOS5
113	select EXYNOS_MCPM if SMP
114	select ARM_CCI400_PORT_CTRL
115	select ARM_CPU_SUSPEND
116
117config SOC_EXYNOS5800
118	bool "SAMSUNG EXYNOS5800"
119	default y
120	depends on SOC_EXYNOS5420
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