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 Kyocera TCG121XGLP panel

The Kyocera TCG121XGLP panel is an XGA LCD TFT panel connected through
LVDS, which can be supported by the simple panel driver.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Lucas Stach and committed by
Thierry Reding
8def22e5 f42fb553

+34
+7
Documentation/devicetree/bindings/display/panel/kyo,tcg121xglp.txt
··· 1 + Kyocera Corporation 12.1" XGA (1024x768) TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "kyo,tcg121xglp" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+27
drivers/gpu/drm/panel/panel-simple.c
··· 930 930 }, 931 931 }; 932 932 933 + static const struct display_timing kyo_tcg121xglp_timing = { 934 + .pixelclock = { 52000000, 65000000, 71000000 }, 935 + .hactive = { 1024, 1024, 1024 }, 936 + .hfront_porch = { 2, 2, 2 }, 937 + .hback_porch = { 2, 2, 2 }, 938 + .hsync_len = { 86, 124, 244 }, 939 + .vactive = { 768, 768, 768 }, 940 + .vfront_porch = { 2, 2, 2 }, 941 + .vback_porch = { 2, 2, 2 }, 942 + .vsync_len = { 6, 34, 73 }, 943 + .flags = DISPLAY_FLAGS_DE_HIGH, 944 + }; 945 + 946 + static const struct panel_desc kyo_tcg121xglp = { 947 + .timings = &kyo_tcg121xglp_timing, 948 + .num_timings = 1, 949 + .bpc = 8, 950 + .size = { 951 + .width = 246, 952 + .height = 184, 953 + }, 954 + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 955 + }; 956 + 933 957 static const struct drm_display_mode lg_lb070wv8_mode = { 934 958 .clock = 33246, 935 959 .hdisplay = 800, ··· 1221 1197 }, { 1222 1198 .compatible = "innolux,zj070na-01p", 1223 1199 .data = &innolux_zj070na_01p, 1200 + }, { 1201 + .compatible = "kyo,tcg121xglp", 1202 + .data = &kyo_tcg121xglp, 1224 1203 }, { 1225 1204 .compatible = "lg,lb070wv8", 1226 1205 .data = &lg_lb070wv8,