drm/bridge: lt9611: Fix PLL being unable to lock
authorRobert Foss <robert.foss@linaro.org>
Tue, 13 Dec 2022 15:03:04 +0000 (16:03 +0100)
committerRobert Foss <robert.foss@linaro.org>
Thu, 15 Dec 2022 10:18:52 +0000 (11:18 +0100)
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
drivers/gpu/drm/bridge/lontium-lt9611.c

index ffcdc8d..3ce4e49 100644 (file)
@@ -259,6 +259,7 @@ static int lt9611_pll_setup(struct lt9611 *lt9611, const struct drm_display_mode
                { 0x8126, 0x55 },
                { 0x8127, 0x66 },
                { 0x8128, 0x88 },
+               { 0x812a, 0x20 },
        };
 
        regmap_multi_reg_write(lt9611->regmap, reg_cfg, ARRAY_SIZE(reg_cfg));