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