Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
31 lines
939 B
Plaintext
31 lines
939 B
Plaintext
# Serial Port Driver
|
|
menuconfig MTK_SERIAL
|
|
tristate "MediaTek Serial Port Support"
|
|
select SERIAL_CORE
|
|
default n
|
|
---help---
|
|
This selects MediaTek(R) internal UART driver.
|
|
If you want to use MediaTek(R) internal UART driver, say Y or M here.
|
|
If unsure, say N.
|
|
|
|
config MTK_SERIAL_CONSOLE
|
|
bool "MediaTek Console on Serial Port Support"
|
|
depends on MTK_SERIAL=y
|
|
select SERIAL_CORE_CONSOLE
|
|
default y
|
|
---help---
|
|
Say Y here if you wish to use MT6516 internal UART as the system
|
|
console.
|
|
You should alter the default console setting by kernel
|
|
command line option "console=ttyMT0" or "console=ttyMT1".
|
|
|
|
config MTK_SERIAL_MODEM_TEST
|
|
bool "Support modem test"
|
|
depends on MTK_SERIAL=y
|
|
default n
|
|
---help---
|
|
Say Y here is you want to enable modem test.
|
|
After enabling this option, UART4 will be switched to modem side.
|
|
Hence, the command line parameter should be also modified.
|
|
This is for test purpose only.
|