diff options
author | Thierry Reding <treding@nvidia.com> | 2014-07-03 14:02:59 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-08-06 16:44:04 +0200 |
commit | 0a2288c06aab73c966e82045c8f20b0e713baf2a (patch) | |
tree | 3bf4e67c07b80a4bce61e3f624546c6dbb7d9b03 /drivers | |
parent | drm/panel: simple: Add bits-per-color support (diff) | |
download | linux-0a2288c06aab73c966e82045c8f20b0e713baf2a.tar.xz linux-0a2288c06aab73c966e82045c8f20b0e713baf2a.zip |
drm/panel: simple: Add Innolux N116BGE panel support
The Innolux N116BGE is an 11.6" WXGA TFT LCD panel connecting to an eDP
interface and with an integrated LED backlight unit.
It is used in the Tegra132 Norrin reference design.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers')
-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 fa2aea0981a1..755dd5a4c229 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -434,6 +434,30 @@ static const struct panel_desc foxlink_fl500wvr00_a0t = { }, }; +static const struct drm_display_mode innolux_n116bge_mode = { + .clock = 71000, + .hdisplay = 1366, + .hsync_start = 1366 + 64, + .hsync_end = 1366 + 64 + 6, + .htotal = 1366 + 64 + 6 + 64, + .vdisplay = 768, + .vsync_start = 768 + 8, + .vsync_end = 768 + 8 + 4, + .vtotal = 768 + 8 + 4 + 8, + .vrefresh = 60, + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, +}; + +static const struct panel_desc innolux_n116bge = { + .modes = &innolux_n116bge_mode, + .num_modes = 1, + .bpc = 6, + .size = { + .width = 256, + .height = 144, + }, +}; + static const struct drm_display_mode innolux_n156bge_l21_mode = { .clock = 69300, .hdisplay = 1366, @@ -529,6 +553,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "foxlink,fl500wvr00-a0t", .data = &foxlink_fl500wvr00_a0t, }, { + .compatible = "innolux,n116bge", + .data = &innolux_n116bge, + }, { .compatible = "innolux,n156bge-l21", .data = &innolux_n156bge_l21, }, { |