diff options
author | Stefan Agner | 2016-07-13 00:25:35 -0700 |
---|---|---|
committer | Stefano Babic | 2016-07-19 19:52:13 +0200 |
commit | 83fd908f28ca94baf095ba64b4b8a116dd473cb7 (patch) | |
tree | 2bda5b82202dd8ccae1f94662ca937a9ee0a1320 /include/dm | |
parent | 4beba0668890f23373863dc27230679addd20689 (diff) |
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>
Diffstat (limited to 'include/dm')
-rw-r--r-- | include/dm/platform_data/serial_mxc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/platform_data/serial_mxc.h b/include/dm/platform_data/serial_mxc.h index 7d3ace2f9e4..7bcd28049b3 100644 --- a/include/dm/platform_data/serial_mxc.h +++ b/include/dm/platform_data/serial_mxc.h @@ -9,6 +9,7 @@ /* Information about a serial port */ struct mxc_serial_platdata { struct mxc_uart *reg; /* address of registers in physical memory */ + bool use_dte; }; #endif |