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