xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision 9659281c)
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_CHIPID
17	select EXYNOS_THERMAL
18	select EXYNOS_PMU
19	select EXYNOS_SROM
20	select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
21	select GPIOLIB
22	select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5
23	select HAVE_ARM_SCU if SMP
24	select HAVE_S3C2410_I2C if I2C
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
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	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	select EXYNOS_REGULATOR_COUPLER
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