[U-Boot] [PATCH v5] dm: sh: serial: Add support driver model

Simon Glass sjg at chromium.org
Thu Feb 12 23:14:35 CET 2015


On 11 February 2015 at 21:48, Nobuhiro Iwamatsu
<nobuhiro.iwamatsu.yj at renesas.com> wrote:
> This adds driver model support with this driver. This was tested by Koelsch
> board and Gose board.
>
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
> ---
>   V5: Fix build with SH7723 and more.
>   V4: Fix build with SH.
>   V3: Add function of checking -EAGAIN without DM.
>   V2: Fix loop for tx fifo and tx fifo.
>       Fix write return code writing with DM.
>
>  drivers/serial/serial_sh.c           | 321 ++++++++++++++++++++++++-----------
>  drivers/serial/serial_sh.h           |  30 ++--
>  include/dm/platform_data/serial_sh.h |  37 ++++
>  3 files changed, 275 insertions(+), 113 deletions(-)
>  create mode 100644 include/dm/platform_data/serial_sh.h

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list