Commit dd015002 authored by Heiko Schocher's avatar Heiko Schocher Committed by Thierry Reding

drm/panel: simple: Add support for LG LB070WV8 800x480 7" panel

This adds support for the LG LB070WV8 7" 800x480 panel to the DRM simple
panel driver.
Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent c06ea0ad
LG 7" (800x480 pixels) TFT LCD panel
Required properties:
- compatible: should be "lg,lb070wv8"
This binding is compatible with the simple-panel binding, which is specified
in simple-panel.txt in this directory.
...@@ -872,6 +872,30 @@ static const struct panel_desc innolux_zj070na_01p = { ...@@ -872,6 +872,30 @@ static const struct panel_desc innolux_zj070na_01p = {
}, },
}; };
static const struct drm_display_mode lg_lb070wv8_mode = {
.clock = 33246,
.hdisplay = 800,
.hsync_start = 800 + 88,
.hsync_end = 800 + 88 + 80,
.htotal = 800 + 88 + 80 + 88,
.vdisplay = 480,
.vsync_start = 480 + 10,
.vsync_end = 480 + 10 + 25,
.vtotal = 480 + 10 + 25 + 10,
.vrefresh = 60,
};
static const struct panel_desc lg_lb070wv8 = {
.modes = &lg_lb070wv8_mode,
.num_modes = 1,
.bpc = 16,
.size = {
.width = 151,
.height = 91,
},
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
};
static const struct drm_display_mode lg_lp129qe_mode = { static const struct drm_display_mode lg_lp129qe_mode = {
.clock = 285250, .clock = 285250,
.hdisplay = 2560, .hdisplay = 2560,
...@@ -1055,6 +1079,9 @@ static const struct of_device_id platform_of_match[] = { ...@@ -1055,6 +1079,9 @@ static const struct of_device_id platform_of_match[] = {
}, { }, {
.compatible = "innolux,zj070na-01p", .compatible = "innolux,zj070na-01p",
.data = &innolux_zj070na_01p, .data = &innolux_zj070na_01p,
}, {
.compatible = "lg,lb070wv8",
.data = &lg_lb070wv8,
}, { }, {
.compatible = "lg,lp129qe", .compatible = "lg,lp129qe",
.data = &lg_lp129qe, .data = &lg_lp129qe,
......
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