mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-05 11:57:06 +08:00

These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
From 5325ef02707af539ee2b21d6ac214005ad1f892b Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Thu, 6 Feb 2025 18:02:38 +0000
|
|
Subject: [PATCH] arm: dts: bcm2711-rpi: Add HEVC decoder node
|
|
|
|
Add the configuration information for the HEVC decoder.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi | 4 ++++
|
|
arch/arm/boot/dts/broadcom/bcm2711.dtsi | 9 +++++++++
|
|
2 files changed, 13 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi
|
|
+++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi
|
|
@@ -113,3 +113,7 @@
|
|
&vchiq {
|
|
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
+
|
|
+&hevc_dec {
|
|
+ clocks = <&firmware_clocks 11>;
|
|
+};
|
|
--- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi
|
|
+++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi
|
|
@@ -612,6 +612,15 @@
|
|
resets = <&pm BCM2835_RESET_V3D>;
|
|
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
+
|
|
+ hevc_dec: codec@7eb10000 {
|
|
+ compatible = "brcm,bcm2711-hevc-dec", "raspberrypi,hevc-dec";
|
|
+ reg = <0x0 0x7eb00000 0x10000>, /* HEVC */
|
|
+ <0x0 0x7eb10000 0x1000>; /* INTC */
|
|
+ reg-names = "hevc",
|
|
+ "intc";
|
|
+ interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ };
|
|
};
|
|
};
|
|
|