aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/fsl_linflexuart.c
diff options
context:
space:
mode:
authorFugang Duan <fugang.duan@nxp.com>2021-08-23 17:18:01 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-26 14:49:20 +0200
commitbd5305dcabbc208560521bc0617f0a82715e41c9 (patch)
treec8fff9493a3ac50b54c03f57b8a3384f98075659 /drivers/tty/serial/fsl_linflexuart.c
parenttty: serial: fsl_lpuart: enable two stop bits for lpuart32 (diff)
downloadlinux-dev-bd5305dcabbc208560521bc0617f0a82715e41c9.tar.xz
linux-dev-bd5305dcabbc208560521bc0617f0a82715e41c9.zip
tty: serial: fsl_lpuart: do software reset for imx7ulp and imx8qxp
Do software reset for communication port on imx7ulp and imx8qxp after the port is registered if the UART controller support the feature. Do partition reset with LPUART's power on, LPUART registers will keep the previous status, like on i.MX8QXP platform, which is not expected action, so need to set the RST bit of GLOBAL register to reset all uart internal logic and registers. Currently, only i.MX7ULP and i.MX8QXP LPUART controllers include global register that support the software reset. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Link: https://lore.kernel.org/r/20210823091801.17447-1-sherry.sun@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/fsl_linflexuart.c')
0 files changed, 0 insertions, 0 deletions