openwrt/target/linux/brcm2708/patches-4.19/950-0144-bcm2708-rpi-Disable-txp-interrupt-unless-using-vc4-k.patch
Álvaro Fernández Rojas 4295485719 brcm2708: add linux 4.19 support
Boot tested on Raspberry Pi B+ (BCM2708) and Raspberry Pi 2 (BCM2709)

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2019-07-14 12:44:14 +02:00

42 lines
1005 B
Diff

From 158c6b75bd52edff52b9499313935c9d0f154eb2 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 17 Oct 2018 16:32:52 +0100
Subject: [PATCH 144/703] 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";