summaryrefslogtreecommitdiff
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorBinbin Zhou <zhoubinbin@loongson.cn>2025-10-11 15:16:48 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-26 13:15:17 +0100
commit25e95d763176854e961aaf0f8a76f435f2dab974 (patch)
treede1f3a85be92449e81848906410cae5a1fe98913 /rust/helpers/pci.c
parent7cf86b66e5628c55899e7b00ce5015b3f2750f35 (diff)
serial: 8250: Add Loongson uart driver support
Add the driver for on-chip UART used on Loongson family chips. The hardware is similar to NS16550A, but there are the following differences: - Some chips (such as Loongson-2K2000) have added a fractional division register to obtain the required baud rate accurately, so the {get,set}_divisor callback is overridden. - Due to hardware defects, quirk handling is required for UART_MCR/UART_MSR. Co-developed-by: Haowei Zheng <zhenghaowei@loongson.cn> Signed-off-by: Haowei Zheng <zhenghaowei@loongson.cn> Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> Reviewed-by: Huacai Chen <chenhuacai@loongson.cn> Link: https://patch.msgid.link/2c2a01a276b9250efea0c7aa190efecdfd6fdf5a.1760166651.git.zhoubinbin@loongson.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions