xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision a72594ca)
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_SUPPORTS_BIG_ENDIAN
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 EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
23	select GPIOLIB
24	select HAVE_ARM_SCU if SMP
25	select HAVE_S3C2410_I2C if I2C
26	select HAVE_S3C2410_WATCHDOG if WATCHDOG
27	select HAVE_S3C_RTC if RTC_CLASS
28	select PINCTRL
29	select PINCTRL_EXYNOS
30	select PM_GENERIC_DOMAINS if PM
31	select S5P_DEV_MFC
32	select SAMSUNG_MC
33	select SOC_SAMSUNG
34	select SRAM
35	select THERMAL
36	select THERMAL_OF
37	select MFD_SYSCON
38	select MEMORY
39	select CLKSRC_EXYNOS_MCT
40	select POWER_RESET
41	select POWER_RESET_SYSCON
42	select POWER_RESET_SYSCON_POWEROFF
43	help
44	  Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
45
46if ARCH_EXYNOS
47
48config S5P_DEV_MFC
49	bool
50	help
51	  Compile in setup memory (init) code for MFC
52
53config ARCH_EXYNOS3
54	bool "SAMSUNG EXYNOS3"
55	select ARM_CPU_SUSPEND if PM
56	help
57	  Samsung EXYNOS3 (Cortex-A7) SoC based systems
58
59config ARCH_EXYNOS4
60	bool "SAMSUNG EXYNOS4"
61	default y
62	select ARM_CPU_SUSPEND if PM_SLEEP
63	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
64	select CPU_EXYNOS4210
65	select GIC_NON_BANKED
66	select MIGHT_HAVE_CACHE_L2X0
67	help
68	  Samsung EXYNOS4 (Cortex-A9) SoC based systems
69
70config ARCH_EXYNOS5
71	bool "SAMSUNG EXYNOS5"
72	default y
73	help
74	  Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
75
76comment "EXYNOS SoCs"
77
78config SOC_EXYNOS3250
79	bool "SAMSUNG EXYNOS3250"
80	default y
81	depends on ARCH_EXYNOS3
82
83config CPU_EXYNOS4210
84	bool "SAMSUNG EXYNOS4210"
85	default y
86	depends on ARCH_EXYNOS4
87
88config SOC_EXYNOS4412
89	bool "SAMSUNG EXYNOS4412"
90	default y
91	depends on ARCH_EXYNOS4
92
93config SOC_EXYNOS5250
94	bool "SAMSUNG EXYNOS5250"
95	default y
96	depends on ARCH_EXYNOS5
97
98config SOC_EXYNOS5260
99	bool "SAMSUNG EXYNOS5260"
100	default y
101	depends on ARCH_EXYNOS5
102
103config SOC_EXYNOS5410
104	bool "SAMSUNG EXYNOS5410"
105	default y
106	depends on ARCH_EXYNOS5
107
108config SOC_EXYNOS5420
109	bool "SAMSUNG EXYNOS5420"
110	default y
111	depends on ARCH_EXYNOS5
112
113config SOC_EXYNOS5440
114	bool "SAMSUNG EXYNOS5440"
115	default y
116	depends on ARCH_EXYNOS5
117	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
118	select HAVE_ARM_ARCH_TIMER
119	select AUTO_ZRELADDR
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