summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2021-10-14 21:56:54 +0300
committerEmil Renner Berthing <kernel@esmil.dk>2022-03-27 18:01:14 +0300
commitef595d8428f9b2c8e701bdc5b63dc9851fbb82d5 (patch)
treebfa30e3f46c47ba8bc17c1cc9e4862d8e87695dc
parent3c627d86e04570567668aa8f9410826ba73324c3 (diff)
downloadlinux-ef595d8428f9b2c8e701bdc5b63dc9851fbb82d5.tar.xz
serial: 8250_dw: Add starfive,jh7100-hsuart compatible
This adds a compatible for the high speed UARTs on the StarFive JH7100 RISC-V SoC. Just like the regular uarts we also need to keep the input clocks at their default rate and rely only on the divisor in the UART. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
-rw-r--r--drivers/tty/serial/8250/8250_dw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c
index f564a019a7be..96a62e95726b 100644
--- a/drivers/tty/serial/8250/8250_dw.c
+++ b/drivers/tty/serial/8250/8250_dw.c
@@ -704,6 +704,7 @@ static const struct of_device_id dw8250_of_match[] = {
{ .compatible = "cavium,octeon-3860-uart", .data = (void *)DW_UART_QUIRK_OCTEON },
{ .compatible = "marvell,armada-38x-uart", .data = (void *)DW_UART_QUIRK_ARMADA_38X },
{ .compatible = "renesas,rzn1-uart" },
+ { .compatible = "starfive,jh7100-hsuart", .data = (void *)DW_UART_QUIRK_SKIP_SET_RATE },
{ .compatible = "starfive,jh7100-uart", .data = (void *)DW_UART_QUIRK_SKIP_SET_RATE },
{ /* Sentinel */ }
};