2017-12-25 22:54:31 +03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2010-07-16 07:15:38 +04:00
|
|
|
#
|
2011-02-14 09:05:27 +03:00
|
|
|
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
|
2010-07-16 07:15:38 +04:00
|
|
|
# http://www.samsung.com/
|
|
|
|
|
2020-01-04 18:20:51 +03:00
|
|
|
# Configuration options for the Samsung Exynos
|
2010-07-16 07:15:38 +04:00
|
|
|
|
2014-06-10 18:06:10 +04:00
|
|
|
menuconfig ARCH_EXYNOS
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos"
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 06:06:10 +03:00
|
|
|
depends on ARCH_MULTI_V7
|
2016-06-21 13:20:26 +03:00
|
|
|
select ARCH_SUPPORTS_BIG_ENDIAN
|
2014-05-26 01:09:57 +04:00
|
|
|
select ARM_AMBA
|
|
|
|
select ARM_GIC
|
2019-12-25 00:11:07 +03:00
|
|
|
select EXYNOS_IRQ_COMBINER
|
2014-05-26 01:09:57 +04:00
|
|
|
select COMMON_CLK_SAMSUNG
|
2015-08-12 01:41:11 +03:00
|
|
|
select EXYNOS_THERMAL
|
2015-12-18 06:32:16 +03:00
|
|
|
select EXYNOS_PMU
|
2016-04-11 10:42:27 +03:00
|
|
|
select EXYNOS_SROM
|
2016-05-10 17:31:26 +03:00
|
|
|
select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
|
2016-06-02 15:10:16 +03:00
|
|
|
select GPIOLIB
|
2020-01-25 01:37:15 +03:00
|
|
|
select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5
|
2014-05-26 01:09:57 +04:00
|
|
|
select HAVE_ARM_SCU if SMP
|
|
|
|
select PINCTRL
|
|
|
|
select PINCTRL_EXYNOS
|
2014-12-13 02:44:04 +03:00
|
|
|
select PM_GENERIC_DOMAINS if PM
|
2014-05-26 01:09:57 +04:00
|
|
|
select S5P_DEV_MFC
|
2016-04-11 10:42:26 +03:00
|
|
|
select SAMSUNG_MC
|
2015-12-18 06:32:16 +03:00
|
|
|
select SOC_SAMSUNG
|
2014-05-26 01:09:57 +04:00
|
|
|
select SRAM
|
2015-08-12 01:41:11 +03:00
|
|
|
select THERMAL
|
2016-01-29 17:50:38 +03:00
|
|
|
select THERMAL_OF
|
2014-11-07 03:26:40 +03:00
|
|
|
select MFD_SYSCON
|
2016-04-11 10:42:26 +03:00
|
|
|
select MEMORY
|
2015-11-01 23:51:30 +03:00
|
|
|
select CLKSRC_EXYNOS_MCT
|
2015-11-20 08:17:09 +03:00
|
|
|
select POWER_RESET
|
|
|
|
select POWER_RESET_SYSCON
|
|
|
|
select POWER_RESET_SYSCON_POWEROFF
|
2014-05-26 01:09:57 +04:00
|
|
|
help
|
2020-01-04 18:20:51 +03:00
|
|
|
Support for Samsung Exynos SoCs
|
2014-05-26 01:09:57 +04:00
|
|
|
|
2011-11-06 08:54:56 +04:00
|
|
|
if ARCH_EXYNOS
|
|
|
|
|
2015-07-29 19:48:17 +03:00
|
|
|
config S5P_DEV_MFC
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Compile in setup memory (init) code for MFC
|
|
|
|
|
2014-05-25 23:12:26 +04:00
|
|
|
config ARCH_EXYNOS3
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos3"
|
2019-04-29 20:36:19 +03:00
|
|
|
default y
|
2014-05-26 00:58:42 +04:00
|
|
|
select ARM_CPU_SUSPEND if PM
|
2014-05-25 23:12:26 +04:00
|
|
|
help
|
2020-01-04 18:20:51 +03:00
|
|
|
Samsung Exynos3 (Cortex-A7) SoC based systems
|
2014-05-25 23:12:26 +04:00
|
|
|
|
2011-11-06 08:54:56 +04:00
|
|
|
config ARCH_EXYNOS4
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos4"
|
2012-03-13 18:44:39 +04:00
|
|
|
default y
|
2014-05-26 00:58:42 +04:00
|
|
|
select ARM_CPU_SUSPEND if PM_SLEEP
|
2013-10-08 02:02:12 +04:00
|
|
|
select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
|
|
|
|
select CPU_EXYNOS4210
|
2013-06-18 20:26:42 +04:00
|
|
|
select GIC_NON_BANKED
|
2011-11-06 08:54:56 +04:00
|
|
|
help
|
2020-01-04 18:20:51 +03:00
|
|
|
Samsung Exynos4 (Cortex-A9) SoC based systems
|
2011-11-06 08:54:56 +04:00
|
|
|
|
2012-03-13 18:44:39 +04:00
|
|
|
config ARCH_EXYNOS5
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos5"
|
2014-05-26 00:58:42 +04:00
|
|
|
default y
|
2012-03-13 18:44:39 +04:00
|
|
|
help
|
2020-01-04 18:20:51 +03:00
|
|
|
Samsung Exynos5 (Cortex-A15/A7) SoC based systems
|
2011-11-06 08:54:56 +04:00
|
|
|
|
2020-01-04 18:20:51 +03:00
|
|
|
comment "Exynos SoCs"
|
2010-07-16 07:15:38 +04:00
|
|
|
|
2014-05-25 23:12:26 +04:00
|
|
|
config SOC_EXYNOS3250
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos3250"
|
2014-05-25 23:12:26 +04:00
|
|
|
default y
|
|
|
|
depends on ARCH_EXYNOS3
|
|
|
|
|
2011-02-14 09:05:27 +03:00
|
|
|
config CPU_EXYNOS4210
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos4210"
|
2011-11-06 08:54:56 +04:00
|
|
|
default y
|
|
|
|
depends on ARCH_EXYNOS4
|
2010-07-16 07:15:38 +04:00
|
|
|
|
2011-10-04 12:08:56 +04:00
|
|
|
config SOC_EXYNOS4412
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos4412"
|
2011-11-06 08:54:56 +04:00
|
|
|
default y
|
|
|
|
depends on ARCH_EXYNOS4
|
2011-10-04 12:08:56 +04:00
|
|
|
|
2012-03-13 18:44:39 +04:00
|
|
|
config SOC_EXYNOS5250
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos5250"
|
2012-03-13 18:44:39 +04:00
|
|
|
default y
|
|
|
|
depends on ARCH_EXYNOS5
|
|
|
|
|
2014-05-25 23:28:17 +04:00
|
|
|
config SOC_EXYNOS5260
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos5260"
|
2014-05-25 23:28:17 +04:00
|
|
|
default y
|
|
|
|
depends on ARCH_EXYNOS5
|
|
|
|
|
2014-05-27 01:54:12 +04:00
|
|
|
config SOC_EXYNOS5410
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos5410"
|
2014-05-27 01:54:12 +04:00
|
|
|
default y
|
|
|
|
depends on ARCH_EXYNOS5
|
2012-03-13 18:44:39 +04:00
|
|
|
|
2013-06-18 19:29:34 +04:00
|
|
|
config SOC_EXYNOS5420
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung Exynos5420"
|
2013-06-18 19:29:34 +04:00
|
|
|
default y
|
|
|
|
depends on ARCH_EXYNOS5
|
2019-06-19 15:55:29 +03:00
|
|
|
select EXYNOS_MCPM if SMP
|
2019-04-09 12:56:02 +03:00
|
|
|
select ARM_CCI400_PORT_CTRL
|
|
|
|
select ARM_CPU_SUSPEND
|
2013-06-18 19:29:34 +04:00
|
|
|
|
2014-05-25 23:16:11 +04:00
|
|
|
config SOC_EXYNOS5800
|
2020-01-04 18:20:51 +03:00
|
|
|
bool "Samsung EXYNOS5800"
|
2014-05-25 23:16:11 +04:00
|
|
|
default y
|
|
|
|
depends on SOC_EXYNOS5420
|
2020-07-21 21:09:00 +03:00
|
|
|
select EXYNOS_REGULATOR_COUPLER
|
2014-05-25 23:16:11 +04:00
|
|
|
|
2019-06-19 15:55:29 +03:00
|
|
|
config EXYNOS_MCPM
|
|
|
|
bool
|
|
|
|
select MCPM
|
|
|
|
|
2014-09-25 13:02:45 +04:00
|
|
|
config EXYNOS_CPU_SUSPEND
|
|
|
|
bool
|
|
|
|
select ARM_CPU_SUSPEND
|
|
|
|
default PM_SLEEP || ARM_EXYNOS_CPUIDLE
|
|
|
|
|
2010-07-16 07:15:38 +04:00
|
|
|
endif
|