serial_lpuart: add support for i.MXRT
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 10 Jan 2020 14:51:43 +0000 (15:51 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jan 2020 21:54:00 +0000 (22:54 +0100)
commitc32449a161cb2280553bddc8346817c043e99f4f
tree4f044b35f6f47b8408d26729f6baf8e220f2c6f4
parent55631db8bd6d63d4049ca7301f06aaa0e6e6824e
serial_lpuart: add support for i.MXRT

Add i.MXRT compatible string and cpu type support to lpuart driver,
to use little endian 32 bits configurations.

Also according to RM, the Receive RX FIFO Enable (RXFE) field in LPUART
FIFO register is bit 3, so this definition should change to 0x08 as done
for i.MX8. It needs also to set baudrate the same way as i.MX8 does.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
drivers/serial/serial_lpuart.c
include/fsl_lpuart.h