Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 1 | # arch/arm/mach-exynos/Kconfig |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 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 | |
Rob Herring | 21278ae | 2014-06-10 09:06:10 -0500 | [diff] [blame] | 10 | menuconfig ARCH_EXYNOS |
Arnd Bergmann | 9dfa92e | 2014-05-26 06:09:57 +0900 | [diff] [blame] | 11 | bool "Samsung EXYNOS" if ARCH_MULTI_V7 |
| 12 | select ARCH_HAS_BANDGAP |
Arnd Bergmann | 9dfa92e | 2014-05-26 06:09:57 +0900 | [diff] [blame] | 13 | 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. Wysocki | 1b3e3aa | 2014-12-13 00:44:04 +0100 | [diff] [blame] | 24 | select PM_GENERIC_DOMAINS if PM |
Arnd Bergmann | 9dfa92e | 2014-05-26 06:09:57 +0900 | [diff] [blame] | 25 | select S5P_DEV_MFC |
| 26 | select SRAM |
Pankaj Dubey | 14fc8b9 | 2014-11-07 09:26:40 +0900 | [diff] [blame] | 27 | select MFD_SYSCON |
Arnd Bergmann | 9dfa92e | 2014-05-26 06:09:57 +0900 | [diff] [blame] | 28 | help |
| 29 | Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5) |
| 30 | |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 31 | if ARCH_EXYNOS |
| 32 | |
Kukjin Kim | b93b315 | 2015-07-30 01:48:17 +0900 | [diff] [blame] | 33 | config S5P_DEV_MFC |
| 34 | bool |
| 35 | help |
| 36 | Compile in setup memory (init) code for MFC |
| 37 | |
Chanwoo Choi | 940bc58 | 2014-05-26 04:12:26 +0900 | [diff] [blame] | 38 | config ARCH_EXYNOS3 |
| 39 | bool "SAMSUNG EXYNOS3" |
Sachin Kamat | 9a10132 | 2014-05-26 05:58:42 +0900 | [diff] [blame] | 40 | select ARM_CPU_SUSPEND if PM |
Chanwoo Choi | 940bc58 | 2014-05-26 04:12:26 +0900 | [diff] [blame] | 41 | help |
Ian Campbell | 52b6a8f | 2014-09-14 20:24:10 +0100 | [diff] [blame] | 42 | Samsung EXYNOS3 (Cortex-A7) SoC based systems |
Chanwoo Choi | 940bc58 | 2014-05-26 04:12:26 +0900 | [diff] [blame] | 43 | |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 44 | config ARCH_EXYNOS4 |
| 45 | bool "SAMSUNG EXYNOS4" |
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 46 | default y |
Sachin Kamat | 9a10132 | 2014-05-26 05:58:42 +0900 | [diff] [blame] | 47 | select ARM_CPU_SUSPEND if PM_SLEEP |
Bartlomiej Zolnierkiewicz | ae3c5d7 | 2013-10-08 07:02:12 +0900 | [diff] [blame] | 48 | select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210 |
| 49 | select CPU_EXYNOS4210 |
Tomasz Figa | e245f96 | 2013-06-19 01:26:42 +0900 | [diff] [blame] | 50 | select GIC_NON_BANKED |
Bartlomiej Zolnierkiewicz | ae3c5d7 | 2013-10-08 07:02:12 +0900 | [diff] [blame] | 51 | select KEYBOARD_SAMSUNG if INPUT_KEYBOARD |
Dave Martin | ce5ea9f | 2011-11-29 15:56:19 +0000 | [diff] [blame] | 52 | select MIGHT_HAVE_CACHE_L2X0 |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 53 | help |
Sachin Kamat | 9a10132 | 2014-05-26 05:58:42 +0900 | [diff] [blame] | 54 | Samsung EXYNOS4 (Cortex-A9) SoC based systems |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 55 | |
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 56 | config ARCH_EXYNOS5 |
| 57 | bool "SAMSUNG EXYNOS5" |
Sachin Kamat | 9a10132 | 2014-05-26 05:58:42 +0900 | [diff] [blame] | 58 | default y |
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 59 | help |
Sachin Kamat | 9a10132 | 2014-05-26 05:58:42 +0900 | [diff] [blame] | 60 | Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 61 | |
| 62 | comment "EXYNOS SoCs" |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 63 | |
Chanwoo Choi | 940bc58 | 2014-05-26 04:12:26 +0900 | [diff] [blame] | 64 | config SOC_EXYNOS3250 |
| 65 | bool "SAMSUNG EXYNOS3250" |
| 66 | default y |
| 67 | depends on ARCH_EXYNOS3 |
Chanwoo Choi | 940bc58 | 2014-05-26 04:12:26 +0900 | [diff] [blame] | 68 | |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 69 | config CPU_EXYNOS4210 |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 70 | bool "SAMSUNG EXYNOS4210" |
| 71 | default y |
| 72 | depends on ARCH_EXYNOS4 |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 73 | |
Kukjin Kim | 6846538 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 74 | config SOC_EXYNOS4212 |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 75 | bool "SAMSUNG EXYNOS4212" |
| 76 | default y |
| 77 | depends on ARCH_EXYNOS4 |
Kukjin Kim | 6846538 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 78 | |
Changhwan Youn | e6a275a | 2011-10-04 17:08:56 +0900 | [diff] [blame] | 79 | config SOC_EXYNOS4412 |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 80 | bool "SAMSUNG EXYNOS4412" |
| 81 | default y |
| 82 | depends on ARCH_EXYNOS4 |
Changhwan Youn | e6a275a | 2011-10-04 17:08:56 +0900 | [diff] [blame] | 83 | |
Chanwoo Choi | c0adae9 | 2014-11-07 08:20:09 +0900 | [diff] [blame] | 84 | config SOC_EXYNOS4415 |
| 85 | bool "SAMSUNG EXYNOS4415" |
| 86 | default y |
| 87 | depends on ARCH_EXYNOS4 |
| 88 | |
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 89 | config SOC_EXYNOS5250 |
| 90 | bool "SAMSUNG EXYNOS5250" |
| 91 | default y |
| 92 | depends on ARCH_EXYNOS5 |
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 93 | |
Pankaj Dubey | ed08f10 | 2014-05-26 04:28:17 +0900 | [diff] [blame] | 94 | config SOC_EXYNOS5260 |
| 95 | bool "SAMSUNG EXYNOS5260" |
| 96 | default y |
| 97 | depends on ARCH_EXYNOS5 |
| 98 | |
Tarek Dakhran | 723c9c7 | 2014-05-27 06:54:12 +0900 | [diff] [blame] | 99 | config SOC_EXYNOS5410 |
| 100 | bool "SAMSUNG EXYNOS5410" |
| 101 | default y |
| 102 | depends on ARCH_EXYNOS5 |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 103 | |
Chander Kashyap | 191d754 | 2013-06-19 00:29:34 +0900 | [diff] [blame] | 104 | config SOC_EXYNOS5420 |
| 105 | bool "SAMSUNG EXYNOS5420" |
| 106 | default y |
| 107 | depends on ARCH_EXYNOS5 |
Chander Kashyap | 191d754 | 2013-06-19 00:29:34 +0900 | [diff] [blame] | 108 | |
Kukjin Kim | 2edb36c | 2012-11-15 15:48:56 +0900 | [diff] [blame] | 109 | config SOC_EXYNOS5440 |
| 110 | bool "SAMSUNG EXYNOS5440" |
| 111 | default y |
| 112 | depends on ARCH_EXYNOS5 |
Thomas Abraham | cfaf8ee | 2013-07-16 12:42:59 +0900 | [diff] [blame] | 113 | select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE |
Mark Rutland | fb521a0 | 2013-03-20 13:57:38 +0000 | [diff] [blame] | 114 | select HAVE_ARM_ARCH_TIMER |
Kukjin Kim | 2edb36c | 2012-11-15 15:48:56 +0900 | [diff] [blame] | 115 | select AUTO_ZRELADDR |
Jingoo Han | 3f06d15 | 2013-06-21 16:25:29 +0900 | [diff] [blame] | 116 | select MIGHT_HAVE_PCI |
| 117 | select PCI_DOMAINS if PCI |
Kukjin Kim | b231848 | 2012-12-27 09:19:08 -0800 | [diff] [blame] | 118 | select PINCTRL_EXYNOS5440 |
Amit Daniel Kachhap | 64649dc | 2013-04-08 08:17:37 +0000 | [diff] [blame] | 119 | select PM_OPP |
Kukjin Kim | 2edb36c | 2012-11-15 15:48:56 +0900 | [diff] [blame] | 120 | help |
| 121 | Enable EXYNOS5440 SoC support |
| 122 | |
Arun Kumar K | 86c6f14 | 2014-05-26 04:16:11 +0900 | [diff] [blame] | 123 | config SOC_EXYNOS5800 |
| 124 | bool "SAMSUNG EXYNOS5800" |
| 125 | default y |
| 126 | depends on SOC_EXYNOS5420 |
| 127 | |
Abhilash Kesavan | ccf5511 | 2014-05-16 04:26:30 +0900 | [diff] [blame] | 128 | config EXYNOS5420_MCPM |
| 129 | bool "Exynos5420 Multi-Cluster PM support" |
| 130 | depends on MCPM && SOC_EXYNOS5420 |
Suzuki K. Poulose | ee8e5d5 | 2015-03-18 12:24:41 +0000 | [diff] [blame] | 131 | select ARM_CCI400_PORT_CTRL |
Krzysztof Kozlowski | ee2593e | 2014-07-14 13:59:03 +0100 | [diff] [blame] | 132 | select ARM_CPU_SUSPEND |
Abhilash Kesavan | ccf5511 | 2014-05-16 04:26:30 +0900 | [diff] [blame] | 133 | help |
| 134 | This is needed to provide CPU and cluster power management |
| 135 | on Exynos5420 implementing big.LITTLE. |
| 136 | |
Bartlomiej Zolnierkiewicz | 0d713cf | 2014-09-25 18:02:45 +0900 | [diff] [blame] | 137 | config EXYNOS_CPU_SUSPEND |
| 138 | bool |
| 139 | select ARM_CPU_SUSPEND |
| 140 | default PM_SLEEP || ARM_EXYNOS_CPUIDLE |
| 141 | |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 142 | endif |