Skip to content

Commit

Permalink
ARM: pl011: Add rs485 to the RP1 support
Browse files Browse the repository at this point in the history
pl011_axi_probe, added for RP1 support, lacks the rs485 additions that
appeared during its development.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
  • Loading branch information
pelwell committed Jan 19, 2024
1 parent d95b37f commit 478e4f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/tty/serial/amba-pl011.c
Original file line number Diff line number Diff line change
Expand Up @@ -3033,6 +3033,8 @@ static int pl011_axi_probe(struct platform_device *pdev)
uap->port.iotype = vendor->access_32b ? UPIO_MEM32 : UPIO_MEM;
uap->port.irq = irq;
uap->port.ops = &amba_pl011_pops;
uap->port.rs485_config = pl011_rs485_config;
uap->port.rs485_supported = pl011_rs485_supported;

snprintf(uap->type, sizeof(uap->type), "PL011 AXI");

Expand Down

0 comments on commit 478e4f8

Please sign in to comment.