mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 12:39:24 +07:00
ce53044c68
These changes are specific to some driver that may be used by multiple boards or socs. The most significant change in here is the move of the samsung iommu code from a platform specific in-kernel interface to the generic iommu subsystem. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJPuevXAAoJEIwa5zzehBx3D8YQAKfoY3TFjJ9KmJgk69/pc7cf Of0rvX+35NezGFljIyRdspz+DsV+vhJravwdVxOagRKvVBOb9qnZIXnl3gkLnTw4 dCVMFMqCwXhBeXlXCzHSeRmt2+4/fmJnr7jr4xh9omOAJ9BZv5ftmKNW4zP5wr1L +9HBwzkxlVisR4NCz2q66YBjsV2dXA3dv2hZxEFkUdQFYJGqZoUXLYHF9yno20i3 knKNXEyAFYFUKHiFVBQJ1tYGmZlaIjw14g+GTqzZay2Pi/HjUXfrPd0VwNkBzZf/ H1N3/cf4GJ2+K/zYqh+H/Xjf/Fjkp1dFNhlUQ7+l5Jwbu7C1B2euvwTO4OaqrfdD 7eqG3+uIKhPO2Z8ZySLFgx4ghybtwgZrAwOjsa+ymTugqPbiWYB/zZR1iWu5DMk/ TnNb6P3ciP+WMpoMFh1kXRc/eCCCHtuQ0rLRxizSX6HIpxWvjYFNLH7L3wS+KtlB 7vsS764d1JFW318bsdBi+V/LWRVXeSWWetTzdzDcM/Syz3ZqfPy7e3Ge6qx0lvYe 5ojgzKwVqpJenZdt91UC16cMXNqDTzmZObz6LOCmVm1mB5kYSgEHYxAQQvuGFjXT 28kGyBQNsBboJGaYh2O/CTsVXnHnaPXrtDDWMDacWNwwPYnnA2L8lUNfAg1DgA1j Z6CO8Knfct01EpQLtybK =hgkg -----END PGP SIGNATURE----- Merge tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull arm-soc driver specific updates from Olof Johansson: "These changes are specific to some driver that may be used by multiple boards or socs. The most significant change in here is the move of the samsung iommu code from a platform specific in-kernel interface to the generic iommu subsystem." Fix up trivial conflicts in arch/arm/mach-exynos/Kconfig * tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (28 commits) mmc: dt: Consolidate DT bindings iommu/exynos: Add iommu driver for EXYNOS Platforms ARM: davinci: optimize the DMA ISR ARM: davinci: implement DEBUG_LL port choice ARM: tegra: Add SMMU enabler in AHB ARM: tegra: Add Tegra AHB driver Input: pxa27x_keypad add choice to set direct_key_mask Input: pxa27x_keypad direct key may be low active Input: pxa27x_keypad bug fix for direct_key_mask Input: pxa27x_keypad keep clock on as wakeup source ARM: dt: tegra: pinmux changes for USB ULPI ARM: tegra: add USB ULPI PHY reset GPIO to device tree ARM: tegra: don't hard-code USB ULPI PHY reset_gpio ARM: tegra: change pll_p_out4's rate to 24MHz ARM: tegra: fix pclk rate ARM: tegra: reparent sclk to pll_c_out1 ARM: tegra: Add pllc clock init table ARM: dt: tegra cardhu: basic audio support ARM: dt: tegra30.dtsi: Add audio-related nodes ARM: tegra: add AUXDATA required for audio ...
429 lines
8.7 KiB
Plaintext
429 lines
8.7 KiB
Plaintext
# 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_EXYNOS4
|
|
bool "SAMSUNG EXYNOS4"
|
|
default y
|
|
select HAVE_SMP
|
|
select MIGHT_HAVE_CACHE_L2X0
|
|
help
|
|
Samsung EXYNOS4 SoCs based systems
|
|
|
|
config ARCH_EXYNOS5
|
|
bool "SAMSUNG EXYNOS5"
|
|
select HAVE_SMP
|
|
help
|
|
Samsung EXYNOS5 (Cortex-A15) SoC based systems
|
|
|
|
comment "EXYNOS SoCs"
|
|
|
|
config CPU_EXYNOS4210
|
|
bool "SAMSUNG EXYNOS4210"
|
|
default y
|
|
depends on ARCH_EXYNOS4
|
|
select SAMSUNG_DMADEV
|
|
select ARM_CPU_SUSPEND if PM
|
|
select S5P_PM if PM
|
|
select S5P_SLEEP if PM
|
|
select PM_GENERIC_DOMAINS
|
|
help
|
|
Enable EXYNOS4210 CPU support
|
|
|
|
config SOC_EXYNOS4212
|
|
bool "SAMSUNG EXYNOS4212"
|
|
default y
|
|
depends on ARCH_EXYNOS4
|
|
select SAMSUNG_DMADEV
|
|
select S5P_PM if PM
|
|
select S5P_SLEEP if PM
|
|
help
|
|
Enable EXYNOS4212 SoC support
|
|
|
|
config SOC_EXYNOS4412
|
|
bool "SAMSUNG EXYNOS4412"
|
|
default y
|
|
depends on ARCH_EXYNOS4
|
|
select SAMSUNG_DMADEV
|
|
help
|
|
Enable EXYNOS4412 SoC support
|
|
|
|
config SOC_EXYNOS5250
|
|
bool "SAMSUNG EXYNOS5250"
|
|
default y
|
|
depends on ARCH_EXYNOS5
|
|
help
|
|
Enable EXYNOS5250 SoC support
|
|
|
|
config EXYNOS4_MCT
|
|
bool
|
|
default y
|
|
help
|
|
Use MCT (Multi Core Timer) as kernel timers
|
|
|
|
config EXYNOS4_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 EXYNOS_DEV_SYSMMU
|
|
bool
|
|
help
|
|
Common setup code for SYSTEM MMU in EXYNOS platforms
|
|
|
|
config EXYNOS4_DEV_DWMCI
|
|
bool
|
|
help
|
|
Compile in platform device definitions for DWMCI
|
|
|
|
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 EXYNOS4_SETUP_SPI
|
|
bool
|
|
help
|
|
Common setup code for SPI GPIO configurations.
|
|
|
|
# machine support
|
|
|
|
if ARCH_EXYNOS4
|
|
|
|
comment "EXYNOS4210 Boards"
|
|
|
|
config MACH_SMDKC210
|
|
bool "SMDKC210"
|
|
select MACH_SMDKV310
|
|
help
|
|
Machine support for Samsung SMDKC210
|
|
|
|
config MACH_SMDKV310
|
|
bool "SMDKV310"
|
|
select CPU_EXYNOS4210
|
|
select S5P_DEV_FIMD0
|
|
select S3C_DEV_RTC
|
|
select S3C_DEV_WDT
|
|
select S3C_DEV_I2C1
|
|
select S5P_DEV_FIMC0
|
|
select S5P_DEV_FIMC1
|
|
select S5P_DEV_FIMC2
|
|
select S5P_DEV_FIMC3
|
|
select S5P_DEV_G2D
|
|
select S5P_DEV_I2C_HDMIPHY
|
|
select S5P_DEV_JPEG
|
|
select S5P_DEV_MFC
|
|
select S5P_DEV_TV
|
|
select S5P_DEV_USB_EHCI
|
|
select S3C_DEV_HSMMC
|
|
select S3C_DEV_HSMMC1
|
|
select S3C_DEV_HSMMC2
|
|
select S3C_DEV_HSMMC3
|
|
select SAMSUNG_DEV_BACKLIGHT
|
|
select EXYNOS_DEV_DRM
|
|
select EXYNOS_DEV_SYSMMU
|
|
select EXYNOS4_DEV_AHCI
|
|
select SAMSUNG_DEV_KEYPAD
|
|
select EXYNOS4_DEV_DMA
|
|
select SAMSUNG_DEV_PWM
|
|
select EXYNOS4_DEV_USB_OHCI
|
|
select EXYNOS4_SETUP_FIMD0
|
|
select EXYNOS4_SETUP_I2C1
|
|
select EXYNOS4_SETUP_KEYPAD
|
|
select EXYNOS4_SETUP_SDHCI
|
|
select EXYNOS4_SETUP_USB_PHY
|
|
help
|
|
Machine support for Samsung SMDKV310
|
|
|
|
config MACH_ARMLEX4210
|
|
bool "ARMLEX4210"
|
|
select CPU_EXYNOS4210
|
|
select S3C_DEV_RTC
|
|
select S3C_DEV_WDT
|
|
select S3C_DEV_HSMMC
|
|
select S3C_DEV_HSMMC2
|
|
select S3C_DEV_HSMMC3
|
|
select EXYNOS4_DEV_AHCI
|
|
select EXYNOS4_DEV_DMA
|
|
select EXYNOS4_SETUP_SDHCI
|
|
help
|
|
Machine support for Samsung ARMLEX4210 based on EXYNOS4210
|
|
|
|
config MACH_UNIVERSAL_C210
|
|
bool "Mobile UNIVERSAL_C210 Board"
|
|
select CPU_EXYNOS4210
|
|
select S5P_HRT
|
|
select CLKSRC_MMIO
|
|
select HAVE_SCHED_CLOCK
|
|
select S5P_GPIO_INT
|
|
select S5P_DEV_FIMC0
|
|
select S5P_DEV_FIMC1
|
|
select S5P_DEV_FIMC2
|
|
select S5P_DEV_FIMC3
|
|
select S5P_DEV_G2D
|
|
select S5P_DEV_CSIS0
|
|
select S5P_DEV_JPEG
|
|
select S5P_DEV_FIMD0
|
|
select S3C_DEV_HSMMC
|
|
select S3C_DEV_HSMMC2
|
|
select S3C_DEV_HSMMC3
|
|
select S3C_DEV_I2C1
|
|
select S3C_DEV_I2C3
|
|
select S3C_DEV_I2C5
|
|
select S3C_DEV_USB_HSOTG
|
|
select S5P_DEV_I2C_HDMIPHY
|
|
select S5P_DEV_MFC
|
|
select S5P_DEV_ONENAND
|
|
select S5P_DEV_TV
|
|
select EXYNOS_DEV_SYSMMU
|
|
select EXYNOS4_DEV_DMA
|
|
select EXYNOS_DEV_DRM
|
|
select EXYNOS4_SETUP_FIMD0
|
|
select EXYNOS4_SETUP_I2C1
|
|
select EXYNOS4_SETUP_I2C3
|
|
select EXYNOS4_SETUP_I2C5
|
|
select EXYNOS4_SETUP_SDHCI
|
|
select EXYNOS4_SETUP_FIMC
|
|
select S5P_SETUP_MIPIPHY
|
|
select EXYNOS4_SETUP_USB_PHY
|
|
help
|
|
Machine support for Samsung Mobile Universal S5PC210 Reference
|
|
Board.
|
|
|
|
config MACH_NURI
|
|
bool "Mobile NURI Board"
|
|
select CPU_EXYNOS4210
|
|
select S5P_GPIO_INT
|
|
select S3C_DEV_WDT
|
|
select S3C_DEV_RTC
|
|
select S5P_DEV_FIMD0
|
|
select S3C_DEV_HSMMC
|
|
select S3C_DEV_HSMMC2
|
|
select S3C_DEV_HSMMC3
|
|
select S3C_DEV_I2C1
|
|
select S3C_DEV_I2C3
|
|
select S3C_DEV_I2C5
|
|
select S3C_DEV_I2C6
|
|
select S3C_DEV_USB_HSOTG
|
|
select S5P_DEV_CSIS0
|
|
select S5P_DEV_JPEG
|
|
select S5P_DEV_FIMC0
|
|
select S5P_DEV_FIMC1
|
|
select S5P_DEV_FIMC2
|
|
select S5P_DEV_FIMC3
|
|
select S5P_DEV_G2D
|
|
select S5P_DEV_MFC
|
|
select S5P_DEV_USB_EHCI
|
|
select S5P_SETUP_MIPIPHY
|
|
select EXYNOS4_DEV_DMA
|
|
select EXYNOS_DEV_DRM
|
|
select EXYNOS4_SETUP_FIMC
|
|
select EXYNOS4_SETUP_FIMD0
|
|
select EXYNOS4_SETUP_I2C1
|
|
select EXYNOS4_SETUP_I2C3
|
|
select EXYNOS4_SETUP_I2C5
|
|
select EXYNOS4_SETUP_I2C6
|
|
select EXYNOS4_SETUP_SDHCI
|
|
select EXYNOS4_SETUP_USB_PHY
|
|
select S5P_SETUP_MIPIPHY
|
|
select SAMSUNG_DEV_PWM
|
|
select SAMSUNG_DEV_ADC
|
|
help
|
|
Machine support for Samsung Mobile NURI Board.
|
|
|
|
config MACH_ORIGEN
|
|
bool "ORIGEN"
|
|
select CPU_EXYNOS4210
|
|
select S3C_DEV_RTC
|
|
select S3C_DEV_WDT
|
|
select S3C_DEV_HSMMC
|
|
select S3C_DEV_HSMMC2
|
|
select S5P_DEV_FIMC0
|
|
select S5P_DEV_FIMC1
|
|
select S5P_DEV_FIMC2
|
|
select S5P_DEV_FIMC3
|
|
select S5P_DEV_FIMD0
|
|
select S5P_DEV_G2D
|
|
select S5P_DEV_I2C_HDMIPHY
|
|
select S5P_DEV_JPEG
|
|
select S5P_DEV_MFC
|
|
select S5P_DEV_TV
|
|
select S5P_DEV_USB_EHCI
|
|
select SAMSUNG_DEV_BACKLIGHT
|
|
select SAMSUNG_DEV_PWM
|
|
select EXYNOS_DEV_DRM
|
|
select EXYNOS_DEV_SYSMMU
|
|
select EXYNOS4_DEV_DMA
|
|
select EXYNOS4_DEV_USB_OHCI
|
|
select EXYNOS4_SETUP_FIMD0
|
|
select EXYNOS4_SETUP_SDHCI
|
|
select EXYNOS4_SETUP_USB_PHY
|
|
help
|
|
Machine support for ORIGEN based on Samsung EXYNOS4210
|
|
|
|
comment "EXYNOS4212 Boards"
|
|
|
|
config MACH_SMDK4212
|
|
bool "SMDK4212"
|
|
select SOC_EXYNOS4212
|
|
select S3C_DEV_HSMMC2
|
|
select S3C_DEV_HSMMC3
|
|
select S3C_DEV_I2C1
|
|
select S3C_DEV_I2C3
|
|
select S3C_DEV_I2C7
|
|
select S3C_DEV_RTC
|
|
select S3C_DEV_WDT
|
|
select S5P_DEV_FIMC0
|
|
select S5P_DEV_FIMC1
|
|
select S5P_DEV_FIMC2
|
|
select S5P_DEV_FIMC3
|
|
select S5P_DEV_MFC
|
|
select SAMSUNG_DEV_BACKLIGHT
|
|
select SAMSUNG_DEV_KEYPAD
|
|
select SAMSUNG_DEV_PWM
|
|
select EXYNOS_DEV_SYSMMU
|
|
select EXYNOS4_DEV_DMA
|
|
select EXYNOS4_SETUP_I2C1
|
|
select EXYNOS4_SETUP_I2C3
|
|
select EXYNOS4_SETUP_I2C7
|
|
select EXYNOS4_SETUP_KEYPAD
|
|
select EXYNOS4_SETUP_SDHCI
|
|
help
|
|
Machine support for Samsung SMDK4212
|
|
|
|
comment "EXYNOS4412 Boards"
|
|
|
|
config MACH_SMDK4412
|
|
bool "SMDK4412"
|
|
select SOC_EXYNOS4412
|
|
select MACH_SMDK4212
|
|
help
|
|
Machine support for Samsung SMDK4412
|
|
endif
|
|
|
|
comment "Flattened Device Tree based board for EXYNOS SoCs"
|
|
|
|
config MACH_EXYNOS4_DT
|
|
bool "Samsung Exynos4 Machine using device tree"
|
|
depends on ARCH_EXYNOS4
|
|
select CPU_EXYNOS4210
|
|
select USE_OF
|
|
select ARM_AMBA
|
|
select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
|
|
help
|
|
Machine support for Samsung Exynos4 machine with device tree enabled.
|
|
Select this if a fdt blob is available for the Exynos4 SoC based board.
|
|
Note: This is under development and not all peripherals can be supported
|
|
with this machine file.
|
|
|
|
config MACH_EXYNOS5_DT
|
|
bool "SAMSUNG EXYNOS5 Machine using device tree"
|
|
depends on ARCH_EXYNOS5
|
|
select SOC_EXYNOS5250
|
|
select USE_OF
|
|
select ARM_AMBA
|
|
help
|
|
Machine support for Samsung Exynos4 machine with device tree enabled.
|
|
Select this if a fdt blob is available for the EXYNOS4 SoC based board.
|
|
|
|
if ARCH_EXYNOS4
|
|
|
|
comment "Configuration for HSMMC 8-bit bus width"
|
|
|
|
config EXYNOS4_SDHCI_CH0_8BIT
|
|
bool "Channel 0 with 8-bit bus"
|
|
help
|
|
Support HSMMC Channel 0 8-bit bus.
|
|
If selected, Channel 1 is disabled.
|
|
|
|
config EXYNOS4_SDHCI_CH2_8BIT
|
|
bool "Channel 2 with 8-bit bus"
|
|
help
|
|
Support HSMMC Channel 2 8-bit bus.
|
|
If selected, Channel 3 is disabled.
|
|
endif
|
|
|
|
endmenu
|
|
|
|
endif
|