diff options
author | Joshua Clayton <stillcompiling@gmail.com> | 2016-07-06 18:59:16 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2016-07-11 08:30:41 -0400 |
commit | 592aa02bd15dce94a421bf75e66c109e23ea2804 (patch) | |
tree | 946fe011c90d858d17c2a2bb4a0700d2d1cf9641 | |
parent | c5ece40249d2aa1508de69a283f9ca9285849cb3 (diff) |
drm/panel: simple: Add support for Sharp LQ101K1LY04
Add simple-panel support for the Sharp LQ101K1LY04, which is a 10"
WXGA (1280x800) LVDS panel.
Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 7cc6d93bbe23..dd2cd7e3b13f 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c | |||
@@ -1339,6 +1339,30 @@ static const struct panel_desc samsung_ltn140at29_301 = { | |||
1339 | }, | 1339 | }, |
1340 | }; | 1340 | }; |
1341 | 1341 | ||
1342 | static const struct display_timing sharp_lq101k1ly04_timing = { | ||
1343 | .pixelclock = { 60000000, 65000000, 80000000 }, | ||
1344 | .hactive = { 1280, 1280, 1280 }, | ||
1345 | .hfront_porch = { 20, 20, 20 }, | ||
1346 | .hback_porch = { 20, 20, 20 }, | ||
1347 | .hsync_len = { 10, 10, 10 }, | ||
1348 | .vactive = { 800, 800, 800 }, | ||
1349 | .vfront_porch = { 4, 4, 4 }, | ||
1350 | .vback_porch = { 4, 4, 4 }, | ||
1351 | .vsync_len = { 4, 4, 4 }, | ||
1352 | .flags = DISPLAY_FLAGS_PIXDATA_POSEDGE, | ||
1353 | }; | ||
1354 | |||
1355 | static const struct panel_desc sharp_lq101k1ly04 = { | ||
1356 | .timings = &sharp_lq101k1ly04_timing, | ||
1357 | .num_timings = 1, | ||
1358 | .bpc = 8, | ||
1359 | .size = { | ||
1360 | .width = 217, | ||
1361 | .height = 136, | ||
1362 | }, | ||
1363 | .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, | ||
1364 | }; | ||
1365 | |||
1342 | static const struct drm_display_mode sharp_lq123p1jx31_mode = { | 1366 | static const struct drm_display_mode sharp_lq123p1jx31_mode = { |
1343 | .clock = 252750, | 1367 | .clock = 252750, |
1344 | .hdisplay = 2400, | 1368 | .hdisplay = 2400, |
@@ -1588,6 +1612,9 @@ static const struct of_device_id platform_of_match[] = { | |||
1588 | .compatible = "samsung,ltn140at29-301", | 1612 | .compatible = "samsung,ltn140at29-301", |
1589 | .data = &samsung_ltn140at29_301, | 1613 | .data = &samsung_ltn140at29_301, |
1590 | }, { | 1614 | }, { |
1615 | .compatible = "sharp,lq101k1ly04", | ||
1616 | .data = &sharp_lq101k1ly04, | ||
1617 | }, { | ||
1591 | .compatible = "sharp,lq123p1jx31", | 1618 | .compatible = "sharp,lq123p1jx31", |
1592 | .data = &sharp_lq123p1jx31, | 1619 | .data = &sharp_lq123p1jx31, |
1593 | }, { | 1620 | }, { |