Skip to content

Commit 8bb7c7b

Browse files
Liu Yingsuperna9999
authored andcommitted
drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support
Add BOE EV121WXM-N10-1850 12.1" WXGA (1280x800) TFT LCD panel support. The panel has a LVDS display interface. The panel's product specification can be found at: http://www.onetech.com.tw/files/EV121WXM-N10-1850ProductSpecification_20180801.pdf Signed-off-by: Liu Ying <victor.liu@nxp.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230508083826.1016206-3-victor.liu@nxp.com
1 parent 0bd5bd6 commit 8bb7c7b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,37 @@ static const struct panel_desc bananapi_s070wv20_ct16 = {
12111211
},
12121212
};
12131213

1214+
static const struct display_timing boe_ev121wxm_n10_1850_timing = {
1215+
.pixelclock = { 69922000, 71000000, 72293000 },
1216+
.hactive = { 1280, 1280, 1280 },
1217+
.hfront_porch = { 48, 48, 48 },
1218+
.hback_porch = { 80, 80, 80 },
1219+
.hsync_len = { 32, 32, 32 },
1220+
.vactive = { 800, 800, 800 },
1221+
.vfront_porch = { 3, 3, 3 },
1222+
.vback_porch = { 14, 14, 14 },
1223+
.vsync_len = { 6, 6, 6 },
1224+
};
1225+
1226+
static const struct panel_desc boe_ev121wxm_n10_1850 = {
1227+
.timings = &boe_ev121wxm_n10_1850_timing,
1228+
.num_timings = 1,
1229+
.bpc = 8,
1230+
.size = {
1231+
.width = 261,
1232+
.height = 163,
1233+
},
1234+
.delay = {
1235+
.prepare = 9,
1236+
.enable = 300,
1237+
.unprepare = 300,
1238+
.disable = 560,
1239+
},
1240+
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
1241+
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
1242+
.connector_type = DRM_MODE_CONNECTOR_LVDS,
1243+
};
1244+
12141245
static const struct drm_display_mode boe_hv070wsa_mode = {
12151246
.clock = 42105,
12161247
.hdisplay = 1024,
@@ -4016,6 +4047,9 @@ static const struct of_device_id platform_of_match[] = {
40164047
}, {
40174048
.compatible = "bananapi,s070wv20-ct16",
40184049
.data = &bananapi_s070wv20_ct16,
4050+
}, {
4051+
.compatible = "boe,ev121wxm-n10-1850",
4052+
.data = &boe_ev121wxm_n10_1850,
40194053
}, {
40204054
.compatible = "boe,hv070wsa-100",
40214055
.data = &boe_hv070wsa

0 commit comments

Comments
 (0)