lib: utils/serial: support 'reg-offset' property
authorZong Li <zong.li@sifive.com>
Fri, 15 Apr 2022 02:24:20 +0000 (02:24 +0000)
committerAnup Patel <anup@brainfault.org>
Sun, 17 Apr 2022 08:27:48 +0000 (13:57 +0530)
commit5c5cbb53a4fd2f7d2a7038b584f8ee01266cef04
tree6b5b44ba31b880503dc722bd2a707b0d8b14e1f4
parent3383d6a4d1461bb029b21fa53417382e34ae4906
lib: utils/serial: support 'reg-offset' property

reg-offset property is used for offset to apply to the mapbase
from the start of the registers in 8250 UART. In Linux kernel,
it has been handled in 8250 UART driver.

dt-bindings:
<linux>/Documentation/devicetree/bindings/serial/8250.yaml

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
include/sbi_utils/fdt/fdt_helper.h
include/sbi_utils/serial/uart8250.h
lib/utils/fdt/fdt_helper.c
lib/utils/serial/fdt_serial_uart8250.c
lib/utils/serial/uart8250.c
platform/andes/ae350/platform.c
platform/andes/ae350/platform.h
platform/fpga/ariane/platform.c
platform/fpga/openpiton/platform.c
platform/template/platform.c