257 lines
5.8 KiB
Plaintext
257 lines
5.8 KiB
Plaintext
|
menuconfig ARCH_MEDIATEK
|
||
|
bool "MediaTek SoC Support"
|
||
|
depends on ARCH_MULTI_V7
|
||
|
select ARM_GIC
|
||
|
select PINCTRL
|
||
|
select MTK_TIMER
|
||
|
select MFD_SYSCON
|
||
|
help
|
||
|
Support for Mediatek MT65xx & MT81xx SoCs
|
||
|
|
||
|
if ARCH_MEDIATEK
|
||
|
|
||
|
config MACH_MT2701
|
||
|
bool "MediaTek MT2701 SoCs support"
|
||
|
|
||
|
config MACH_MT6589
|
||
|
bool "MediaTek MT6589 SoCs support"
|
||
|
|
||
|
config MACH_MT6592
|
||
|
bool "MediaTek MT6592 SoCs support"
|
||
|
|
||
|
config MACH_MT7623
|
||
|
bool "MediaTek MT7623 SoCs support"
|
||
|
|
||
|
config MACH_MT7629
|
||
|
bool "MediaTek MT7629 SoCs support"
|
||
|
|
||
|
config MACH_MT8127
|
||
|
bool "MediaTek MT8127 SoCs support"
|
||
|
|
||
|
config MACH_MT8135
|
||
|
bool "MediaTek MT8135 SoCs support"
|
||
|
|
||
|
endif
|
||
|
|
||
|
config MACH_MT6739
|
||
|
bool "MediaTek MT6739"
|
||
|
select GENERIC_TIME
|
||
|
select GENERIC_CLOCKEVENTS
|
||
|
select ARCH_HAS_CPUFREQ
|
||
|
select ARM_AMBA
|
||
|
select CPU_V7
|
||
|
select HAVE_SMP
|
||
|
select EXT4_FS
|
||
|
select EXT4_FS_ENCRYPTION
|
||
|
select EXT4_FS_SECURITY
|
||
|
select EXT4_ENCRYPTION
|
||
|
select F2FS_FS
|
||
|
select F2FS_FS_ENCRYPTION
|
||
|
select F2FS_FS_SECURITY
|
||
|
select F2FS_FS_XATTR
|
||
|
select OVERLAY_FS
|
||
|
select IRQ_DOMAIN
|
||
|
select IRQ_DOMAIN_DEBUG if IRQ_DOMAIN && DEBUG_FS
|
||
|
select GENERIC_SCHED_CLOCK
|
||
|
select MTK_SYS_CIRQ
|
||
|
select MTK_GIC_TARGET_ALL
|
||
|
select ARMV7_COMPAT
|
||
|
select ARMV7_COMPAT_CPUINFO
|
||
|
select CPU_IDLE
|
||
|
select KERNEL_MODE_NEON
|
||
|
select PINCTRL
|
||
|
select PINCTRL_MT6739
|
||
|
select MFD_SYSCON
|
||
|
select MTK_BASE_POWER
|
||
|
select MTK_GIC_V3_EXT
|
||
|
select ARM_GIC_V3
|
||
|
select MTK_BOUNCING_CHECK if MTK_AEE_FEATURE
|
||
|
select MTK_SYSTRACKER_V2
|
||
|
select MTK_IRQ_NEW_DESIGN
|
||
|
select MTK_IRQ_NEW_DESIGN_DEBUG
|
||
|
select MTK_SYSIRQ
|
||
|
select MTK_CQDMA
|
||
|
select MTK_FIQ_CACHE
|
||
|
select FAST_CIRQ_CLONE_FLUSH
|
||
|
select MTK_TIMER_APXGPT
|
||
|
select ARM_CRYPTO
|
||
|
select CRYPTO_SHA2_ARM_CE
|
||
|
select CRYPTO_AES_ARM_CE
|
||
|
select MTK_SECURITY_SW_SUPPORT
|
||
|
select PM_OPP
|
||
|
help
|
||
|
This enables support for MediaTek MT6739
|
||
|
Support for arm Architecture
|
||
|
Support for 4 core archtecture
|
||
|
Support for k39v1 related projects
|
||
|
|
||
|
config MACH_MT6761
|
||
|
bool "MediaTek MT6761"
|
||
|
select GENERIC_TIME
|
||
|
select GENERIC_CLOCKEVENTS
|
||
|
select ARCH_HAS_CPUFREQ
|
||
|
select ARM_AMBA
|
||
|
select CPU_V7
|
||
|
select HAVE_SMP
|
||
|
select IRQ_DOMAIN
|
||
|
select IRQ_DOMAIN_DEBUG
|
||
|
select GENERIC_SCHED_CLOCK
|
||
|
select ARMV7_COMPAT
|
||
|
select ARMV7_COMPAT_CPUINFO
|
||
|
select CPU_IDLE
|
||
|
select PINCTRL
|
||
|
select MFD_SYSCON
|
||
|
select VFP
|
||
|
select VFPv3
|
||
|
select CPU_V7
|
||
|
select NEON
|
||
|
select AEABI
|
||
|
select KERNEL_MODE_NEON
|
||
|
select MTK_BASE_POWER
|
||
|
select MTK_GIC_V3_EXT
|
||
|
select MTK_SYSIRQ
|
||
|
select MTK_TIMER
|
||
|
select MTK_TIMER_TIMESYNC
|
||
|
select ARM_GIC_V3
|
||
|
select POWER_SUPPLY
|
||
|
select MTK_EMI_LEGACY
|
||
|
select MTK_DRAMC_LEGACY
|
||
|
select PM_DEVFREQ
|
||
|
select MTK_SYS_CIRQ
|
||
|
select ARM_ERRATA_855873
|
||
|
select MTK_GIC_TARGET_ALL
|
||
|
select FAST_CIRQ_CLONE_FLUSH
|
||
|
select MTK_FIQ_CACHE
|
||
|
select MTK_DEBUG_LATCH
|
||
|
select MTK_DFD_INTERNAL_DUMP
|
||
|
select MTK_DBGTOP
|
||
|
select MTK_PLAT_SRAM_FLAG
|
||
|
select MTK_L2C_PARITY_CHECK
|
||
|
select MTK_SYSTRACKER_V2
|
||
|
select MTK_SECURITY_SW_SUPPORT
|
||
|
select ARM_CRYPTO
|
||
|
select CRYPTO_SHA2_ARM_CE
|
||
|
select CRYPTO_AES_ARM_CE
|
||
|
select MTK_DVFSRC
|
||
|
select MTK_PMQOS
|
||
|
select MTK_TINYSYS_SCP_CM4_SUPPORT
|
||
|
help
|
||
|
This enables support for MediaTek MT6761
|
||
|
Highly power-efficient, performance-oriented 4G LTE processor
|
||
|
for premium, thin-design smartphones. MT6761 also offers significant
|
||
|
multitasking and multimedia improvements.
|
||
|
|
||
|
config MACH_MT6765
|
||
|
bool "MediaTek MT6765"
|
||
|
select GENERIC_TIME
|
||
|
select GENERIC_CLOCKEVENTS
|
||
|
select ARCH_HAS_CPUFREQ
|
||
|
select ARM_AMBA
|
||
|
select CPU_V7
|
||
|
select HAVE_SMP
|
||
|
select IRQ_DOMAIN
|
||
|
select IRQ_DOMAIN_DEBUG
|
||
|
select GENERIC_SCHED_CLOCK
|
||
|
select ARMV7_COMPAT
|
||
|
select ARMV7_COMPAT_CPUINFO
|
||
|
select CPU_IDLE
|
||
|
select PINCTRL
|
||
|
select MFD_SYSCON
|
||
|
select VFP
|
||
|
select VFPv3
|
||
|
select CPU_V7
|
||
|
select NEON
|
||
|
select AEABI
|
||
|
select KERNEL_MODE_NEON
|
||
|
select MTK_BASE_POWER
|
||
|
select MTK_GIC_V3_EXT
|
||
|
select MTK_SYSIRQ
|
||
|
select MTK_TIMER
|
||
|
select MTK_TIMER_TIMESYNC
|
||
|
select ARM_GIC_V3
|
||
|
select POWER_SUPPLY
|
||
|
select MTK_EMI_LEGACY
|
||
|
select MTK_DRAMC_LEGACY
|
||
|
select PM_DEVFREQ
|
||
|
select MTK_SYS_CIRQ
|
||
|
select ARM_ERRATA_855873
|
||
|
select MTK_GIC_TARGET_ALL
|
||
|
select FAST_CIRQ_CLONE_FLUSH
|
||
|
select MTK_DEBUG_LATCH
|
||
|
select MTK_DFD_INTERNAL_DUMP
|
||
|
select MTK_DBGTOP
|
||
|
select MTK_PLAT_SRAM_FLAG
|
||
|
select MTK_L2C_PARITY_CHECK
|
||
|
select MTK_SYSTRACKER_V2
|
||
|
select ARM_CRYPTO
|
||
|
select CRYPTO_SHA2_ARM_CE
|
||
|
select CRYPTO_AES_ARM_CE
|
||
|
select MTK_DVFSRC
|
||
|
select MTK_PMQOS
|
||
|
select MTK_TINYSYS_SCP_CM4_SUPPORT
|
||
|
help
|
||
|
This enables support for MediaTek MT6765
|
||
|
Highly power-efficient, performance-oriented 4G LTE processor
|
||
|
for premium, thin-design smartphones. MT6765 also offers significant
|
||
|
multitasking and multimedia improvements.
|
||
|
|
||
|
config MACH_MT6768
|
||
|
bool "MediaTek MT6768 SoCs support"
|
||
|
select ARCH_MEDIATEK
|
||
|
select GENERIC_TIME
|
||
|
select GENERIC_CLOCKEVENTS
|
||
|
select ARCH_HAS_CPUFREQ
|
||
|
select ARM_AMBA
|
||
|
select ARM_DSU_PMU if ARM64 && PERF_EVENTS
|
||
|
select CPU_V7
|
||
|
select HAVE_SMP
|
||
|
select IRQ_DOMAIN
|
||
|
select IRQ_DOMAIN_DEBUG if IRQ_DOMAIN && DEBUG_FS
|
||
|
select GENERIC_SCHED_CLOCK
|
||
|
select ARMV7_COMPAT
|
||
|
select ARMV7_COMPAT_CPUINFO
|
||
|
select PINCTRL
|
||
|
select PINCTRL_MT6768
|
||
|
select MFD_SYSCON
|
||
|
select CPU_IDLE
|
||
|
select NEON
|
||
|
select VFP
|
||
|
select KERNEL_MODE_NEON
|
||
|
select MTK_GIC_V3_EXT
|
||
|
select ARM_GIC_V3
|
||
|
select MTK_SYSIRQ
|
||
|
select MTK_ES_REG
|
||
|
select MTK_CQDMA
|
||
|
select MTK_GIC_TARGET_ALL
|
||
|
select MTK_SYS_CIRQ
|
||
|
select FAST_CIRQ_CLONE_FLUSH
|
||
|
select MTK_DEBUG_LATCH
|
||
|
select MTK_PLAT_SRAM_FLAG
|
||
|
select MTK_DFD_INTERNAL_DUMP
|
||
|
select MTK_SYSTRACKER_V2
|
||
|
select ARM_CRYPTO
|
||
|
select CRYPTO_SHA2_ARM_CE
|
||
|
select CRYPTO_AES_ARM_CE
|
||
|
select MTK_SYSTRACKER_V2
|
||
|
select MTK_LASTBUS_INTERFACE
|
||
|
select MTK_DFD_INTERNAL_DUMP
|
||
|
select MTK_DBGTOP
|
||
|
select MTK_ION_CACHE_OPTIMIZATION
|
||
|
select MTK_TIMER_SYSTIMER
|
||
|
select MTK_EMI_LEGACY
|
||
|
select MTK_DRAMC
|
||
|
select MTK_BASE_POWER
|
||
|
select MTK_SECURITY_SW_SUPPORT
|
||
|
select MTK_CACHE_PARITY_CHECK
|
||
|
select MTK_DEBUG_LATCH
|
||
|
select MTK_SYSTRACKER_V2
|
||
|
select DEVAPC_LEGACY
|
||
|
select OVERLAY_FS
|
||
|
select MTK_TINYSYS_SCP_CM4_SUPPORT
|
||
|
select MFD_MT6358
|
||
|
select MTK_PMQOS
|
||
|
help
|
||
|
This enables support for MediaTek MT6768
|
||
|
Support for mt6768 related projects
|
||
|
|