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