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