drm/panel: simple: Add support for Sharp LQ101K1LY04
authorJoshua Clayton <stillcompiling@gmail.com>
Wed, 6 Jul 2016 22:59:16 +0000 (15:59 -0700)
committerThierry Reding <treding@nvidia.com>
Mon, 11 Jul 2016 12:30:41 +0000 (14:30 +0200)
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>
drivers/gpu/drm/panel/panel-simple.c

index 7cc6d93bbe234895a45bdea944488f447c5663f7..dd2cd7e3b13f1379344faac4a55fc57fe38caf40 100644 (file)
@@ -1339,6 +1339,30 @@ static const struct panel_desc samsung_ltn140at29_301 = {
        },
 };
 
+static const struct display_timing sharp_lq101k1ly04_timing = {
+       .pixelclock = { 60000000, 65000000, 80000000 },
+       .hactive = { 1280, 1280, 1280 },
+       .hfront_porch = { 20, 20, 20 },
+       .hback_porch = { 20, 20, 20 },
+       .hsync_len = { 10, 10, 10 },
+       .vactive = { 800, 800, 800 },
+       .vfront_porch = { 4, 4, 4 },
+       .vback_porch = { 4, 4, 4 },
+       .vsync_len = { 4, 4, 4 },
+       .flags = DISPLAY_FLAGS_PIXDATA_POSEDGE,
+};
+
+static const struct panel_desc sharp_lq101k1ly04 = {
+       .timings = &sharp_lq101k1ly04_timing,
+       .num_timings = 1,
+       .bpc = 8,
+       .size = {
+               .width = 217,
+               .height = 136,
+       },
+       .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA,
+};
+
 static const struct drm_display_mode sharp_lq123p1jx31_mode = {
        .clock = 252750,
        .hdisplay = 2400,
@@ -1587,6 +1611,9 @@ static const struct of_device_id platform_of_match[] = {
        }, {
                .compatible = "samsung,ltn140at29-301",
                .data = &samsung_ltn140at29_301,
+       }, {
+               .compatible = "sharp,lq101k1ly04",
+               .data = &sharp_lq101k1ly04,
        }, {
                .compatible = "sharp,lq123p1jx31",
                .data = &sharp_lq123p1jx31,
This page took 0.02506 seconds and 5 git commands to generate.