Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel: simple: Add support for Innolux AT070TN92

Add support for the Innolux AT070TN92 panel.

Signed-off-by: Riccardo Bortolato <bortolato@navaltechitalia.it>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Riccardo Bortolato and committed by
Thierry Reding
4fc24ab3 844e2f52

+33
+7
Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt
··· 1 + Innolux AT070TN92 7.0" WQVGA TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "innolux,at070tn92" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+26
drivers/gpu/drm/panel/panel-simple.c
··· 824 824 .bus_format = MEDIA_BUS_FMT_RGB888_1X24, 825 825 }; 826 826 827 + static const struct drm_display_mode innolux_at070tn92_mode = { 828 + .clock = 33333, 829 + .hdisplay = 800, 830 + .hsync_start = 800 + 210, 831 + .hsync_end = 800 + 210 + 20, 832 + .htotal = 800 + 210 + 20 + 46, 833 + .vdisplay = 480, 834 + .vsync_start = 480 + 22, 835 + .vsync_end = 480 + 22 + 10, 836 + .vtotal = 480 + 22 + 23 + 10, 837 + .vrefresh = 60, 838 + }; 839 + 840 + static const struct panel_desc innolux_at070tn92 = { 841 + .modes = &innolux_at070tn92_mode, 842 + .num_modes = 1, 843 + .size = { 844 + .width = 154, 845 + .height = 86, 846 + }, 847 + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, 848 + }; 849 + 827 850 static const struct drm_display_mode innolux_g121i1_l01_mode = { 828 851 .clock = 71000, 829 852 .hdisplay = 1280, ··· 1387 1364 }, { 1388 1365 .compatible = "innolux,at043tn24", 1389 1366 .data = &innolux_at043tn24, 1367 + }, { 1368 + .compatible = "innolux,at070tn92", 1369 + .data = &innolux_at070tn92, 1390 1370 }, { 1391 1371 .compatible ="innolux,g121i1-l01", 1392 1372 .data = &innolux_g121i1_l01