diff mbox

[2/3] drm/panel: simple: add bus flags for Innolux AT043TN24

Message ID 20171011125958.23064-2-p.zabel@pengutronix.de (mailing list archive)
State New, archived
Headers show

Commit Message

Philipp Zabel Oct. 11, 2017, 12:59 p.m. UTC
For LCD interface controllers that support configuring polarity of
pixel clock and data enable signal, specify bus flags in the panel
descriptor.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Marco Franchi Oct. 11, 2017, 4:13 p.m. UTC | #1
On Qua, 2017-10-11 at 14:59 +0200, Philipp Zabel wrote:
> For LCD interface controllers that support configuring polarity of

> pixel clock and data enable signal, specify bus flags in the panel

> descriptor.

> 

> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>


Tested-by: Marco Franchi <marco.franchi@nxp.com>
diff mbox

Patch

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index fd21ca799be8d..30944d006bf1c 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1032,6 +1032,7 @@  static const struct panel_desc innolux_at043tn24 = {
 		.height = 54,
 	},
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_POSEDGE,
 };
 
 static const struct drm_display_mode innolux_at070tn92_mode = {