
This series adjusts the IMX serial and GPIO drivers to support driver model. As an example of its use, the recently-added cm_fx6 board is converted over to driver model.
Some minor driver model core changed are required to make this work and these are included with this series.
Simon Glass (10): dm: linker_lists: Add a way to declare multiple objects dm: core: Allow a list of devices to be declared in one step dm: core: Allow device_bind() to used without CONFIG_OF_CONTROL dm: serial: Don't require device tree to configure a console dm: serial: Put common code into separate functions dm: imx: Use gpio_request() to request GPIOs imximage.cfg: Remove copyright header dm: imx: gpio: Support driver model in MXC gpio driver dm: imx: serial: Support driver model in the MXC serial driver dm: imx: Move cm_fx6 to use driver model for serial and GPIO
arch/arm/imx-common/i2c-mxv7.c | 14 ++ board/compulab/cm_fx6/cm_fx6.c | 19 +++ board/compulab/cm_fx6/common.c | 3 + board/compulab/cm_fx6/imximage.cfg | 6 - drivers/core/device.c | 7 +- drivers/gpio/mxc_gpio.c | 291 ++++++++++++++++++++++++++++++++++++- drivers/serial/serial-uclass.c | 35 +++-- drivers/serial/serial_mxc.c | 170 ++++++++++++++++++---- include/configs/cm_fx6.h | 11 ++ include/dm/platdata.h | 4 + include/linker_lists.h | 21 +++ include/serial_mxc.h | 14 ++ 12 files changed, 545 insertions(+), 50 deletions(-) create mode 100644 include/serial_mxc.h