• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_SUPPORTS_BIG_ENDIAN
12	select ARM_AMBA
13	select ARM_GIC
14	select COMMON_CLK_SAMSUNG
15	select EXYNOS_CHIPID
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 && VIRTUALIZATION
22	select HAVE_ARM_SCU if SMP
23	select HAVE_S3C2410_I2C if I2C
24	select HAVE_S3C2410_WATCHDOG if WATCHDOG
25	select HAVE_S3C_RTC if RTC_CLASS
26	select PINCTRL
27	select PINCTRL_EXYNOS
28	select PM_GENERIC_DOMAINS if PM
29	select S5P_DEV_MFC
30	select SAMSUNG_MC
31	select SOC_SAMSUNG
32	select SRAM
33	select THERMAL
34	select THERMAL_OF
35	select MFD_SYSCON
36	select MEMORY
37	select CLKSRC_EXYNOS_MCT
38	select POWER_RESET
39	select POWER_RESET_SYSCON
40	select POWER_RESET_SYSCON_POWEROFF
41	help
42	  Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
43
44if ARCH_EXYNOS
45
46config S5P_DEV_MFC
47	bool
48	help
49	  Compile in setup memory (init) code for MFC
50
51config ARCH_EXYNOS3
52	bool "SAMSUNG EXYNOS3"
53	default y
54	select ARM_CPU_SUSPEND if PM
55	help
56	  Samsung EXYNOS3 (Cortex-A7) SoC based systems
57
58config ARCH_EXYNOS4
59	bool "SAMSUNG EXYNOS4"
60	default y
61	select ARM_CPU_SUSPEND if PM_SLEEP
62	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
63	select CPU_EXYNOS4210
64	select GIC_NON_BANKED
65	select MIGHT_HAVE_CACHE_L2X0
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
120config EXYNOS_MCPM
121	bool
122	select MCPM
123
124config EXYNOS_CPU_SUSPEND
125	bool
126	select ARM_CPU_SUSPEND
127	default PM_SLEEP || ARM_EXYNOS_CPUIDLE
128
129endif
130