Skip to contentSkip to conversation

Patch "drm: rcar-du: lvds: Fix PLL frequency-related configuration" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Aug 27, 2017

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

drm: rcar-du: lvds: Fix PLL frequency-related configuration

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
drm-rcar-du-lvds-fix-pll-frequency-related-configuration.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 5e1ac3bdc6bbb4f378251b87625b8acfbfc4ae82 Mon Sep 17 00:00:00 2001

From: Laurent Pinchart <[email protected]>
Date: Mon, 7 Sep 2015 16:03:25 +0300
Subject: drm: rcar-du: lvds: Fix PLL frequency-related configuration

From: Laurent Pinchart <[email protected]>

commit 5e1ac3bdc6bbb4f378251b87625b8acfbfc4ae82 upstream.

The frequency checks don't match the datasheet, fix them.

---
 drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c +3 -3
@@ -56,11 +56,11 @@ static int rcar_du_lvdsenc_start(struct
 		return ret;
 
 	/* PLL clock configuration */
-	if (freq <= 38000)
+	if (freq < 39000)
 		pllcr = LVDPLLCR_CEEN | LVDPLLCR_COSEL | LVDPLLCR_PLLDLYCNT_38M;
-	else if (freq <= 60000)
+	else if (freq < 61000)
 		pllcr = LVDPLLCR_CEEN | LVDPLLCR_COSEL | LVDPLLCR_PLLDLYCNT_60M;
-	else if (freq <= 121000)
+	else if (freq < 121000)
 		pllcr = LVDPLLCR_CEEN | LVDPLLCR_COSEL | LVDPLLCR_PLLDLYCNT_121M;
 	else
 		pllcr = LVDPLLCR_PLLDLYCNT_150M;

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/drm-rcar-du-lvds-rename-pllen-bit-to-pllon.patch queue-4.4/drm-rcar-du-fix-crash-in-encoder-failure-error-path.patch queue-4.4/drm-rcar-du-fix-h-v-sync-signal-polarity-configuration.patch queue-4.4/drm-rcar-du-fix-display-timing-controller-parameter.patch queue-4.4/drm-rcar-du-lvds-fix-pll-frequency-related-configuration.patch