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 | |||||
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 10 | if ARCH_EXYNOS |
11 | |||||
12 | menu "SAMSUNG EXYNOS SoCs Support" | ||||
13 | |||||
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 14 | config ARCH_EXYNOS4 |
15 | bool "SAMSUNG EXYNOS4" | ||||
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 16 | default y |
Tomasz Figa | e245f96 | 2013-06-19 01:26:42 +0900 | [diff] [blame] | 17 | select GIC_NON_BANKED |
Stephen Boyd | 4c3ffff | 2013-02-27 15:28:14 -0800 | [diff] [blame] | 18 | select HAVE_ARM_SCU if SMP |
Dave Martin | 3b55658 | 2011-12-07 15:38:04 +0000 | [diff] [blame] | 19 | select HAVE_SMP |
Dave Martin | ce5ea9f | 2011-11-29 15:56:19 +0000 | [diff] [blame] | 20 | select MIGHT_HAVE_CACHE_L2X0 |
Doug Anderson | 8397825 | 2013-06-10 18:26:53 +0900 | [diff] [blame] | 21 | select PINCTRL |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 22 | help |
23 | Samsung EXYNOS4 SoCs based systems | ||||
24 | |||||
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 25 | config ARCH_EXYNOS5 |
26 | bool "SAMSUNG EXYNOS5" | ||||
Stephen Boyd | 4c3ffff | 2013-02-27 15:28:14 -0800 | [diff] [blame] | 27 | select HAVE_ARM_SCU if SMP |
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 28 | select HAVE_SMP |
Doug Anderson | 8397825 | 2013-06-10 18:26:53 +0900 | [diff] [blame] | 29 | select PINCTRL |
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 30 | help |
31 | Samsung EXYNOS5 (Cortex-A15) SoC based systems | ||||
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 32 | |
33 | comment "EXYNOS SoCs" | ||||
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 34 | |
35 | config CPU_EXYNOS4210 | ||||
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 36 | bool "SAMSUNG EXYNOS4210" |
37 | default y | ||||
38 | depends on ARCH_EXYNOS4 | ||||
Arnd Bergmann | 15e0d9e | 2011-10-01 21:09:39 +0200 | [diff] [blame] | 39 | select ARM_CPU_SUSPEND if PM |
Doug Anderson | 8397825 | 2013-06-10 18:26:53 +0900 | [diff] [blame] | 40 | select PINCTRL_EXYNOS |
Arnd Bergmann | c1fe55e | 2013-06-17 09:56:42 +0200 | [diff] [blame] | 41 | select PM_GENERIC_DOMAINS if PM |
Abhilash Kesavan | 0da3bead | 2011-10-04 20:25:51 +0900 | [diff] [blame] | 42 | select S5P_PM if PM |
Abhilash Kesavan | e2e1362 | 2011-10-04 20:25:51 +0900 | [diff] [blame] | 43 | select S5P_SLEEP if PM |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 44 | select SAMSUNG_DMADEV |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 45 | help |
46 | Enable EXYNOS4210 CPU support | ||||
47 | |||||
Kukjin Kim | 6846538 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 48 | config SOC_EXYNOS4212 |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 49 | bool "SAMSUNG EXYNOS4212" |
50 | default y | ||||
51 | depends on ARCH_EXYNOS4 | ||||
Doug Anderson | 8397825 | 2013-06-10 18:26:53 +0900 | [diff] [blame] | 52 | select PINCTRL_EXYNOS |
Abhilash Kesavan | 0da3bead | 2011-10-04 20:25:51 +0900 | [diff] [blame] | 53 | select S5P_PM if PM |
Abhilash Kesavan | e2e1362 | 2011-10-04 20:25:51 +0900 | [diff] [blame] | 54 | select S5P_SLEEP if PM |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 55 | select SAMSUNG_DMADEV |
Kukjin Kim | 6846538 | 2011-08-24 17:25:09 +0900 | [diff] [blame] | 56 | help |
57 | Enable EXYNOS4212 SoC support | ||||
58 | |||||
Changhwan Youn | e6a275a | 2011-10-04 17:08:56 +0900 | [diff] [blame] | 59 | config SOC_EXYNOS4412 |
Kukjin Kim | 8301457 | 2011-11-06 13:54:56 +0900 | [diff] [blame] | 60 | bool "SAMSUNG EXYNOS4412" |
61 | default y | ||||
62 | depends on ARCH_EXYNOS4 | ||||
Doug Anderson | 8397825 | 2013-06-10 18:26:53 +0900 | [diff] [blame] | 63 | select PINCTRL_EXYNOS |
Boojin Kim | efd9960 | 2012-02-15 13:16:15 +0900 | [diff] [blame] | 64 | select SAMSUNG_DMADEV |
Changhwan Youn | e6a275a | 2011-10-04 17:08:56 +0900 | [diff] [blame] | 65 | help |
66 | Enable EXYNOS4412 SoC support | ||||
67 | |||||
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 68 | config SOC_EXYNOS5250 |
69 | bool "SAMSUNG EXYNOS5250" | ||||
70 | default y | ||||
71 | depends on ARCH_EXYNOS5 | ||||
Doug Anderson | 8397825 | 2013-06-10 18:26:53 +0900 | [diff] [blame] | 72 | select PINCTRL_EXYNOS |
Prasanna Kumar | 6f9e95e | 2013-02-12 15:27:43 -0800 | [diff] [blame] | 73 | select PM_GENERIC_DOMAINS if PM |
Jongpill Lee | 60e49ca | 2012-02-17 12:23:51 +0900 | [diff] [blame] | 74 | select S5P_PM if PM |
75 | select S5P_SLEEP if PM | ||||
Arun Kumar K | 2eae613 | 2012-10-23 22:51:33 +0900 | [diff] [blame] | 76 | select S5P_DEV_MFC |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 77 | select SAMSUNG_DMADEV |
Kukjin Kim | 23f16c7 | 2012-03-13 07:44:39 -0700 | [diff] [blame] | 78 | help |
79 | Enable EXYNOS5250 SoC support | ||||
80 | |||||
Chander Kashyap | 191d754 | 2013-06-19 00:29:34 +0900 | [diff] [blame] | 81 | config SOC_EXYNOS5420 |
82 | bool "SAMSUNG EXYNOS5420" | ||||
83 | default y | ||||
84 | depends on ARCH_EXYNOS5 | ||||
85 | select PM_GENERIC_DOMAINS if PM | ||||
86 | select S5P_PM if PM | ||||
87 | select S5P_SLEEP if PM | ||||
88 | help | ||||
89 | Enable EXYNOS5420 SoC support | ||||
90 | |||||
Kukjin Kim | 2edb36c | 2012-11-15 15:48:56 +0900 | [diff] [blame] | 91 | config SOC_EXYNOS5440 |
92 | bool "SAMSUNG EXYNOS5440" | ||||
93 | default y | ||||
94 | depends on ARCH_EXYNOS5 | ||||
Thomas Abraham | cfaf8ee | 2013-07-16 12:42:59 +0900 | [diff] [blame] | 95 | select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE |
Amit Daniel Kachhap | 64649dc | 2013-04-08 08:17:37 +0000 | [diff] [blame] | 96 | select ARCH_HAS_OPP |
Mark Rutland | fb521a0 | 2013-03-20 13:57:38 +0000 | [diff] [blame] | 97 | select HAVE_ARM_ARCH_TIMER |
Kukjin Kim | 2edb36c | 2012-11-15 15:48:56 +0900 | [diff] [blame] | 98 | select AUTO_ZRELADDR |
Jingoo Han | 3f06d15 | 2013-06-21 16:25:29 +0900 | [diff] [blame] | 99 | select MIGHT_HAVE_PCI |
100 | select PCI_DOMAINS if PCI | ||||
Kukjin Kim | b231848 | 2012-12-27 09:19:08 -0800 | [diff] [blame] | 101 | select PINCTRL_EXYNOS5440 |
Amit Daniel Kachhap | 64649dc | 2013-04-08 08:17:37 +0000 | [diff] [blame] | 102 | select PM_OPP |
Kukjin Kim | 2edb36c | 2012-11-15 15:48:56 +0900 | [diff] [blame] | 103 | help |
104 | Enable EXYNOS5440 SoC support | ||||
105 | |||||
Kukjin Kim | b3e68fb | 2012-02-10 13:13:15 +0900 | [diff] [blame] | 106 | comment "Flattened Device Tree based board for EXYNOS SoCs" |
Thomas Abraham | 6b5ab4f | 2011-11-06 21:54:27 +0530 | [diff] [blame] | 107 | |
108 | config MACH_EXYNOS4_DT | ||||
109 | bool "Samsung Exynos4 Machine using device tree" | ||||
Kukjin Kim | 383ffda | 2013-06-10 18:15:23 +0900 | [diff] [blame] | 110 | default y |
Sachin Kamat | 5ad1430 | 2012-04-14 07:53:51 -0700 | [diff] [blame] | 111 | depends on ARCH_EXYNOS4 |
Thomas Abraham | 6b5ab4f | 2011-11-06 21:54:27 +0530 | [diff] [blame] | 112 | select ARM_AMBA |
Thomas Abraham | 9fbf0c8 | 2013-03-09 16:10:03 +0900 | [diff] [blame] | 113 | select CLKSRC_OF |
Tomasz Figa | 68a433f | 2013-05-25 06:27:29 +0900 | [diff] [blame] | 114 | select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210 |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 115 | select CPU_EXYNOS4210 |
Paul Bolle | 49b9997 | 2013-03-13 19:59:32 +0900 | [diff] [blame] | 116 | select KEYBOARD_SAMSUNG if INPUT_KEYBOARD |
Sachin Kamat | 20901f7 | 2013-02-08 13:58:17 -0800 | [diff] [blame] | 117 | select S5P_DEV_MFC |
Thomas Abraham | 6b5ab4f | 2011-11-06 21:54:27 +0530 | [diff] [blame] | 118 | help |
119 | Machine support for Samsung Exynos4 machine with device tree enabled. | ||||
120 | Select this if a fdt blob is available for the Exynos4 SoC based board. | ||||
121 | Note: This is under development and not all peripherals can be supported | ||||
122 | with this machine file. | ||||
123 | |||||
Kukjin Kim | b3e68fb | 2012-02-10 13:13:15 +0900 | [diff] [blame] | 124 | config MACH_EXYNOS5_DT |
125 | bool "SAMSUNG EXYNOS5 Machine using device tree" | ||||
Kukjin Kim | 2edb36c | 2012-11-15 15:48:56 +0900 | [diff] [blame] | 126 | default y |
Sachin Kamat | 5ad1430 | 2012-04-14 07:53:51 -0700 | [diff] [blame] | 127 | depends on ARCH_EXYNOS5 |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 128 | select ARM_AMBA |
Thomas Abraham | 9fbf0c8 | 2013-03-09 16:10:03 +0900 | [diff] [blame] | 129 | select CLKSRC_OF |
Vivek Gautam | 0240d56 | 2013-04-10 19:38:41 +0900 | [diff] [blame] | 130 | select USB_ARCH_HAS_XHCI |
Kukjin Kim | b3e68fb | 2012-02-10 13:13:15 +0900 | [diff] [blame] | 131 | help |
Sachin Kamat | 859a09e | 2012-08-28 11:40:06 -0700 | [diff] [blame] | 132 | Machine support for Samsung EXYNOS5 machine with device tree enabled. |
133 | Select this if a fdt blob is available for the EXYNOS5 SoC based board. | ||||
Kukjin Kim | b3e68fb | 2012-02-10 13:13:15 +0900 | [diff] [blame] | 134 | |
Kukjin Kim | 10606aa | 2011-02-14 15:05:27 +0900 | [diff] [blame] | 135 | endmenu |
136 | |||||
137 | endif |