dm: Add a uclass for serial devices
authorSimon Glass <sjg@chromium.org>
Thu, 4 Sep 2014 22:27:26 +0000 (16:27 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Sep 2014 19:00:00 +0000 (13:00 -0600)
commit57d92753d4cada5c314a7d6bcfe7ad79b00c2eb8
tree33a0908febf5da246e703633fcb51622c64db7e3
parent1f359e3611c55d9cfae88dafce04db1833033bd0
dm: Add a uclass for serial devices

Serial devices support simple byte input/output and a few operations to find
out whether data is available. Add a basic uclass for serial devices to be
used by drivers that are converted to driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/Makefile
drivers/serial/serial-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/serial.h