OSDN Git Service

tty: serial: fsl_lpuart: add imx8ulp support
authorSherry Sun <sherry.sun@nxp.com>
Mon, 30 Jan 2023 06:44:49 +0000 (14:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Jan 2023 09:53:39 +0000 (10:53 +0100)
commited35d9dc3a80f874b511c2dd6fea7112a779dacc
treec1b34f171bb1004d5c45f8329000bf213080df9a
parentecba98f9ddf426af337fb8b63d7581c254fe6e87
tty: serial: fsl_lpuart: add imx8ulp support

The lpuart of imx8ulp is basically the same as imx7ulp, but it supports
some new features based on imx7ulp, such as it can assert the DMA
request on EOP(end-of-packet).

Here add lpuart support for imx8ulp, and rx_watermark is set to 3 as
imx8ulp RX FIFO depth is 8.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20230130064449.9564-7-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c