mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
From d5377dd13e91af81f8f31e93532c62216842038c Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Fri, 26 Apr 2024 19:20:41 +0100
|
|
Subject: [PATCH 1070/1085] drm/panel-simple: Increase pixel clock on Pi 7inch
|
|
panel
|
|
|
|
The Toshiba bridge is very fussy and doesn't like the CM3
|
|
output when being told to produce a 27.777MHz pixel clock, which
|
|
is an almost perfect match to the DSI link integer divider.
|
|
|
|
Increasing to 30MHz will switch the DSI link from 333MHz to 400MHz
|
|
and makes the bridge happy with the same video timing as works
|
|
on Pi4.
|
|
(Pi4 will be using a link frequency of 375MHz due to a 3GHz
|
|
parent PLL).
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/panel/panel-simple.c | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/panel/panel-simple.c
|
|
+++ b/drivers/gpu/drm/panel/panel-simple.c
|
|
@@ -3416,11 +3416,11 @@ static const struct panel_desc rocktech_
|
|
};
|
|
|
|
static const struct drm_display_mode raspberrypi_7inch_mode = {
|
|
- .clock = 27777,
|
|
+ .clock = 30000,
|
|
.hdisplay = 800,
|
|
- .hsync_start = 800 + 59,
|
|
- .hsync_end = 800 + 59 + 2,
|
|
- .htotal = 800 + 59 + 2 + 45,
|
|
+ .hsync_start = 800 + 131,
|
|
+ .hsync_end = 800 + 131 + 2,
|
|
+ .htotal = 800 + 131 + 2 + 45,
|
|
.vdisplay = 480,
|
|
.vsync_start = 480 + 7,
|
|
.vsync_end = 480 + 7 + 2,
|