aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.19/950-0144-bcm2708-rpi-Disable-txp-interrupt-unless-using-vc4-k.patch
blob: 622c2ff69a0694c69193b4cf02a86564aa73de49 (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 d659979d89c1de698fa7c7e28951c4f09f9dfafd Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Oct 2018 16:32:52 +0100
Subject: [PATCH 144/725] 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";