drm/panel: simple: add bus flags for Innolux AT043TN24
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 11 Oct 2017 12:59:57 +0000 (14:59 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 18 Oct 2017 11:53:03 +0000 (13:53 +0200)
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>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171011125958.23064-2-p.zabel@pengutronix.de
drivers/gpu/drm/panel/panel-simple.c

index fae989b7477caf13bcda3aaec59940df8ecdfa19..1bbe212c4780471db6f2a6234ecde27678bc3125 100644 (file)
@@ -1033,6 +1033,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 = {