xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision 9123e3a7)
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_S3C2410_WATCHDOG if WATCHDOG
28	select HAVE_S3C_RTC if RTC_CLASS
29	select PINCTRL
30	select PINCTRL_EXYNOS
31	select PM_GENERIC_DOMAINS if PM
32	select S5P_DEV_MFC
33	select SAMSUNG_MC
34	select SOC_SAMSUNG
35	select SRAM
36	select THERMAL
37	select THERMAL_OF
38	select MFD_SYSCON
39	select MEMORY
40	select CLKSRC_EXYNOS_MCT
41	select POWER_RESET
42	select POWER_RESET_SYSCON
43	select POWER_RESET_SYSCON_POWEROFF
44	help
45	  Support for Samsung Exynos SoCs
46
47if ARCH_EXYNOS
48
49config S5P_DEV_MFC
50	bool
51	help
52	  Compile in setup memory (init) code for MFC
53
54config ARCH_EXYNOS3
55	bool "Samsung Exynos3"
56	default y
57	select ARM_CPU_SUSPEND if PM
58	help
59	  Samsung Exynos3 (Cortex-A7) SoC based systems
60
61config ARCH_EXYNOS4
62	bool "Samsung Exynos4"
63	default y
64	select ARM_CPU_SUSPEND if PM_SLEEP
65	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
66	select CPU_EXYNOS4210
67	select GIC_NON_BANKED
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	select EXYNOS_REGULATOR_COUPLER
122
123config EXYNOS_MCPM
124	bool
125	select MCPM
126
127config EXYNOS_CPU_SUSPEND
128	bool
129	select ARM_CPU_SUSPEND
130	default PM_SLEEP || ARM_EXYNOS_CPUIDLE
131
132endif
133