# arch/arm/mach-exynos/Kconfig # # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. # http://www.samsung.com/ # # Licensed under GPLv2 # Configuration options for the EXYNOS4 if ARCH_EXYNOS menu "SAMSUNG EXYNOS SoCs Support" config ARCH_EXYNOS5 bool "SAMSUNG EXYNOS5" select HAVE_ARM_SCU if SMP select HAVE_SMP select HAVE_EXYNOS5_HSI2C if I2C help Samsung EXYNOS5 (Cortex-A53/A57) SoC based systems config ARCH_EXYNOS7 bool "SAMSUNG EXYNOS7" select HAVE_ARM_SCU if SMP select HAVE_SMP select HAVE_EXYNOS5_HSI2C if I2C select PM_GENERIC_DOMAINS if PM help Samsung EXYNOS7 (Cortex-A57/A53) SoC based systems config SOC_EXYNOS7420 bool "SAMSUNG EXYNOS7420" depends on ARCH_EXYNOS7 select SAMSUNG_DMADEV select CAL_SYS_PWRDOWN select EXYNOS_SPI_RESET_DURING_DSTOP if CPU_IDLE select SOC_SAMSUNG help Enable EXYNOS7420 SoC support config SOC_EXYNOS7420_EVT_0 bool "SAMSUNG EXYNOS7420 EVT0" depends on SOC_EXYNOS7420 select CAL_SYS_PWRDOWN help Enable EXYNOS7420 EVT0 SoC support config SOC_EXYNOS7580 bool "SAMSUNG EXYNOS7580" depends on ARCH_EXYNOS7 select SAMSUNG_DMADEV select CAL_SYS_PWRDOWN select ARCH_HAS_OPP select ARCH_HAS_BANDGAP help Enable EXYNOS7580 SoC support config SOC_EXYNOS5433 bool "SAMSUNG EXYNOS5433" default n depends on ARCH_EXYNOS5 select PM_GENERIC_DOMAINS if PM select S5P_PM if PM select S5P_SLEEP if SUSPEND select SAMSUNG_DMADEV select EXYNOS_HSI2C_RESET_DURING_DSTOP if CPU_IDLE select EXYNOS_SPI_RESET_DURING_DSTOP if CPU_IDLE select CAL_SYS_PWRDOWN help Enable EXYNOS5433 SoC support config EXYNOS_ASV bool "ENABLE EXYNOS ASV" default n depends on ARCH_EXYNOS config EXYNOS_ASV_DYNAMIC_ABB bool "Enable Dynamic ABB" default n depends on EXYNOS_ASV config EXYNOS_ASV_SUPPORT_RCC bool "Support RCC Table" default n depends on EXYNOS_ASV config EXYNOS_ASV_MARGIN_TEST bool "Enable Margin Test" default n depends on EXYNOS_ASV config SKIP_HW_BREAKPOINT bool "support skip hw breakpoint" default n help Support early param for T32 onchip breakpoint config CAL_SYS_PWRDOWN bool "Enable CAL for system level power down" config EXYNOS_ATAGS def_bool "ATAGS based boot for EXYNOS (deprecated)" depends on !ARCH_MULTIPLATFORM depends on ATAGS help The EXYNOS platform is moving towards being completely probed through device tree. This enables support for board files using the traditional ATAGS boot format. Note that this option is not available for multiplatform builds. config EXYNOS5_DYNAMIC_CPU_HOTPLUG bool "Dynamic CPU Hotplug support" depends on !SOC_EXYNOS7580 depends on CPU_FREQ help Enable Dynamic CPU Hotplug config EXYNOS5_DYNAMIC_CPU_HOTPLUG_SLEEP_PREPARE int "Activate number of cores when sleep" depends on EXYNOS5_DYNAMIC_CPU_HOTPLUG default 1 help When gose to sleep, activate some cores for performace during sleep/wakeup sequence. This config set the number of activate cores. defaut value is "4" to activate all cores in cluster0. config EXYNOS7580_DYNAMIC_CLUSTER_HOTPLUG bool "Dynamic CLUSTER Hotplug support" depends on SOC_EXYNOS7580 depends on CPU_FREQ help Enable Dynamic CLUSTER Hotplug config EXYNOS_CONTENT_PATH_PROTECTION bool "Exynos Content Path Protection" depends on ARM_TRUSTZONE default y help Enable content path protection of EXYNOS. config EXYNOS5_SETUP_MIPIPHY bool depends on (VIDEO_EXYNOS_FIMC_IS || DECON_MIPI_DSI || EXYNOS_MIPI_DSI) default y help Compile in common setup code for MIPI-CSIS devices config SAMSUNG_PRODUCT_SHIP bool "set up for product shipping" default n if EXYNOS_ATAGS config EXYNOS_DEV_DMA bool help Compile in amba device definitions for DMA controller config EXYNOS4_DEV_AHCI bool help Compile in platform device definitions for AHCI config EXYNOS4_SETUP_FIMD0 bool help Common setup code for FIMD0. config EXYNOS4_DEV_USB_OHCI bool help Compile in platform device definition for USB OHCI config EXYNOS4_SETUP_I2C1 bool help Common setup code for i2c bus 1. config EXYNOS4_SETUP_I2C2 bool help Common setup code for i2c bus 2. config EXYNOS4_SETUP_I2C3 bool help Common setup code for i2c bus 3. config EXYNOS4_SETUP_I2C4 bool help Common setup code for i2c bus 4. config EXYNOS4_SETUP_I2C5 bool help Common setup code for i2c bus 5. config EXYNOS4_SETUP_I2C6 bool help Common setup code for i2c bus 6. config EXYNOS4_SETUP_I2C7 bool help Common setup code for i2c bus 7. config EXYNOS4_SETUP_KEYPAD bool help Common setup code for keypad. config EXYNOS4_SETUP_SDHCI bool select EXYNOS4_SETUP_SDHCI_GPIO help Internal helper functions for EXYNOS4 based SDHCI systems. config EXYNOS4_SETUP_SDHCI_GPIO bool help Common setup code for SDHCI gpio. config EXYNOS4_SETUP_FIMC bool help Common setup code for the camera interfaces. config EXYNOS4_SETUP_USB_PHY bool help Common setup code for USB PHY controller config EXYNOS_SETUP_SPI bool help Common setup code for SPI GPIO configurations. endif comment "Flattened Device Tree based board for EXYNOS SoCs" config MACH_UNIVERSAL5433 bool "SAMSUNG UNIVERSAL5433 Machine using device tree" default y depends on ARCH_EXYNOS5 && SOC_EXYNOS5433 select ARM_AMBA select CLKSRC_OF select PINCTRL select PINCTRL_EXYNOS select USE_OF select MIGHT_HAVE_PCI select PCI_DOMAINS if PCI help Machine support for Samsung EXYNOS5433 machine with device tree enabled. Select this if a fdt blob is available for the EXYNOS5433 SoC based board. config MACH_ESPRESSO7420 bool "SAMSUNG ESPRESSO7420 Machine using device tree" select ARM_AMBA select CLKSRC_OF select USE_OF select PINCTRL select PINCTRL_EXYNOS select S3C_DEV_RTC select MIGHT_HAVE_PCI select PCI_DOMAINS if PCI help Machine support for Samsung EXYNOS7420 machine with device tree enabled. Select this if a fdt blob is available for the EXYNOS7420 SoC based board. config MACH_UNIVERSAL7420 bool "SAMSUNG UNIVERSAL7420 Machine using device tree" select ARM_AMBA select CLKSRC_OF select USE_OF select PINCTRL select PINCTRL_EXYNOS select S3C_DEV_RTC select MIGHT_HAVE_PCI select PCI_DOMAINS if PCI help Machine support for Samsung EXYNOS7420 machine with device tree enabled. Select this if a fdt blob is available for the EXYNOS7420 SoC based board. config MACH_SMDK7580 bool "SAMSUNG SMDK7580 Machine using device tree" select ARM_AMBA select USE_OF select PINCTRL select PINCTRL_EXYNOS help Machine support for Samsung EXYNOS7580 machine with device tree enabled. Select this if a fdt blob is available for the EXYNOS7580 SoC based board. config MACH_UNIVERSAL7580 bool "SAMSUNG UNIVERSAL7580 Machine using device tree" select ARM_AMBA select USE_OF select PINCTRL select PINCTRL_EXYNOS select PM_OPP help Machine support for Samsung EXYNOS7580 machine with device tree enabled. Select this if a fdt blob is available for the EXYNOS7580 SoC based board. endmenu # Reset IPs during LPA/DSTOP config EXYNOS_SPI_RESET_DURING_DSTOP bool endif config MSM_HSIC_SYSMON tristate "MSM HSIC system monitor driver" depends on USB help Add support for bridging with the system monitor interface of MDM over HSIC. This driver allows the local system monitor to communicate with the remote system monitor interface. config MSM_HSIC_SYSMON_TEST tristate "MSM HSIC system monitor bridge test" depends on USB && MSM_HSIC_SYSMON && DEBUG_FS help Enable the test hook for the Qualcomm system monitor HSIC driver. This will create a debugfs file entry named "hsic_sysmon_test" which can be read and written to send character data to the sysmon port of the modem over USB. config MSM_SUBSYSTEM_RESTART tristate "MSM subsystem restart" default n config MSM_SYSMON_COMM bool "MSM System Monitor communication support" default y if MSM_HSIC_SYSMON && ESOC default n help This option adds support for MSM System Monitor library, which provides an API that may be used for notifying subsystems within the SoC about other subsystems' power-up/down state-changes. config TIMA bool "Enable TIMA(Trustzone based Integrity Measurement Archtecture feature" default n config TIMA_LKMAUTH bool "Enable LKM authentication by TIMA" help TIMA authenticates loaded kernel modules. Disable it if you don't want TIMA enabled. config TIMA_RKP default n depends on TIMA bool "Samsung KNOX realtime kernel protection" help this enables realtime kernel protection config RKP_KDP bool "Protection for cred structure" depends on TIMA_RKP default n help Prevents unauthorized cred modification. config RKP_DMAP_PROT bool "Page Double Mapping protection" depends on (TIMA_RKP && RKP_KDP) default n help Prevents unauthorized cred modification. config RKP_NS_PROT bool "Protection for cred structure" depends on (TIMA_RKP && RKP_KDP) default n help Prevents unauthorized name space modification. config SEC_BAT_AUT bool "Samsung TN Bat Automation Test Feature" default n help Samsung TN Bat Automation Test