Skip to contentSkip to conversation

drm/panel: simple: Fix bus flags for ortustech com43h4m85ulc

PATCH Superseded Marek Vasut 2 participants 3 messages Aug 26, 2016

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panel: simple: Fix bus flags for ortustech com43h4m85ulc

This display expects DE pin to be active high, add the necessary flag.

Cc Philipp Zabel <[email protected]>
Cc Thierry Reding <[email protected]>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-simple.c +1 -0
index 3a7bdf1..f4c546d 100644
@@ -1198,6 +1198,7 @@ static const struct panel_desc ortustech_com43h4m85ulc = {
 		.height = 93,
 	},
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
 };
 
 static const struct drm_display_mode qd43003c0_40_mode = {
Signature · 6 lines
2.9.3

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw

Hi Marek,

Am Freitag, den 26.08.2016, 16:24 +0200 schrieb Marek Vasut:

Quoted 14 lines

This display expects DE pin to be active high, add the necessary flag.

Cc Philipp Zabel <[email protected]>
Cc Thierry Reding <[email protected]>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-simple.c +0 -0
index 3a7bdf1..f4c546d 100644

drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc ortustech_com43h4m85ulc = { · line 1201

Quoted 4 lines
drivers/gpu/drm/panel/panel-simple.c +1 -0
@@ -1198,6 +1198,7 @@ static const struct panel_desc ortustech_com43h4m85ulc = {
 		.height = 93,
 	},
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,

While at it, you could also add DRM_BUS_FLAG_PIXDATA_POSEDGE. The panel expects pixel data to be driven with the rising edge of the pixel clock, it samples on the falling edge.

regards
Philipp

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
Quoted 24 lines · Philipp Zabel

Hi Marek,

Am Freitag, den 26.08.2016, 16:24 +0200 schrieb Marek Vasut:

Quoted 14 lines

This display expects DE pin to be active high, add the necessary flag.

Cc Philipp Zabel <[email protected]>
Cc Thierry Reding <[email protected]>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-simple.c +0 -0
index 3a7bdf1..f4c546d 100644

drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc ortustech_com43h4m85ulc = { · line 1201

Quoted 4 lines
drivers/gpu/drm/panel/panel-simple.c +1 -0
@@ -1198,6 +1198,7 @@ static const struct panel_desc ortustech_com43h4m85ulc = {
 		.height = 93,
 	},
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
Quoted 3 lines

While at it, you could also add DRM_BUS_FLAG_PIXDATA_POSEDGE. The panel expects pixel data to be driven with the rising edge of the pixel clock, it samples on the falling edge.

Ah, let me add the flag and repost then.

Signature · 6 lines
Best regards,
Marek Vasut
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel