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

Simon Glass sjg at chromium.org
Wed Dec 17 17:28:24 CET 2014


On 16 December 2014 at 17:03, 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>
> ---
>  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           |  10 +-
>  include/dm/platform_data/serial_sh.h |  37 ++++
>  3 files changed, 260 insertions(+), 108 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