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