dm: ns16550: Add support for reg-offset property
authorMichal Simek <michal.simek@xilinx.com>
Tue, 16 Feb 2016 15:05:23 +0000 (16:05 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 22 Feb 2016 15:21:10 +0000 (16:21 +0100)
commitd9a3bec682f9756621615f4306718a356a3230e3
tree60d313b23d9b671bf88eedfce54f196cf76c5643
parent39bc1a8c8f5eb3238a3349bd4810fabac4118104
dm: ns16550: Add support for reg-offset property

reg-offset is the part of standard 8250 binding in the kernel.
It is shifting start of address space by reg-offset.
On Xilinx platform this offset is typically 0x1000.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/serial/ns16550.c
include/ns16550.h