]> code.ossystems Code Review - bsp/u-boot.git/commit
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)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 20 Jul 2016 21:07:00 +0000 (18:07 -0300)
commite22ac58f5fbd238f901db4cf25b0bf741e268c86
treef22e6df2ffa7a38f8b4d2650ec5b00f940a2ac36
parent65db95b799d18f0c3b10fb949edb32faf4e50e1a
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