1 From ab8ba584f91576c41d921076221ceb48e2930ae0 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Thu, 18 Jan 2024 11:08:03 +0000
4 Subject: [PATCH] ARM: pl011: Add rs485 to the RP1 support
6 pl011_axi_probe, added for RP1 support, lacks the rs485 additions that
7 appeared during its development.
9 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
11 drivers/tty/serial/amba-pl011.c | 2 ++
12 1 file changed, 2 insertions(+)
14 --- a/drivers/tty/serial/amba-pl011.c
15 +++ b/drivers/tty/serial/amba-pl011.c
16 @@ -3026,6 +3026,8 @@ static int pl011_axi_probe(struct platfo
17 uap->port.iotype = vendor->access_32b ? UPIO_MEM32 : UPIO_MEM;
19 uap->port.ops = &amba_pl011_pops;
20 + uap->port.rs485_config = pl011_rs485_config;
21 + uap->port.rs485_supported = pl011_rs485_supported;
23 snprintf(uap->type, sizeof(uap->type), "PL011 AXI");