Skip to content

Commit d34bd3c

Browse files
SpieringsAEsuperna9999
authored andcommitted
drm/panel: simple: Add BOE AV123Z7M-N17 panel
Add support for the BOE AV123Z7M-N17 12.3" 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 b554c00 commit d34bd3c

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
@@ -1403,6 +1403,35 @@ static const struct panel_desc boe_av101hdt_a10 = {
14031403
.connector_type = DRM_MODE_CONNECTOR_LVDS,
14041404
};
14051405

1406+
static const struct display_timing boe_av123z7m_n17_timing = {
1407+
.pixelclock = { 86600000, 88000000, 90800000, },
1408+
.hactive = { 1920, 1920, 1920, },
1409+
.hfront_porch = { 10, 10, 10, },
1410+
.hback_porch = { 10, 10, 10, },
1411+
.hsync_len = { 9, 12, 25, },
1412+
.vactive = { 720, 720, 720, },
1413+
.vfront_porch = { 7, 10, 13, },
1414+
.vback_porch = { 7, 10, 13, },
1415+
.vsync_len = { 7, 11, 14, },
1416+
.flags = DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW,
1417+
};
1418+
1419+
static const struct panel_desc boe_av123z7m_n17 = {
1420+
.timings = &boe_av123z7m_n17_timing,
1421+
.bpc = 8,
1422+
.num_timings = 1,
1423+
.size = {
1424+
.width = 292,
1425+
.height = 110,
1426+
},
1427+
.delay = {
1428+
.prepare = 50,
1429+
.disable = 50,
1430+
},
1431+
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
1432+
.connector_type = DRM_MODE_CONNECTOR_LVDS,
1433+
};
1434+
14061435
static const struct drm_display_mode boe_bp101wx1_100_mode = {
14071436
.clock = 78945,
14081437
.hdisplay = 1280,
@@ -4845,6 +4874,9 @@ static const struct of_device_id platform_of_match[] = {
48454874
}, {
48464875
.compatible = "boe,av101hdt-a10",
48474876
.data = &boe_av101hdt_a10,
4877+
}, {
4878+
.compatible = "boe,av123z7m-n17",
4879+
.data = &boe_av123z7m_n17,
48484880
}, {
48494881
.compatible = "boe,bp082wx1-100",
48504882
.data = &boe_bp082wx1_100,

0 commit comments

Comments
 (0)