linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] drm/bridge: lt9611: Fix PLL being unable to lock
@ 2022-12-13 15:03 Robert Foss
  2022-12-13 16:46 ` Amit Pundir
  2022-12-15 10:26 ` Robert Foss
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Foss @ 2022-12-13 15:03 UTC (permalink / raw)
  To: andrzej.hajda, neil.armstrong, robert.foss, Laurent.pinchart,
	jonas, jernej.skrabec, airlied, daniel, dri-devel, linux-kernel,
	Amit Pundir

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>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
---
 drivers/gpu/drm/bridge/lontium-lt9611.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/bridge/lontium-lt9611.c b/drivers/gpu/drm/bridge/lontium-lt9611.c
index ffcdc8dba3798..3ce4e495aee50 100644
--- a/drivers/gpu/drm/bridge/lontium-lt9611.c
+++ b/drivers/gpu/drm/bridge/lontium-lt9611.c
@@ -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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] drm/bridge: lt9611: Fix PLL being unable to lock
  2022-12-13 15:03 [PATCH v1] drm/bridge: lt9611: Fix PLL being unable to lock Robert Foss
@ 2022-12-13 16:46 ` Amit Pundir
  2022-12-15 10:26 ` Robert Foss
  1 sibling, 0 replies; 3+ messages in thread
From: Amit Pundir @ 2022-12-13 16:46 UTC (permalink / raw)
  To: Robert Foss
  Cc: stable, andrzej.hajda, neil.armstrong, Laurent.pinchart, jonas,
	jernej.skrabec, airlied, daniel, dri-devel, linux-kernel

On Tue, 13 Dec 2022 at 20:33, Robert Foss <robert.foss@linaro.org> wrote:
>
> 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.
>

Cc: <stable@vger.kernel.org>    [v5.10+]
Reviewed-by: Amit Pundir <amit.pundir@linaro.org>

> Suggested-by: Amit Pundir <amit.pundir@linaro.org>
> Signed-off-by: Robert Foss <robert.foss@linaro.org>
> ---
>  drivers/gpu/drm/bridge/lontium-lt9611.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/bridge/lontium-lt9611.c b/drivers/gpu/drm/bridge/lontium-lt9611.c
> index ffcdc8dba3798..3ce4e495aee50 100644
> --- a/drivers/gpu/drm/bridge/lontium-lt9611.c
> +++ b/drivers/gpu/drm/bridge/lontium-lt9611.c
> @@ -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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] drm/bridge: lt9611: Fix PLL being unable to lock
  2022-12-13 15:03 [PATCH v1] drm/bridge: lt9611: Fix PLL being unable to lock Robert Foss
  2022-12-13 16:46 ` Amit Pundir
@ 2022-12-15 10:26 ` Robert Foss
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Foss @ 2022-12-15 10:26 UTC (permalink / raw)
  To: neil.armstrong, dri-devel, andrzej.hajda, jonas, linux-kernel,
	Laurent.pinchart, airlied, Robert Foss, daniel, jernej.skrabec,
	Amit Pundir

On Tue, 13 Dec 2022 16:03:04 +0100, Robert Foss wrote:
> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-15 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 15:03 [PATCH v1] drm/bridge: lt9611: Fix PLL being unable to lock Robert Foss
2022-12-13 16:46 ` Amit Pundir
2022-12-15 10:26 ` Robert Foss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).