serial: lpuart: add i.MX7ULP support
authorPeng Fan <peng.fan@nxp.com>
Wed, 22 Feb 2017 08:21:52 +0000 (16:21 +0800)
committerYe Li <ye.li@nxp.com>
Wed, 5 Apr 2017 09:23:52 +0000 (17:23 +0800)
commit0921d1c3d60594e584bdfc16c3777913b0de9a5f
tree427a7d73abca06fe0e9e8e8024c177cead9da1a5
parent1cbf9f3576dc8fcde480e449f620911f75d676ed
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]