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