drivers: serial: lpuart: Enable Little Endian Support
authorVabhav Sharma <vabhav.sharma@nxp.com>
Thu, 31 Jan 2019 12:08:10 +0000 (12:08 +0000)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit1edc5688df70ee3ddb692ef3429ac28ed8666a4b
tree5fdcdd19b232d1c37050785a96a057b1b4db6d25
parentca2abb75a086d8b0bdb51689f331ba8f1a146379
drivers: serial: lpuart: Enable Little Endian Support

By default LPUART driver with compatible string "fsl,ls1021a-lpuart"
support big-endian mode.On NXP SoC like LS1028A LPUART IP is
little-endian,Added support to Fetch LPUART IP Endianness from lpuart
device-tree node.

Signed-off-by: Vabhav Sharma <vabhav.sharma@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_lpuart.c