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