Skip to content

Commit b554c00

Browse files
SpieringsAEsuperna9999
authored andcommitted
drm/panel: simple: add BOE AV101HDT-A10 panel
add support for the BOE AV101HDT-A10 10.1" LVDS panel Signed-off-by: Maud Spierings <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 1a4d1d9 commit b554c00

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,35 @@ static const struct panel_desc bananapi_s070wv20_ct16 = {
13741374
},
13751375
};
13761376

1377+
static const struct display_timing boe_av101hdt_a10_timing = {
1378+
.pixelclock = { 74210000, 75330000, 76780000, },
1379+
.hactive = { 1280, 1280, 1280, },
1380+
.hfront_porch = { 10, 42, 33, },
1381+
.hback_porch = { 10, 18, 33, },
1382+
.hsync_len = { 30, 10, 30, },
1383+
.vactive = { 720, 720, 720, },
1384+
.vfront_porch = { 200, 183, 200, },
1385+
.vback_porch = { 8, 8, 8, },
1386+
.vsync_len = { 2, 19, 2, },
1387+
.flags = DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW,
1388+
};
1389+
1390+
static const struct panel_desc boe_av101hdt_a10 = {
1391+
.timings = &boe_av101hdt_a10_timing,
1392+
.num_timings = 1,
1393+
.bpc = 8,
1394+
.size = {
1395+
.width = 224,
1396+
.height = 126,
1397+
},
1398+
.delay = {
1399+
.enable = 50,
1400+
.disable = 50,
1401+
},
1402+
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
1403+
.connector_type = DRM_MODE_CONNECTOR_LVDS,
1404+
};
1405+
13771406
static const struct drm_display_mode boe_bp101wx1_100_mode = {
13781407
.clock = 78945,
13791408
.hdisplay = 1280,
@@ -4813,6 +4842,9 @@ static const struct of_device_id platform_of_match[] = {
48134842
}, {
48144843
.compatible = "bananapi,s070wv20-ct16",
48154844
.data = &bananapi_s070wv20_ct16,
4845+
}, {
4846+
.compatible = "boe,av101hdt-a10",
4847+
.data = &boe_av101hdt_a10,
48164848
}, {
48174849
.compatible = "boe,bp082wx1-100",
48184850
.data = &boe_bp082wx1_100,

0 commit comments

Comments
 (0)