xref: /linux/arch/arm/mach-exynos/Kconfig (revision b85d45947951d23cb22d90caecf4c1eb81342c96)
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 MFD_SYSCON
30	help
31	  Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
32
33if ARCH_EXYNOS
34
35config S5P_DEV_MFC
36	bool
37	help
38	  Compile in setup memory (init) code for MFC
39
40config ARCH_EXYNOS3
41	bool "SAMSUNG EXYNOS3"
42	select ARM_CPU_SUSPEND if PM
43	help
44	  Samsung EXYNOS3 (Cortex-A7) SoC based systems
45
46config ARCH_EXYNOS4
47	bool "SAMSUNG EXYNOS4"
48	default y
49	select ARM_CPU_SUSPEND if PM_SLEEP
50	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
51	select CPU_EXYNOS4210
52	select GIC_NON_BANKED
53	select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
54	select MIGHT_HAVE_CACHE_L2X0
55	help
56	  Samsung EXYNOS4 (Cortex-A9) SoC based systems
57
58config ARCH_EXYNOS5
59	bool "SAMSUNG EXYNOS5"
60	default y
61	help
62	  Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
63
64comment "EXYNOS SoCs"
65
66config SOC_EXYNOS3250
67	bool "SAMSUNG EXYNOS3250"
68	default y
69	depends on ARCH_EXYNOS3
70
71config CPU_EXYNOS4210
72	bool "SAMSUNG EXYNOS4210"
73	default y
74	depends on ARCH_EXYNOS4
75
76config SOC_EXYNOS4212
77	bool "SAMSUNG EXYNOS4212"
78	default y
79	depends on ARCH_EXYNOS4
80
81config SOC_EXYNOS4412
82	bool "SAMSUNG EXYNOS4412"
83	default y
84	depends on ARCH_EXYNOS4
85
86config SOC_EXYNOS4415
87	bool "SAMSUNG EXYNOS4415"
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 MIGHT_HAVE_PCI
119	select PCI_DOMAINS if PCI
120	select PINCTRL_EXYNOS5440
121	select PM_OPP
122	help
123	  Enable EXYNOS5440 SoC support
124
125config SOC_EXYNOS5800
126	bool "SAMSUNG EXYNOS5800"
127	default y
128	depends on SOC_EXYNOS5420
129
130config EXYNOS5420_MCPM
131	bool "Exynos5420 Multi-Cluster PM support"
132	depends on MCPM && SOC_EXYNOS5420
133	select ARM_CCI400_PORT_CTRL
134	select ARM_CPU_SUSPEND
135	help
136	  This is needed to provide CPU and cluster power management
137	  on Exynos5420 implementing big.LITTLE.
138
139config EXYNOS_CPU_SUSPEND
140	bool
141	select ARM_CPU_SUSPEND
142	default PM_SLEEP || ARM_EXYNOS_CPUIDLE
143
144endif
145