dm: rtc: Add 16-bit read/write support
authorBin Meng <bmeng.cn@gmail.com>
Thu, 16 Mar 2017 14:26:27 +0000 (07:26 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 10 Apr 2017 02:02:03 +0000 (10:02 +0800)
commitd24c7fbcc5e530bb5a2b5326869aaa2d7a61d607
tree554bd94a3cad5bd697a9adfc6fc54cca60fbd3d1
parentc04cf0a5717372f8546d07cdb6a13abcdcc5be85
dm: rtc: Add 16-bit read/write support

At present there are only 8-bit and 32-bit read/write routines in
the rtc uclass driver. This adds the 16-bit support.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/rtc/rtc-uclass.c
include/rtc.h