Skip to contentSkip to conversation

drm/bridge: lt9611: Fix PLL being unable to lock

PATCH Applied Robert Foss 2 participants 3 messages Dec 13, 2022 – Dec 15, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/bridge: lt9611: Fix PLL being unable to lock

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.

---
 drivers/gpu/drm/bridge/lontium-lt9611.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/lontium-lt9611.c +1 -0
index ffcdc8dba3798..3ce4e495aee50 100644
@@ -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));
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Robert Foss

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.

Quoted 21 lines
---
 drivers/gpu/drm/bridge/lontium-lt9611.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/lontium-lt9611.c +1 -1
index ffcdc8dba3798..3ce4e495aee50 100644
@@ -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));
--

2.34.1

author Applied
#2 lore raw
In reply to Robert Foss
Quoted 9 lines · Robert Foss

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.

[...]

Applied, thanks!

Repo: https://cgit.freedesktop.org/drm/drm-misc/

[1/1] drm/bridge: lt9611: Fix PLL being unable to lock

      commit: 2a9df204be0bbb896e087f00b9ee3fc559d5a608

rob