Loading arch/arm64/configs/vendor/qcs405-perf_defconfig +2 −0 Original line number Diff line number Diff line Loading @@ -270,6 +270,8 @@ CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y # CONFIG_LEGACY_PTYS is not set # CONFIG_DEVMEM is not set CONFIG_SERIAL_MSM=y CONFIG_SERIAL_RX_CONSOLE_ONLY=y CONFIG_SERIAL_MSM_HS=y CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_MSM_LEGACY=y Loading drivers/tty/serial/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -1098,6 +1098,16 @@ config SERIAL_MSM_CONSOLE select SERIAL_CORE_CONSOLE select SERIAL_EARLYCON config SERIAL_RX_CONSOLE_ONLY bool "MSM serial rx only console support" depends on SERIAL_MSM=y select SERIAL_MSM_CONSOLE help This enable RX i.e. input receive functionality only of generic serial driver while silencing TX i.e. kernel logging output to console functionality. If you want to enable RX only console say Y else say N. config SERIAL_MSM_GENI tristate "MSM on-chip GENI HW based serial port support" depends on ARCH_QCOM Loading drivers/tty/serial/msm_serial.c +7 −0 Original line number Diff line number Diff line Loading @@ -1642,6 +1642,12 @@ static void __msm_console_write(struct uart_port *port, const char *s, spin_unlock(&port->lock); } #ifdef CONFIG_SERIAL_RX_CONSOLE_ONLY static void msm_console_write(struct console *co, const char *s, unsigned int count) { } #else static void msm_console_write(struct console *co, const char *s, unsigned int count) { Loading @@ -1655,6 +1661,7 @@ static void msm_console_write(struct console *co, const char *s, __msm_console_write(port, s, count, msm_port->is_uartdm); } #endif static int __init msm_console_setup(struct console *co, char *options) { Loading Loading
arch/arm64/configs/vendor/qcs405-perf_defconfig +2 −0 Original line number Diff line number Diff line Loading @@ -270,6 +270,8 @@ CONFIG_INPUT_UINPUT=y CONFIG_INPUT_GPIO=y # CONFIG_LEGACY_PTYS is not set # CONFIG_DEVMEM is not set CONFIG_SERIAL_MSM=y CONFIG_SERIAL_RX_CONSOLE_ONLY=y CONFIG_SERIAL_MSM_HS=y CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_MSM_LEGACY=y Loading
drivers/tty/serial/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -1098,6 +1098,16 @@ config SERIAL_MSM_CONSOLE select SERIAL_CORE_CONSOLE select SERIAL_EARLYCON config SERIAL_RX_CONSOLE_ONLY bool "MSM serial rx only console support" depends on SERIAL_MSM=y select SERIAL_MSM_CONSOLE help This enable RX i.e. input receive functionality only of generic serial driver while silencing TX i.e. kernel logging output to console functionality. If you want to enable RX only console say Y else say N. config SERIAL_MSM_GENI tristate "MSM on-chip GENI HW based serial port support" depends on ARCH_QCOM Loading
drivers/tty/serial/msm_serial.c +7 −0 Original line number Diff line number Diff line Loading @@ -1642,6 +1642,12 @@ static void __msm_console_write(struct uart_port *port, const char *s, spin_unlock(&port->lock); } #ifdef CONFIG_SERIAL_RX_CONSOLE_ONLY static void msm_console_write(struct console *co, const char *s, unsigned int count) { } #else static void msm_console_write(struct console *co, const char *s, unsigned int count) { Loading @@ -1655,6 +1661,7 @@ static void msm_console_write(struct console *co, const char *s, __msm_console_write(port, s, count, msm_port->is_uartdm); } #endif static int __init msm_console_setup(struct console *co, char *options) { Loading