bcm27xx: add support for linux v5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.15 / 950-0592-dt-bcm283x-Change-BCM283x-HDMI-to-use-firmware-clock.patch
1 From 264b925a428d109529dca836dfb5160dd67f7f08 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 2 Dec 2021 14:11:09 +0000
4 Subject: [PATCH] dt: bcm283x: Change BCM283x HDMI to use firmware
5 clock driver
6
7 The clk-bcm2835 handling of the pixel clock does not function
8 correctly when the HDMI power domain is disabled.
9
10 The firmware supports it correctly, and the firmware clock
11 driver now supports it, so switch the vc4-hdmi driver to use
12 the firmware clock driver.
13
14 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
15 ---
16 arch/arm/boot/dts/bcm2835-common.dtsi | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 --- a/arch/arm/boot/dts/bcm2835-common.dtsi
20 +++ b/arch/arm/boot/dts/bcm2835-common.dtsi
21 @@ -128,7 +128,7 @@
22 "hd";
23 interrupts = <2 8>, <2 9>;
24 ddc = <&i2c2>;
25 - clocks = <&clocks BCM2835_PLLH_PIX>,
26 + clocks = <&firmware_clocks 9>,
27 <&clocks BCM2835_CLOCK_HSM>;
28 clock-names = "pixel", "hdmi";
29 dmas = <&dma (17|(1<<27)|(1<<24))>;