mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
25 lines
864 B
Diff
25 lines
864 B
Diff
From ab8ba584f91576c41d921076221ceb48e2930ae0 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Thu, 18 Jan 2024 11:08:03 +0000
|
|
Subject: [PATCH] ARM: pl011: Add rs485 to the RP1 support
|
|
|
|
pl011_axi_probe, added for RP1 support, lacks the rs485 additions that
|
|
appeared during its development.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/tty/serial/amba-pl011.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/tty/serial/amba-pl011.c
|
|
+++ b/drivers/tty/serial/amba-pl011.c
|
|
@@ -3026,6 +3026,8 @@ static int pl011_axi_probe(struct platfo
|
|
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");
|
|
|