Skip to contentSkip to conversation

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

PATCH New Brandon Cheo Fusi 1 participant 1 message Apr 20, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

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.

---
 drivers/gpu/drm/panel/panel-simple.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +3 -0
index 065f378bb..f3d114f3d 100644
@@ -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 = {
Signature · 1 line
2.30.2