xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision e2c75e76)
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_BANDGAP
12	select ARCH_HAS_HOLES_MEMORYMODEL
13	select ARCH_SUPPORTS_BIG_ENDIAN
14	select ARM_AMBA
15	select ARM_GIC
16	select COMMON_CLK_SAMSUNG
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_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	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
111config SOC_EXYNOS5440
112	bool "SAMSUNG EXYNOS5440"
113	default y
114	depends on ARCH_EXYNOS5
115	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
116	select HAVE_ARM_ARCH_TIMER
117	select AUTO_ZRELADDR
118	select PINCTRL_EXYNOS5440
119	select PM_OPP
120	help
121	  Enable EXYNOS5440 SoC support
122
123config SOC_EXYNOS5800
124	bool "SAMSUNG EXYNOS5800"
125	default y
126	depends on SOC_EXYNOS5420
127
128config EXYNOS5420_MCPM
129	bool "Exynos5420 Multi-Cluster PM support"
130	depends on MCPM && SOC_EXYNOS5420
131	select ARM_CCI400_PORT_CTRL
132	select ARM_CPU_SUSPEND
133	help
134	  This is needed to provide CPU and cluster power management
135	  on Exynos5420 implementing big.LITTLE.
136
137config EXYNOS_CPU_SUSPEND
138	bool
139	select ARM_CPU_SUSPEND
140	default PM_SLEEP || ARM_EXYNOS_CPUIDLE
141
142endif
143