aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-4.19/950-0135-bcm2708-rpi-Disable-txp-interrupt-unless-using-vc4-k.patch
blob: 40a6652527171708340548a9e876a46a2595d9e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 44b80e04ec619a2e28ff150c3e09123399002d6d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Oct 2018 16:32:52 +0100
Subject: [PATCH] bcm2708-rpi: Disable txp interrupt unless using
 vc4-kms-v3d overlay

Signed-off-by: popcornmix <popcornmix@gmail.com>
---
 arch/arm/boot/dts/bcm2708-rpi.dtsi                 | 4 ++++
 arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts | 7 +++++++
 2 files changed, 11 insertions(+)

--- a/arch/arm/boot/dts/bcm2708-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2708-rpi.dtsi
@@ -89,6 +89,10 @@
 		sound: sound {
 			status = "disabled";
 		};
+
+		txp: txp@7e004000 {
+			status = "disabled";
+		};
 	};
 
 	__overrides__ {
--- a/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
+++ b/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
@@ -141,6 +141,13 @@
 		};
 	};
 
+	fragment@17 {
+		target = <&txp>;
+		__overlay__  {
+			status = "okay";
+		};
+	};
+
 	__overrides__ {
 		cma-256 = <0>,"+0-1-2-3-4";
 		cma-192 = <0>,"-0+1-2-3-4";