
17 Dec
2014
17 Dec
'14
5:28 p.m.
On 16 December 2014 at 17:03, Nobuhiro Iwamatsu nobuhiro.iwamatsu.yj@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@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@chromium.org