1# arch/arm/mach-exynos/Kconfig
2#
3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4#		http://www.samsung.com/
5#
6# Licensed under GPLv2
7
8# Configuration options for the EXYNOS4
9
10menuconfig ARCH_EXYNOS
11	bool "Samsung EXYNOS" if ARCH_MULTI_V7
12	select ARCH_HAS_BANDGAP
13	select ARCH_HAS_HOLES_MEMORYMODEL
14	select ARCH_REQUIRE_GPIOLIB
15	select ARM_AMBA
16	select ARM_GIC
17	select COMMON_CLK_SAMSUNG
18	select EXYNOS_THERMAL
19	select HAVE_ARM_SCU if SMP
20	select HAVE_S3C2410_I2C if I2C
21	select HAVE_S3C2410_WATCHDOG if WATCHDOG
22	select HAVE_S3C_RTC if RTC_CLASS
23	select PINCTRL
24	select PINCTRL_EXYNOS
25	select PM_GENERIC_DOMAINS if PM
26	select S5P_DEV_MFC
27	select SRAM
28	select THERMAL
29	select THERMAL_OF
30	select MFD_SYSCON
31	help
32	  Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
33
34if ARCH_EXYNOS
35
36config S5P_DEV_MFC
37	bool
38	help
39	  Compile in setup memory (init) code for MFC
40
41config ARCH_EXYNOS3
42	bool "SAMSUNG EXYNOS3"
43	select ARM_CPU_SUSPEND if PM
44	help
45	  Samsung EXYNOS3 (Cortex-A7) SoC based systems
46
47config ARCH_EXYNOS4
48	bool "SAMSUNG EXYNOS4"
49	default y
50	select ARM_CPU_SUSPEND if PM_SLEEP
51	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
52	select CPU_EXYNOS4210
53	select GIC_NON_BANKED
54	select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
55	select MIGHT_HAVE_CACHE_L2X0
56	help
57	  Samsung EXYNOS4 (Cortex-A9) SoC based systems
58
59config ARCH_EXYNOS5
60	bool "SAMSUNG EXYNOS5"
61	default y
62	help
63	  Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
64
65comment "EXYNOS SoCs"
66
67config SOC_EXYNOS3250
68	bool "SAMSUNG EXYNOS3250"
69	default y
70	depends on ARCH_EXYNOS3
71
72config CPU_EXYNOS4210
73	bool "SAMSUNG EXYNOS4210"
74	default y
75	depends on ARCH_EXYNOS4
76
77config SOC_EXYNOS4212
78	bool "SAMSUNG EXYNOS4212"
79	default y
80	depends on ARCH_EXYNOS4
81
82config SOC_EXYNOS4412
83	bool "SAMSUNG EXYNOS4412"
84	default y
85	depends on ARCH_EXYNOS4
86
87config SOC_EXYNOS4415
88	bool "SAMSUNG EXYNOS4415"
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
112config SOC_EXYNOS5440
113	bool "SAMSUNG EXYNOS5440"
114	default y
115	depends on ARCH_EXYNOS5
116	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
117	select HAVE_ARM_ARCH_TIMER
118	select AUTO_ZRELADDR
119	select MIGHT_HAVE_PCI
120	select PCI_DOMAINS if PCI
121	select PINCTRL_EXYNOS5440
122	select PM_OPP
123	help
124	  Enable EXYNOS5440 SoC support
125
126config SOC_EXYNOS5800
127	bool "SAMSUNG EXYNOS5800"
128	default y
129	depends on SOC_EXYNOS5420
130
131config EXYNOS5420_MCPM
132	bool "Exynos5420 Multi-Cluster PM support"
133	depends on MCPM && SOC_EXYNOS5420
134	select ARM_CCI400_PORT_CTRL
135	select ARM_CPU_SUSPEND
136	help
137	  This is needed to provide CPU and cluster power management
138	  on Exynos5420 implementing big.LITTLE.
139
140config EXYNOS_CPU_SUSPEND
141	bool
142	select ARM_CPU_SUSPEND
143	default PM_SLEEP || ARM_EXYNOS_CPUIDLE
144
145endif
146