Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel: simple: Add support for Sharp LQ150X1LG11 panels

The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel.

The simple-panel driver is used to get support for essential
functionality of the panel.

Signed-off-by: Gustaf Lindström <gl@axentia.se>
Signed-off-by: Peter Rosin <peda@axentia.se>
[treding@nvidia.com: change .bpc from 8 to 6]
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Gustaf Lindström and committed by
Thierry Reding
0f9cdd74 1bfafc53

+27
+27
drivers/gpu/drm/panel/panel-simple.c
··· 1420 1420 }, 1421 1421 }; 1422 1422 1423 + static const struct drm_display_mode sharp_lq150x1lg11_mode = { 1424 + .clock = 71100, 1425 + .hdisplay = 1024, 1426 + .hsync_start = 1024 + 168, 1427 + .hsync_end = 1024 + 168 + 64, 1428 + .htotal = 1024 + 168 + 64 + 88, 1429 + .vdisplay = 768, 1430 + .vsync_start = 768 + 37, 1431 + .vsync_end = 768 + 37 + 2, 1432 + .vtotal = 768 + 37 + 2 + 8, 1433 + .vrefresh = 60, 1434 + }; 1435 + 1436 + static const struct panel_desc sharp_lq150x1lg11 = { 1437 + .modes = &sharp_lq150x1lg11_mode, 1438 + .num_modes = 1, 1439 + .bpc = 6, 1440 + .size = { 1441 + .width = 304, 1442 + .height = 228, 1443 + }, 1444 + .bus_format = MEDIA_BUS_FMT_RGB565_1X16, 1445 + }; 1446 + 1423 1447 static const struct drm_display_mode shelly_sca07010_bfn_lnn_mode = { 1424 1448 .clock = 33300, 1425 1449 .hdisplay = 800, ··· 1706 1682 }, { 1707 1683 .compatible = "sharp,lq123p1jx31", 1708 1684 .data = &sharp_lq123p1jx31, 1685 + }, { 1686 + .compatible = "sharp,lq150x1lg11", 1687 + .data = &sharp_lq150x1lg11, 1709 1688 }, { 1710 1689 .compatible = "shelly,sca07010-bfn-lnn", 1711 1690 .data = &shelly_sca07010_bfn_lnn,