mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +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>
42 lines
1.5 KiB
Diff
42 lines
1.5 KiB
Diff
From bd8e59b0456870997fb917bcd3b3b696e78d4ac2 Mon Sep 17 00:00:00 2001
|
|
From: 6by9 <6by9@users.noreply.github.com>
|
|
Date: Mon, 19 Jun 2023 16:02:36 +0100
|
|
Subject: [PATCH] dtoverlays: Fix pitft[28|35] overlays for 6.1 driver change.
|
|
(#5508)
|
|
|
|
The overlays configured both irq-gpio and an interrupts/
|
|
interrupt-parent configuration for the stmpe MFD device.
|
|
|
|
irq-gpio was reworked in 6.1 and has issues with the configuration
|
|
as provided. Removing it and using the interrupts/interrupt-parent
|
|
configuration works fine, so do that.
|
|
|
|
See: https://forums.raspberrypi.com/viewtopic.php?t=351394
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts | 1 -
|
|
arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts | 1 -
|
|
2 files changed, 2 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts
|
|
@@ -68,7 +68,6 @@
|
|
reg = <1>;
|
|
|
|
spi-max-frequency = <500000>;
|
|
- irq-gpio = <&gpio 24 0x2>; /* IRQF_TRIGGER_FALLING */
|
|
interrupts = <24 2>; /* high-to-low edge triggered */
|
|
interrupt-parent = <&gpio>;
|
|
interrupt-controller;
|
|
--- a/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
|
|
@@ -68,7 +68,6 @@
|
|
reg = <1>;
|
|
|
|
spi-max-frequency = <500000>;
|
|
- irq-gpio = <&gpio 24 0x2>; /* IRQF_TRIGGER_FALLING */
|
|
interrupts = <24 2>; /* high-to-low edge triggered */
|
|
interrupt-parent = <&gpio>;
|
|
interrupt-controller;
|