summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel/panel-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/panel/panel-simple.c')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c57
1 files changed, 57 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 162cc58c7b8f..91ab280869ba 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2509,6 +2509,31 @@ static const struct panel_desc hannstar_hsd101pww2 = {
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
+static const struct display_timing hannstar_hsd156juw2_timing = {
+ .pixelclock = { 66000000, 72800000, 80500000 },
+ .hactive = { 1920, 1920, 1920 },
+ .hfront_porch = { 20, 30, 30 },
+ .hback_porch = { 20, 30, 30 },
+ .hsync_len = { 50, 60, 90 },
+ .vactive = { 1080, 1080, 1080 },
+ .vfront_porch = { 1, 2, 4 },
+ .vback_porch = { 1, 2, 4 },
+ .vsync_len = { 3, 40, 80 },
+ .flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc hannstar_hsd156juw2 = {
+ .timings = &hannstar_hsd156juw2_timing,
+ .num_timings = 1,
+ .bpc = 8,
+ .size = {
+ .width = 344,
+ .height = 194,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+ .connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
static const struct drm_display_mode hitachi_tx23d38vm0caa_mode = {
.clock = 33333,
.hdisplay = 800,
@@ -2811,6 +2836,32 @@ static const struct panel_desc innolux_g121xce_l01 = {
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
+static const struct display_timing innolux_g150xge_l05_timing = {
+ .pixelclock = { 53350000, 65000000, 80000000 },
+ .hactive = { 1024, 1024, 1024 },
+ .hfront_porch = { 58, 160, 288 },
+ .hback_porch = { 58, 160, 288 },
+ .hsync_len = { 1, 1, 1 },
+ .vactive = { 768, 768, 768 },
+ .vfront_porch = { 6, 19, 216 },
+ .vback_porch = { 6, 19, 216 },
+ .vsync_len = { 1, 1, 1 },
+ .flags = DISPLAY_FLAGS_DE_HIGH,
+};
+
+static const struct panel_desc innolux_g150xge_l05 = {
+ .timings = &innolux_g150xge_l05_timing,
+ .num_timings = 1,
+ .bpc = 8,
+ .size = {
+ .width = 304,
+ .height = 228,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH,
+ .connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
static const struct display_timing innolux_g156hce_l01_timings = {
.pixelclock = { 120000000, 141860000, 150000000 },
.hactive = { 1920, 1920, 1920 },
@@ -5254,6 +5305,9 @@ static const struct of_device_id platform_of_match[] = {
.compatible = "hannstar,hsd101pww2",
.data = &hannstar_hsd101pww2,
}, {
+ .compatible = "hannstar,hsd156juw2",
+ .data = &hannstar_hsd156juw2,
+ }, {
.compatible = "hit,tx23d38vm0caa",
.data = &hitachi_tx23d38vm0caa
}, {
@@ -5287,6 +5341,9 @@ static const struct of_device_id platform_of_match[] = {
.compatible = "innolux,g121xce-l01",
.data = &innolux_g121xce_l01,
}, {
+ .compatible = "innolux,g150xge-l05",
+ .data = &innolux_g150xge_l05,
+ }, {
.compatible = "innolux,g156hce-l01",
.data = &innolux_g156hce_l01,
}, {