Skip to content

Commit 11ac72d

Browse files
author
Marek Vasut
committed
drm/panel: simple: Add missing Innolux G121X1-L03 format, flags, connector
The .bpc = 6 implies .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG , add the missing bus_format. Add missing connector type and bus_flags as well. Documentation [1] 1.4 GENERAL SPECIFICATI0NS indicates this panel is capable of both RGB 18bit/24bit panel, the current configuration uses 18bit mode, .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG , .bpc = 6. Support for the 24bit mode would require another entry in panel-simple with .bus_format = MEDIA_BUS_FMT_RGB666_1X7X4_SPWG and .bpc = 8, which is out of scope of this fix. [1] https://www.distec.de/fileadmin/pdf/produkte/TFT-Displays/Innolux/G121X1-L03_Datasheet.pdf Fixes: f8fa17b ("drm/panel: simple: Add support for Innolux G121X1-L03") Signed-off-by: Marek Vasut <[email protected]> Acked-by: Jessica Zhang <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7859c1f commit 11ac72d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/panel/panel-simple.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2617,6 +2617,9 @@ static const struct panel_desc innolux_g121x1_l03 = {
26172617
.unprepare = 200,
26182618
.disable = 400,
26192619
},
2620+
.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG,
2621+
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
2622+
.connector_type = DRM_MODE_CONNECTOR_LVDS,
26202623
};
26212624

26222625
static const struct display_timing innolux_g156hce_l01_timings = {

0 commit comments

Comments
 (0)