serial: lpuart: add i.MX7ULP support
authorPeng Fan <[email protected]>
Wed, 22 Feb 2017 08:21:52 +0000 (16:21 +0800)
committerStefano Babic <[email protected]>
Fri, 17 Mar 2017 08:27:08 +0000 (09:27 +0100)
commit7edf5c45f0d7f78ba370013cf513e3e8356c5202
treeddda2916c295e2bb02b54c368762a9132e6c44ab
parentc40d612b1a6e1c63f27089d1d8fa3016164cacdb
serial: lpuart: add i.MX7ULP support

Add i.MX7ULP support.
The buadrate calculation on i.MX7ULP is different,so add a new setbrg
function for i.MX7ULP.
Add a enum lpuart_devtype for runtime check for different platforms.

Signed-off-by: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Bhuvanchandra DV <[email protected]>
Cc: York Sun <[email protected]>
Cc: Shaohui Xie <[email protected]>
Cc: Alison Wang <[email protected]>
drivers/serial/serial_lpuart.c
include/fsl_lpuart.h [new file with mode: 0644]