lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri,  7 May 2021 10:00:16 +0200
From:   Mike Looijmans <mike.looijmans@...ic.nl>
To:     dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org
Cc:     thierry.reding@...il.com, sam@...nborg.org, airlied@...ux.ie,
        daniel@...ll.ch, robh+dt@...nel.org, linux-kernel@...r.kernel.org,
        Mike Looijmans <mike.looijmans@...ic.nl>
Subject: [PATCH 2/3] drm/panel: Add Innolux G104AGE-L02 to panel-simple

Adds support for the Innolux G104AGE-L02 which is a 800x600 TFT
display panel with LVDS interface.

Signed-off-by: Mike Looijmans <mike.looijmans@...ic.nl>
---
 drivers/gpu/drm/panel/panel-simple.c | 34 ++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index be312b5c04dd..8b7732249d13 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2352,6 +2352,37 @@ static const struct panel_desc innolux_g101ice_l01 = {
 	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
+static const struct display_timing innolux_g104age_l02_timing = {
+	.pixelclock = { 30000000, 41666666, 50000000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 80, 128, 130 },
+	.hback_porch = { 79, 127, 129 },
+	.hsync_len = { 1, 1, 1 },
+	.vactive = { 600, 600, 600 },
+	.vfront_porch = { 4, 29, 212 },
+	.vback_porch = { 3, 28, 211 },
+	.vsync_len = { 1, 1, 1 },
+	.flags = DISPLAY_FLAGS_DE_HIGH |
+		 DISPLAY_FLAGS_HSYNC_HIGH |
+		 DISPLAY_FLAGS_VSYNC_HIGH,
+};
+
+static const struct panel_desc innolux_g104age_l02 = {
+	.timings = &innolux_g104age_l02_timing,
+	.num_timings = 1,
+	.bpc = 8,
+	.size = {
+		.width = 211,  /* 211.2 X 158.4(mm) */
+		.height = 158,
+	},
+	.delay = {
+		.enable = 200,
+		.disable = 200,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct display_timing innolux_g121i1_l01_timing = {
 	.pixelclock = { 67450000, 71000000, 74550000 },
 	.hactive = { 1280, 1280, 1280 },
@@ -4347,6 +4378,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "innolux,g101ice-l01",
 		.data = &innolux_g101ice_l01
+	}, {
+		.compatible = "innolux,g104age-l02",
+		.data = &innolux_g104age_l02
 	}, {
 		.compatible = "innolux,g121i1-l01",
 		.data = &innolux_g121i1_l01
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ