[PATCH] drm/panel: simple: Add panel info for Banana Pi 7" S070WV20-CT16 panel

Brandon Cheo Fusi fusibrandon13 at gmail.com
Tue Apr 18 15:28:23 UTC 2023


Though there isn't a datasheet for this panel to support this claim, tests
with the Banana Pi M2M board show that the data enable signal is active high.
Setting this explicitly is required when modelling the panel as a drm_bridge
connected to a 'panel-simple' device, which is what it is.

Signed-off-by: Brandon Cheo Fusi <fusibrandon13 at gmail.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 065f378bb..f3d114f3d 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1209,6 +1209,9 @@ static const struct panel_desc bananapi_s070wv20_ct16 = {
 		.width = 154,
 		.height = 86,
 	},
+	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
+	.connector_type = DRM_MODE_CONNECTOR_DPI,
 };
 
 static const struct drm_display_mode boe_hv070wsa_mode = {
-- 
2.30.2



More information about the dri-devel mailing list