[PATCH 4/7] drm/panel: sitronix-st7789v: add bus_flags to connector
From: Gerald Loacker
Date: Tue Mar 14 2023 - 08:00:00 EST
Propagate pixel clock sampling edge and data enable polarity. Both are
hardcoded.
Signed-off-by: Gerald Loacker <gerald.loacker@xxxxxxxxxxxxxx>
---
drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c
index 24636722c2ff..1ca04585aff2 100644
--- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c
+++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c
@@ -195,6 +195,8 @@ static int st7789v_get_modes(struct drm_panel *panel,
drm_display_info_set_bus_formats(&connector->display_info, &bus_format,
1);
+ connector->display_info.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+ DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE;
/*
* TODO: Remove once all drm drivers call
--
2.37.2