mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
26 lines
895 B
Diff
26 lines
895 B
Diff
From 7af1e18d2e90ec64f7cb78cdb5163b63b9fbb056 Mon Sep 17 00:00:00 2001
|
|
From: eng33 <eng33@waveshare.com>
|
|
Date: Wed, 3 Jan 2024 11:45:04 +0800
|
|
Subject: [PATCH] drivers/gpu/drm/panel:Modify the DSI mode to fix the problem
|
|
that 7.9inch cannot be displayed
|
|
|
|
Signed-off-by: eng33 <eng33@waveshare.com>
|
|
---
|
|
drivers/gpu/drm/panel/panel-waveshare-dsi.c | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/panel/panel-waveshare-dsi.c
|
|
+++ b/drivers/gpu/drm/panel/panel-waveshare-dsi.c
|
|
@@ -340,9 +340,8 @@ static int ws_panel_probe(struct i2c_cli
|
|
*/
|
|
drm_panel_add(&ts->base);
|
|
|
|
- ts->dsi->mode_flags = (MIPI_DSI_MODE_VIDEO |
|
|
- MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
|
|
- MIPI_DSI_MODE_LPM);
|
|
+ ts->dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO |
|
|
+ MIPI_DSI_CLOCK_NON_CONTINUOUS;
|
|
ts->dsi->format = MIPI_DSI_FMT_RGB888;
|
|
ts->dsi->lanes = 2;
|
|
|