xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision 0edbfea5)
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 EXYNOS_SROM
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 KEYBOARD_SAMSUNG if INPUT_KEYBOARD
65	select MIGHT_HAVE_CACHE_L2X0
66	help
67	  Samsung EXYNOS4 (Cortex-A9) SoC based systems
68
69config ARCH_EXYNOS5
70	bool "SAMSUNG EXYNOS5"
71	default y
72	help
73	  Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
74
75comment "EXYNOS SoCs"
76
77config SOC_EXYNOS3250
78	bool "SAMSUNG EXYNOS3250"
79	default y
80	depends on ARCH_EXYNOS3
81
82config CPU_EXYNOS4210
83	bool "SAMSUNG EXYNOS4210"
84	default y
85	depends on ARCH_EXYNOS4
86
87config SOC_EXYNOS4212
88	bool "SAMSUNG EXYNOS4212"
89	default y
90	depends on ARCH_EXYNOS4
91
92config SOC_EXYNOS4412
93	bool "SAMSUNG EXYNOS4412"
94	default y
95	depends on ARCH_EXYNOS4
96
97config SOC_EXYNOS4415
98	bool "SAMSUNG EXYNOS4415"
99	default y
100	depends on ARCH_EXYNOS4
101
102config SOC_EXYNOS5250
103	bool "SAMSUNG EXYNOS5250"
104	default y
105	depends on ARCH_EXYNOS5
106
107config SOC_EXYNOS5260
108	bool "SAMSUNG EXYNOS5260"
109	default y
110	depends on ARCH_EXYNOS5
111
112config SOC_EXYNOS5410
113	bool "SAMSUNG EXYNOS5410"
114	default y
115	depends on ARCH_EXYNOS5
116
117config SOC_EXYNOS5420
118	bool "SAMSUNG EXYNOS5420"
119	default y
120	depends on ARCH_EXYNOS5
121
122config SOC_EXYNOS5440
123	bool "SAMSUNG EXYNOS5440"
124	default y
125	depends on ARCH_EXYNOS5
126	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
127	select HAVE_ARM_ARCH_TIMER
128	select AUTO_ZRELADDR
129	select MIGHT_HAVE_PCI
130	select PCI_DOMAINS if PCI
131	select PINCTRL_EXYNOS5440
132	select PM_OPP
133	help
134	  Enable EXYNOS5440 SoC support
135
136config SOC_EXYNOS5800
137	bool "SAMSUNG EXYNOS5800"
138	default y
139	depends on SOC_EXYNOS5420
140
141config EXYNOS5420_MCPM
142	bool "Exynos5420 Multi-Cluster PM support"
143	depends on MCPM && SOC_EXYNOS5420
144	select ARM_CCI400_PORT_CTRL
145	select ARM_CPU_SUSPEND
146	help
147	  This is needed to provide CPU and cluster power management
148	  on Exynos5420 implementing big.LITTLE.
149
150config EXYNOS_CPU_SUSPEND
151	bool
152	select ARM_CPU_SUSPEND
153	default PM_SLEEP || ARM_EXYNOS_CPUIDLE
154
155endif
156