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