aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.15/950-0592-dt-bcm283x-Change-BCM283x-HDMI-to-use-firmware-clock.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-5.15/950-0592-dt-bcm283x-Change-BCM283x-HDMI-to-use-firmware-clock.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.15/950-0592-dt-bcm283x-Change-BCM283x-HDMI-to-use-firmware-clock.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.15/950-0592-dt-bcm283x-Change-BCM283x-HDMI-to-use-firmware-clock.patch b/target/linux/bcm27xx/patches-5.15/950-0592-dt-bcm283x-Change-BCM283x-HDMI-to-use-firmware-clock.patch
new file mode 100644
index 0000000000..90ee192dab
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.15/950-0592-dt-bcm283x-Change-BCM283x-HDMI-to-use-firmware-clock.patch
@@ -0,0 +1,29 @@
+From 264b925a428d109529dca836dfb5160dd67f7f08 Mon Sep 17 00:00:00 2001
+From: Dave Stevenson <dave.stevenson@raspberrypi.com>
+Date: Thu, 2 Dec 2021 14:11:09 +0000
+Subject: [PATCH] dt: bcm283x: Change BCM283x HDMI to use firmware
+ clock driver
+
+The clk-bcm2835 handling of the pixel clock does not function
+correctly when the HDMI power domain is disabled.
+
+The firmware supports it correctly, and the firmware clock
+driver now supports it, so switch the vc4-hdmi driver to use
+the firmware clock driver.
+
+Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
+---
+ arch/arm/boot/dts/bcm2835-common.dtsi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/bcm2835-common.dtsi
++++ b/arch/arm/boot/dts/bcm2835-common.dtsi
+@@ -128,7 +128,7 @@
+ "hd";
+ interrupts = <2 8>, <2 9>;
+ ddc = <&i2c2>;
+- clocks = <&clocks BCM2835_PLLH_PIX>,
++ clocks = <&firmware_clocks 9>,
+ <&clocks BCM2835_CLOCK_HSM>;
+ clock-names = "pixel", "hdmi";
+ dmas = <&dma (17|(1<<27)|(1<<24))>;