xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision 8730046c)
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_EXYNOS4212
89	bool "SAMSUNG EXYNOS4212"
90	default y
91	depends on ARCH_EXYNOS4
92
93config SOC_EXYNOS4412
94	bool "SAMSUNG EXYNOS4412"
95	default y
96	depends on ARCH_EXYNOS4
97
98config SOC_EXYNOS4415
99	bool "SAMSUNG EXYNOS4415"
100	default y
101	depends on ARCH_EXYNOS4
102
103config SOC_EXYNOS5250
104	bool "SAMSUNG EXYNOS5250"
105	default y
106	depends on ARCH_EXYNOS5
107
108config SOC_EXYNOS5260
109	bool "SAMSUNG EXYNOS5260"
110	default y
111	depends on ARCH_EXYNOS5
112
113config SOC_EXYNOS5410
114	bool "SAMSUNG EXYNOS5410"
115	default y
116	depends on ARCH_EXYNOS5
117
118config SOC_EXYNOS5420
119	bool "SAMSUNG EXYNOS5420"
120	default y
121	depends on ARCH_EXYNOS5
122
123config SOC_EXYNOS5440
124	bool "SAMSUNG EXYNOS5440"
125	default y
126	depends on ARCH_EXYNOS5
127	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
128	select HAVE_ARM_ARCH_TIMER
129	select AUTO_ZRELADDR
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