Commit 93ea7aa8 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Sam Ravnborg

drm/panel: simple: Add support for two more AUO panels

Add definition of the AUO B133HAN05.4 13.3" FHD panel and the
B140HAN06.4 14.0" FHD panel.
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210726173300.432039-2-bjorn.andersson@linaro.org
parent fdb57c32
...@@ -1122,6 +1122,36 @@ static const struct panel_desc auo_b133xtn01 = { ...@@ -1122,6 +1122,36 @@ static const struct panel_desc auo_b133xtn01 = {
}, },
}; };
static const struct drm_display_mode auo_b133han05_mode = {
.clock = 142600,
.hdisplay = 1920,
.hsync_start = 1920 + 58,
.hsync_end = 1920 + 58 + 42,
.htotal = 1920 + 58 + 42 + 60,
.vdisplay = 1080,
.vsync_start = 1080 + 3,
.vsync_end = 1080 + 3 + 5,
.vtotal = 1080 + 3 + 5 + 54,
};
static const struct panel_desc auo_b133han05 = {
.modes = &auo_b133han05_mode,
.num_modes = 1,
.bpc = 8,
.size = {
.width = 293,
.height = 165,
},
.delay = {
.prepare = 100,
.enable = 20,
.unprepare = 50,
},
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
.bus_flags = DRM_BUS_FLAG_DATA_MSB_TO_LSB,
.connector_type = DRM_MODE_CONNECTOR_eDP,
};
static const struct drm_display_mode auo_b133htn01_mode = { static const struct drm_display_mode auo_b133htn01_mode = {
.clock = 150660, .clock = 150660,
.hdisplay = 1920, .hdisplay = 1920,
...@@ -1149,6 +1179,36 @@ static const struct panel_desc auo_b133htn01 = { ...@@ -1149,6 +1179,36 @@ static const struct panel_desc auo_b133htn01 = {
}, },
}; };
static const struct drm_display_mode auo_b140han06_mode = {
.clock = 141000,
.hdisplay = 1920,
.hsync_start = 1920 + 16,
.hsync_end = 1920 + 16 + 16,
.htotal = 1920 + 16 + 16 + 152,
.vdisplay = 1080,
.vsync_start = 1080 + 3,
.vsync_end = 1080 + 3 + 14,
.vtotal = 1080 + 3 + 14 + 19,
};
static const struct panel_desc auo_b140han06 = {
.modes = &auo_b140han06_mode,
.num_modes = 1,
.bpc = 8,
.size = {
.width = 309,
.height = 174,
},
.delay = {
.prepare = 100,
.enable = 20,
.unprepare = 50,
},
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
.bus_flags = DRM_BUS_FLAG_DATA_MSB_TO_LSB,
.connector_type = DRM_MODE_CONNECTOR_eDP,
};
static const struct display_timing auo_g070vvn01_timings = { static const struct display_timing auo_g070vvn01_timings = {
.pixelclock = { 33300000, 34209000, 45000000 }, .pixelclock = { 33300000, 34209000, 45000000 },
.hactive = { 800, 800, 800 }, .hactive = { 800, 800, 800 },
...@@ -4363,9 +4423,15 @@ static const struct of_device_id platform_of_match[] = { ...@@ -4363,9 +4423,15 @@ static const struct of_device_id platform_of_match[] = {
}, { }, {
.compatible = "auo,b116xw03", .compatible = "auo,b116xw03",
.data = &auo_b116xw03, .data = &auo_b116xw03,
}, {
.compatible = "auo,b133han05",
.data = &auo_b133han05,
}, { }, {
.compatible = "auo,b133htn01", .compatible = "auo,b133htn01",
.data = &auo_b133htn01, .data = &auo_b133htn01,
}, {
.compatible = "auo,b140han06",
.data = &auo_b140han06,
}, { }, {
.compatible = "auo,b133xtn01", .compatible = "auo,b133xtn01",
.data = &auo_b133xtn01, .data = &auo_b133xtn01,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment