tty: serial: msm: Add earlycon support
PATCH v2 1/1 tty: serial: msm: Add earlycon support
Add support for DT based and command line based early console on platforms with the msm serial hardware.
Cc Rob Herring <[email protected]>
Signed-off-by Stephen Boyd <[email protected]>
---
Changes since v1:
* Add kernel commandline support
Documentation/kernel-parameters.txt | 12 ++++++ drivers/tty/serial/Kconfig | 1 + drivers/tty/serial/msm_serial.c | 74 +++++++++++++++++++++++++++++++------ 3 files changed, 75 insertions(+), 12 deletions(-)
Documentation/kernel-parameters.txt +12 -0
@@ -936,6 +936,18 @@ bytes respectively. Such letter suffixes can also be entirely omitted. must already be setup and configured. Options are not yet supported. + msm_serial,<addr> + Start an early, polled-mode console on an msm serial + port at the specified address. The serial port + must already be setup and configured. Options are not + yet supported. + + msm_serial_dm,<addr> + Start an early, polled-mode console on an msm serial + dm port at the specified address. The serial port + must already be setup and configured. Options are not + yet supported. + smh Use ARM semihosting calls for early console. earlyprintk= [X86,SH,BLACKFIN,ARM,M68k]
drivers/tty/serial/Kconfig +1 -0
@@ -1070,6 +1070,7 @@ config SERIAL_MSM_CONSOLE bool "MSM serial console support" depends on SERIAL_MSM=y select SERIAL_CORE_CONSOLE + select SERIAL_EARLYCON config SERIAL_MSM_HS tristate "MSM UART High Speed: Serial Driver"
drivers/tty/serial/msm_serial.c +62 -12
110 lines not on this page · raw message
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation