xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision 3d3337de)
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 HAVE_ARM_SCU if SMP
19	select HAVE_S3C2410_I2C if I2C
20	select HAVE_S3C2410_WATCHDOG if WATCHDOG
21	select HAVE_S3C_RTC if RTC_CLASS
22	select PINCTRL
23	select PINCTRL_EXYNOS
24	select PM_GENERIC_DOMAINS if PM
25	select S5P_DEV_MFC
26	select SRAM
27	select MFD_SYSCON
28	help
29	  Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
30
31if ARCH_EXYNOS
32
33config ARCH_EXYNOS3
34	bool "SAMSUNG EXYNOS3"
35	select ARM_CPU_SUSPEND if PM
36	help
37	  Samsung EXYNOS3 (Cortex-A7) SoC based systems
38
39config ARCH_EXYNOS4
40	bool "SAMSUNG EXYNOS4"
41	default y
42	select ARM_CPU_SUSPEND if PM_SLEEP
43	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
44	select CPU_EXYNOS4210
45	select GIC_NON_BANKED
46	select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
47	select MIGHT_HAVE_CACHE_L2X0
48	help
49	  Samsung EXYNOS4 (Cortex-A9) SoC based systems
50
51config ARCH_EXYNOS5
52	bool "SAMSUNG EXYNOS5"
53	default y
54	help
55	  Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
56
57comment "EXYNOS SoCs"
58
59config SOC_EXYNOS3250
60	bool "SAMSUNG EXYNOS3250"
61	default y
62	depends on ARCH_EXYNOS3
63
64config CPU_EXYNOS4210
65	bool "SAMSUNG EXYNOS4210"
66	default y
67	depends on ARCH_EXYNOS4
68
69config SOC_EXYNOS4212
70	bool "SAMSUNG EXYNOS4212"
71	default y
72	depends on ARCH_EXYNOS4
73
74config SOC_EXYNOS4412
75	bool "SAMSUNG EXYNOS4412"
76	default y
77	depends on ARCH_EXYNOS4
78
79config SOC_EXYNOS4415
80	bool "SAMSUNG EXYNOS4415"
81	default y
82	depends on ARCH_EXYNOS4
83
84config SOC_EXYNOS5250
85	bool "SAMSUNG EXYNOS5250"
86	default y
87	depends on ARCH_EXYNOS5
88
89config SOC_EXYNOS5260
90	bool "SAMSUNG EXYNOS5260"
91	default y
92	depends on ARCH_EXYNOS5
93
94config SOC_EXYNOS5410
95	bool "SAMSUNG EXYNOS5410"
96	default y
97	depends on ARCH_EXYNOS5
98
99config SOC_EXYNOS5420
100	bool "SAMSUNG EXYNOS5420"
101	default y
102	depends on ARCH_EXYNOS5
103
104config SOC_EXYNOS5440
105	bool "SAMSUNG EXYNOS5440"
106	default y
107	depends on ARCH_EXYNOS5
108	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
109	select HAVE_ARM_ARCH_TIMER
110	select AUTO_ZRELADDR
111	select MIGHT_HAVE_PCI
112	select PCI_DOMAINS if PCI
113	select PINCTRL_EXYNOS5440
114	select PM_OPP
115	help
116	  Enable EXYNOS5440 SoC support
117
118config SOC_EXYNOS5800
119	bool "SAMSUNG EXYNOS5800"
120	default y
121	depends on SOC_EXYNOS5420
122
123config EXYNOS5420_MCPM
124	bool "Exynos5420 Multi-Cluster PM support"
125	depends on MCPM && SOC_EXYNOS5420
126	select ARM_CCI400_PORT_CTRL
127	select ARM_CPU_SUSPEND
128	help
129	  This is needed to provide CPU and cluster power management
130	  on Exynos5420 implementing big.LITTLE.
131
132config EXYNOS_CPU_SUSPEND
133	bool
134	select ARM_CPU_SUSPEND
135	default PM_SLEEP || ARM_EXYNOS_CPUIDLE
136
137endif
138