]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.15-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2023 14:18:07 +0000 (16:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2023 14:18:07 +0000 (16:18 +0200)
added patches:
drm-bridge-lt9611-fix-pll-being-unable-to-lock.patch

queue-5.15/drm-bridge-lt9611-fix-pll-being-unable-to-lock.patch [new file with mode: 0644]
queue-5.15/series

diff --git a/queue-5.15/drm-bridge-lt9611-fix-pll-being-unable-to-lock.patch b/queue-5.15/drm-bridge-lt9611-fix-pll-being-unable-to-lock.patch
new file mode 100644 (file)
index 0000000..53977f0
--- /dev/null
@@ -0,0 +1,37 @@
+From 2a9df204be0bbb896e087f00b9ee3fc559d5a608 Mon Sep 17 00:00:00 2001
+From: Robert Foss <robert.foss@linaro.org>
+Date: Tue, 13 Dec 2022 16:03:04 +0100
+Subject: drm/bridge: lt9611: Fix PLL being unable to lock
+
+From: Robert Foss <robert.foss@linaro.org>
+
+commit 2a9df204be0bbb896e087f00b9ee3fc559d5a608 upstream.
+
+This fixes PLL being unable to lock, and is derived from an equivalent
+downstream commit.
+
+Available LT9611 documentation does not list this register, neither does
+LT9611UXC (which is a different chip).
+
+This commit has been confirmed to fix HDMI output on DragonBoard 845c.
+
+Suggested-by: Amit Pundir <amit.pundir@linaro.org>
+Reviewed-by: Amit Pundir <amit.pundir@linaro.org>
+Signed-off-by: Robert Foss <robert.foss@linaro.org>
+Link: https://patchwork.freedesktop.org/patch/msgid/20221213150304.4189760-1-robert.foss@linaro.org
+Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/gpu/drm/bridge/lontium-lt9611.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/gpu/drm/bridge/lontium-lt9611.c
++++ b/drivers/gpu/drm/bridge/lontium-lt9611.c
+@@ -256,6 +256,7 @@ static int lt9611_pll_setup(struct lt961
+               { 0x8126, 0x55 },
+               { 0x8127, 0x66 },
+               { 0x8128, 0x88 },
++              { 0x812a, 0x20 },
+       };
+       regmap_multi_reg_write(lt9611->regmap, reg_cfg, ARRAY_SIZE(reg_cfg));
index 4a473f8740cac7758c0de12fc5c2473ab5f28aba..1048d11634afd43dad20ebb86d99d7b910d6cd0c 100644 (file)
@@ -89,3 +89,4 @@ drm-panfrost-fix-the-panfrost_mmu_map_fault_addr-error-path.patch
 drm-nouveau-disp-support-more-modes-by-checking-with-lower-bpc.patch
 ring-buffer-fix-race-while-reader-and-writer-are-on-the-same-page.patch
 mm-swap-fix-swap_info_struct-race-between-swapoff-and-get_swap_pages.patch
+drm-bridge-lt9611-fix-pll-being-unable-to-lock.patch