]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/serial/serial_mxc.c
dm: imx: serial: Support DTE mode when using driver model
authorStefan Agner <stefan.agner@toradex.com>
Wed, 13 Jul 2016 07:25:35 +0000 (00:25 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 19 Jul 2016 17:52:13 +0000 (19:52 +0200)
commit83fd908f28ca94baf095ba64b4b8a116dd473cb7
tree2bda5b82202dd8ccae1f94662ca937a9ee0a1320
parent4beba0668890f23373863dc27230679addd20689
dm: imx: serial: Support DTE mode when using driver model

The MXC UART IP can be run in DTE or DCE mode. This depends on the
board wiring and the pinmux used and hence is board specific. This
extends platform data with a new field to choose wheather DTE
mode shall be used.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_mxc.c
include/dm/platform_data/serial_mxc.h