shub_uart5, shub_uart6逻辑设计时没有独立的中断上报到soc测,是和shub_uart1,shub_uart2共用中断号的,采用共享中断模式:
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index e242371..68b27c5 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -1726,8 +1726,17 @@ static void pl011_write_lcr_h(struct uart_amba_port *uap, unsigned int lcr_h)
static int pl011_allocate_irq(struct uart_amba_port *uap)
{
pl011_write(uap->im, uap, REG_IMSC);
#ifdef CONFIG_ARCH_HI3559AV100
if((uap->port.line == 6) || (uap->port.line == 7) || (uap->port.line == 10) || (uap->port.line == 11))
return request_irq(uap->port.irq, pl011_int, IRQF_SHARED, "uart-pl011", uap);
else
return request_irq(uap->port.irq, pl011_int, 0, "uart-pl011", uap);
#else
return request_irq(uap->port.irq, pl011_int, 0, "uart-pl011", uap);
#endif
}