1# SPDX-License-Identifier: GPL-2.0 2# 3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 4# http://www.samsung.com/ 5 6# Configuration options for the EXYNOS 7 8menuconfig ARCH_EXYNOS 9 bool "Samsung EXYNOS" 10 depends on ARCH_MULTI_V7 11 select ARCH_HAS_HOLES_MEMORYMODEL 12 select ARCH_SUPPORTS_BIG_ENDIAN 13 select ARM_AMBA 14 select ARM_GIC 15 select COMMON_CLK_SAMSUNG 16 select EXYNOS_CHIPID 17 select EXYNOS_THERMAL 18 select EXYNOS_PMU 19 select EXYNOS_SROM 20 select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS 21 select GPIOLIB 22 select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5 && VIRTUALIZATION 23 select HAVE_ARM_SCU if SMP 24 select HAVE_S3C2410_I2C if I2C 25 select HAVE_S3C2410_WATCHDOG if WATCHDOG 26 select HAVE_S3C_RTC if RTC_CLASS 27 select PINCTRL 28 select PINCTRL_EXYNOS 29 select PM_GENERIC_DOMAINS if PM 30 select S5P_DEV_MFC 31 select SAMSUNG_MC 32 select SOC_SAMSUNG 33 select SRAM 34 select THERMAL 35 select THERMAL_OF 36 select MFD_SYSCON 37 select MEMORY 38 select CLKSRC_EXYNOS_MCT 39 select POWER_RESET 40 select POWER_RESET_SYSCON 41 select POWER_RESET_SYSCON_POWEROFF 42 help 43 Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5) 44 45if ARCH_EXYNOS 46 47config S5P_DEV_MFC 48 bool 49 help 50 Compile in setup memory (init) code for MFC 51 52config ARCH_EXYNOS3 53 bool "SAMSUNG EXYNOS3" 54 default y 55 select ARM_CPU_SUSPEND if PM 56 help 57 Samsung EXYNOS3 (Cortex-A7) SoC based systems 58 59config ARCH_EXYNOS4 60 bool "SAMSUNG EXYNOS4" 61 default y 62 select ARM_CPU_SUSPEND if PM_SLEEP 63 select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210 64 select CPU_EXYNOS4210 65 select GIC_NON_BANKED 66 select MIGHT_HAVE_CACHE_L2X0 67 help 68 Samsung EXYNOS4 (Cortex-A9) SoC based systems 69 70config ARCH_EXYNOS5 71 bool "SAMSUNG EXYNOS5" 72 default y 73 help 74 Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems 75 76comment "EXYNOS SoCs" 77 78config SOC_EXYNOS3250 79 bool "SAMSUNG EXYNOS3250" 80 default y 81 depends on ARCH_EXYNOS3 82 83config CPU_EXYNOS4210 84 bool "SAMSUNG EXYNOS4210" 85 default y 86 depends on ARCH_EXYNOS4 87 88config SOC_EXYNOS4412 89 bool "SAMSUNG EXYNOS4412" 90 default y 91 depends on ARCH_EXYNOS4 92 93config SOC_EXYNOS5250 94 bool "SAMSUNG EXYNOS5250" 95 default y 96 depends on ARCH_EXYNOS5 97 98config SOC_EXYNOS5260 99 bool "SAMSUNG EXYNOS5260" 100 default y 101 depends on ARCH_EXYNOS5 102 103config SOC_EXYNOS5410 104 bool "SAMSUNG EXYNOS5410" 105 default y 106 depends on ARCH_EXYNOS5 107 108config SOC_EXYNOS5420 109 bool "SAMSUNG EXYNOS5420" 110 default y 111 depends on ARCH_EXYNOS5 112 select EXYNOS_MCPM if SMP 113 select ARM_CCI400_PORT_CTRL 114 select ARM_CPU_SUSPEND 115 116config SOC_EXYNOS5800 117 bool "SAMSUNG EXYNOS5800" 118 default y 119 depends on SOC_EXYNOS5420 120 121config EXYNOS_MCPM 122 bool 123 select MCPM 124 125config EXYNOS_CPU_SUSPEND 126 bool 127 select ARM_CPU_SUSPEND 128 default PM_SLEEP || ARM_EXYNOS_CPUIDLE 129 130endif 131