blob: 4c4858c566d8c6e22a8dba63b967d85708a08516 [file] [log] [blame]
Kukjin Kim83014572011-11-06 13:54:56 +09001# arch/arm/mach-exynos/Kconfig
Kukjin Kim10606aa2011-02-14 15:05:27 +09002#
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
Rob Herring21278ae2014-06-10 09:06:10 -050010menuconfig ARCH_EXYNOS
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +090011 bool "Samsung EXYNOS" if ARCH_MULTI_V7
12 select ARCH_HAS_BANDGAP
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +090013 select ARCH_HAS_HOLES_MEMORYMODEL
14 select ARCH_REQUIRE_GPIOLIB
15 select ARM_AMBA
16 select ARM_GIC
17 select COMMON_CLK_SAMSUNG
18 select HAVE_ARM_SCU if SMP
19 select HAVE_S3C2410_I2C if I2C
20 select HAVE_S3C2410_WATCHDOG if WATCHDOG
21 select HAVE_S3C_RTC if RTC_CLASS
22 select PINCTRL
23 select PINCTRL_EXYNOS
Rafael J. Wysocki1b3e3aa2014-12-13 00:44:04 +010024 select PM_GENERIC_DOMAINS if PM
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +090025 select S5P_DEV_MFC
26 select SRAM
Pankaj Dubey14fc8b92014-11-07 09:26:40 +090027 select MFD_SYSCON
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +090028 help
29 Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
30
Kukjin Kim83014572011-11-06 13:54:56 +090031if ARCH_EXYNOS
32
Kukjin Kimb93b3152015-07-30 01:48:17 +090033config S5P_DEV_MFC
34 bool
35 help
36 Compile in setup memory (init) code for MFC
37
Chanwoo Choi940bc582014-05-26 04:12:26 +090038config ARCH_EXYNOS3
39 bool "SAMSUNG EXYNOS3"
Sachin Kamat9a101322014-05-26 05:58:42 +090040 select ARM_CPU_SUSPEND if PM
Chanwoo Choi940bc582014-05-26 04:12:26 +090041 help
Ian Campbell52b6a8f2014-09-14 20:24:10 +010042 Samsung EXYNOS3 (Cortex-A7) SoC based systems
Chanwoo Choi940bc582014-05-26 04:12:26 +090043
Kukjin Kim83014572011-11-06 13:54:56 +090044config ARCH_EXYNOS4
45 bool "SAMSUNG EXYNOS4"
Kukjin Kim23f16c72012-03-13 07:44:39 -070046 default y
Sachin Kamat9a101322014-05-26 05:58:42 +090047 select ARM_CPU_SUSPEND if PM_SLEEP
Bartlomiej Zolnierkiewiczae3c5d72013-10-08 07:02:12 +090048 select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
49 select CPU_EXYNOS4210
Tomasz Figae245f962013-06-19 01:26:42 +090050 select GIC_NON_BANKED
Bartlomiej Zolnierkiewiczae3c5d72013-10-08 07:02:12 +090051 select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
Dave Martince5ea9f2011-11-29 15:56:19 +000052 select MIGHT_HAVE_CACHE_L2X0
Kukjin Kim83014572011-11-06 13:54:56 +090053 help
Sachin Kamat9a101322014-05-26 05:58:42 +090054 Samsung EXYNOS4 (Cortex-A9) SoC based systems
Kukjin Kim83014572011-11-06 13:54:56 +090055
Kukjin Kim23f16c72012-03-13 07:44:39 -070056config ARCH_EXYNOS5
57 bool "SAMSUNG EXYNOS5"
Sachin Kamat9a101322014-05-26 05:58:42 +090058 default y
Kukjin Kim23f16c72012-03-13 07:44:39 -070059 help
Sachin Kamat9a101322014-05-26 05:58:42 +090060 Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
Kukjin Kim83014572011-11-06 13:54:56 +090061
62comment "EXYNOS SoCs"
Kukjin Kim10606aa2011-02-14 15:05:27 +090063
Chanwoo Choi940bc582014-05-26 04:12:26 +090064config SOC_EXYNOS3250
65 bool "SAMSUNG EXYNOS3250"
66 default y
67 depends on ARCH_EXYNOS3
Chanwoo Choi940bc582014-05-26 04:12:26 +090068
Kukjin Kim10606aa2011-02-14 15:05:27 +090069config CPU_EXYNOS4210
Kukjin Kim83014572011-11-06 13:54:56 +090070 bool "SAMSUNG EXYNOS4210"
71 default y
72 depends on ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +090073
Kukjin Kim68465382011-08-24 17:25:09 +090074config SOC_EXYNOS4212
Kukjin Kim83014572011-11-06 13:54:56 +090075 bool "SAMSUNG EXYNOS4212"
76 default y
77 depends on ARCH_EXYNOS4
Kukjin Kim68465382011-08-24 17:25:09 +090078
Changhwan Youne6a275a2011-10-04 17:08:56 +090079config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090080 bool "SAMSUNG EXYNOS4412"
81 default y
82 depends on ARCH_EXYNOS4
Changhwan Youne6a275a2011-10-04 17:08:56 +090083
Chanwoo Choic0adae92014-11-07 08:20:09 +090084config SOC_EXYNOS4415
85 bool "SAMSUNG EXYNOS4415"
86 default y
87 depends on ARCH_EXYNOS4
88
Kukjin Kim23f16c72012-03-13 07:44:39 -070089config SOC_EXYNOS5250
90 bool "SAMSUNG EXYNOS5250"
91 default y
92 depends on ARCH_EXYNOS5
Kukjin Kim23f16c72012-03-13 07:44:39 -070093
Pankaj Dubeyed08f102014-05-26 04:28:17 +090094config SOC_EXYNOS5260
95 bool "SAMSUNG EXYNOS5260"
96 default y
97 depends on ARCH_EXYNOS5
98
Tarek Dakhran723c9c72014-05-27 06:54:12 +090099config SOC_EXYNOS5410
100 bool "SAMSUNG EXYNOS5410"
101 default y
102 depends on ARCH_EXYNOS5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900103
Chander Kashyap191d7542013-06-19 00:29:34 +0900104config SOC_EXYNOS5420
105 bool "SAMSUNG EXYNOS5420"
106 default y
107 depends on ARCH_EXYNOS5
Chander Kashyap191d7542013-06-19 00:29:34 +0900108
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900109config SOC_EXYNOS5440
110 bool "SAMSUNG EXYNOS5440"
111 default y
112 depends on ARCH_EXYNOS5
Thomas Abrahamcfaf8ee2013-07-16 12:42:59 +0900113 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
Mark Rutlandfb521a02013-03-20 13:57:38 +0000114 select HAVE_ARM_ARCH_TIMER
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900115 select AUTO_ZRELADDR
Jingoo Han3f06d152013-06-21 16:25:29 +0900116 select MIGHT_HAVE_PCI
117 select PCI_DOMAINS if PCI
Kukjin Kimb2318482012-12-27 09:19:08 -0800118 select PINCTRL_EXYNOS5440
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +0000119 select PM_OPP
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900120 help
121 Enable EXYNOS5440 SoC support
122
Arun Kumar K86c6f142014-05-26 04:16:11 +0900123config SOC_EXYNOS5800
124 bool "SAMSUNG EXYNOS5800"
125 default y
126 depends on SOC_EXYNOS5420
127
Abhilash Kesavanccf55112014-05-16 04:26:30 +0900128config EXYNOS5420_MCPM
129 bool "Exynos5420 Multi-Cluster PM support"
130 depends on MCPM && SOC_EXYNOS5420
Suzuki K. Pouloseee8e5d52015-03-18 12:24:41 +0000131 select ARM_CCI400_PORT_CTRL
Krzysztof Kozlowskiee2593e2014-07-14 13:59:03 +0100132 select ARM_CPU_SUSPEND
Abhilash Kesavanccf55112014-05-16 04:26:30 +0900133 help
134 This is needed to provide CPU and cluster power management
135 on Exynos5420 implementing big.LITTLE.
136
Bartlomiej Zolnierkiewicz0d713cf2014-09-25 18:02:45 +0900137config EXYNOS_CPU_SUSPEND
138 bool
139 select ARM_CPU_SUSPEND
140 default PM_SLEEP || ARM_EXYNOS_CPUIDLE
141
Kukjin Kim10606aa2011-02-14 15:05:27 +0900142endif