serial: lpuart: add i.MX7ULP support
authorPeng Fan <peng.fan@nxp.com>
Wed, 22 Feb 2017 08:21:52 +0000 (16:21 +0800)
committerStefano Babic <sbabic@denx.de>
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 <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Cc: York Sun <york.sun@nxp.com>
Cc: Shaohui Xie <Shaohui.Xie@nxp.com>
Cc: Alison Wang <b18965@freescale.com>
drivers/serial/serial_lpuart.c
include/fsl_lpuart.h [new file with mode: 0644]