[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230314115644.3775169-5-gerald.loacker@wolfvision.net>
Date: Tue, 14 Mar 2023 12:56:41 +0100
From: Gerald Loacker <gerald.loacker@...fvision.net>
To: dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Thierry Reding <thierry.reding@...il.com>,
Sam Ravnborg <sam@...nborg.org>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Maxime Ripard <mripard@...nel.org>,
Michael Riesch <michael.riesch@...fvision.net>,
Gerald Loacker <gerald.loacker@...fvision.net>
Subject: [PATCH 4/7] drm/panel: sitronix-st7789v: add bus_flags to connector
Propagate pixel clock sampling edge and data enable polarity. Both are
hardcoded.
Signed-off-by: Gerald Loacker <gerald.loacker@...fvision.net>
---
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
Powered by blists - more mailing lists