From a8ba569cba1e79f97438c1643ddc08f3ca7bffef Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 1 Oct 2014 19:57:27 -0600 Subject: dm: imx: serial: Support driver model in the MXC serial driver Add driver model support with this driver. Boards which use this driver should define platform data in their board files. Signed-off-by: Simon Glass --- include/serial_mxc.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/serial_mxc.h (limited to 'include/serial_mxc.h') diff --git a/include/serial_mxc.h b/include/serial_mxc.h new file mode 100644 index 0000000000..7d3ace2f9e --- /dev/null +++ b/include/serial_mxc.h @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2014 Google, Inc + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __serial_mxc_h +#define __serial_mxc_h + +/* Information about a serial port */ +struct mxc_serial_platdata { + struct mxc_uart *reg; /* address of registers in physical memory */ +}; + +#endif -- cgit