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