summaryrefslogtreecommitdiff
path: root/include/dm/platform_data
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2016-07-13 00:25:35 -0700
committerStefano Babic <[email protected]>2016-07-19 19:52:13 +0200
commit83fd908f28ca94baf095ba64b4b8a116dd473cb7 (patch)
tree2bda5b82202dd8ccae1f94662ca937a9ee0a1320 /include/dm/platform_data
parent4beba0668890f23373863dc27230679addd20689 (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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/dm/platform_data')
-rw-r--r--include/dm/platform_data/serial_mxc.h1
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