d8307f900951f486ad5c1093658624ad97ac8bc6
[openwrt/staging/xback.git] /
1 From bd8e59b0456870997fb917bcd3b3b696e78d4ac2 Mon Sep 17 00:00:00 2001
2 From: 6by9 <6by9@users.noreply.github.com>
3 Date: Mon, 19 Jun 2023 16:02:36 +0100
4 Subject: [PATCH] dtoverlays: Fix pitft[28|35] overlays for 6.1 driver change.
5 (#5508)
6
7 The overlays configured both irq-gpio and an interrupts/
8 interrupt-parent configuration for the stmpe MFD device.
9
10 irq-gpio was reworked in 6.1 and has issues with the configuration
11 as provided. Removing it and using the interrupts/interrupt-parent
12 configuration works fine, so do that.
13
14 See: https://forums.raspberrypi.com/viewtopic.php?t=351394
15
16 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
17 ---
18 arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts | 1 -
19 arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts | 1 -
20 2 files changed, 2 deletions(-)
21
22 --- a/arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts
23 +++ b/arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts
24 @@ -68,7 +68,6 @@
25 reg = <1>;
26
27 spi-max-frequency = <500000>;
28 - irq-gpio = <&gpio 24 0x2>; /* IRQF_TRIGGER_FALLING */
29 interrupts = <24 2>; /* high-to-low edge triggered */
30 interrupt-parent = <&gpio>;
31 interrupt-controller;
32 --- a/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
33 +++ b/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
34 @@ -68,7 +68,6 @@
35 reg = <1>;
36
37 spi-max-frequency = <500000>;
38 - irq-gpio = <&gpio 24 0x2>; /* IRQF_TRIGGER_FALLING */
39 interrupts = <24 2>; /* high-to-low edge triggered */
40 interrupt-parent = <&gpio>;
41 interrupt-controller;