From patchwork Wed Feb 1 15:06:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Leitner X-Patchwork-Id: 13124923 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D3F96C636D4 for ; Wed, 1 Feb 2023 19:50:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A17310E44A; Wed, 1 Feb 2023 19:50:16 +0000 (UTC) X-Greylist: delayed 501 seconds by postgrey-1.36 at gabe; Wed, 01 Feb 2023 15:15:19 UTC Received: from out-198.mta1.migadu.com (out-198.mta1.migadu.com [95.215.58.198]) by gabe.freedesktop.org (Postfix) with ESMTPS id 82D6A10E0BC for ; Wed, 1 Feb 2023 15:15:19 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1675264016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kppmiPTfgnj4okjavd9BVsxLZJM5JHLMjUAH0LspDzg=; b=taW/+fWGO/j/pQP17VaAgeW7zYLkrjOBDdI2uG1PTR+BN3AwjA9esQQSsFChWWRiagttU9 YsFIEzzHgjtL3iXMIiPoy6d4iuxaOvw+KxFexxzJ/S/Ibpj5L+5JI6i6PlIqTBClYs+4H7 o1p7DdDDu02d33UJR+m6sK2dpPSevN0= From: richard.leitner@linux.dev Date: Wed, 01 Feb 2023 16:06:29 +0100 Subject: [PATCH v2 1/2] dt-bindings: display: simple: add support for InnoLux G070ACE-L01 MIME-Version: 1.0 Message-Id: <20230201-innolux-g070ace-v2-1-ebac7aaf004f@skidata.com> References: <20230201-innolux-g070ace-v2-0-ebac7aaf004f@skidata.com> In-Reply-To: <20230201-innolux-g070ace-v2-0-ebac7aaf004f@skidata.com> To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski X-Developer-Signature: v=1; a=openpgp-sha256; l=1068; i=richard.leitner@skidata.com; h=from:subject:message-id; bh=fqF4zg2XmNte5lzmjwrh1xMmtE7LpHYQGuZp1W2bxDE=; b=owGbwMvMwCX2R2KahkXN7wuMp9WSGJJvNfCd3hXL4rN5tpl50ZIKrj/Xb4az9Xl8O/7mO/tXniAv yTKXjlIWBjEuBlkxRRZ7Y65299yy95WKOrkwc1iZQIYwcHEKwESOfmX4p2NwNXz5IqE7XV77Zk6cvm 2X1jaDxDLN+xf3sxQLThCqP8DwP2rlqvhHFufnLe08n7dF/ezvyVsX/9hdzGOntHpP5K7PYvwA X-Developer-Key: i=richard.leitner@skidata.com; a=openpgp; fpr=3F330A87476D76EF79212C6DFC189628387CFBD0 X-Migadu-Flow: FLOW_OUT X-Mailman-Approved-At: Wed, 01 Feb 2023 19:50:13 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Richard Leitner Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Richard Leitner Add Innolux G070ACE-L01 7" WVGA (800x480) TFT LCD panel compatible string. Acked-by: Krzysztof Kozlowski Signed-off-by: Richard Leitner --- Documentation/devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index 18241f4051d2..fd3e5ad769dc 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -174,6 +174,8 @@ properties: - innolux,at043tn24 # Innolux AT070TN92 7.0" WQVGA TFT LCD panel - innolux,at070tn92 + # Innolux G070ACE-L01 7" WVGA (800x480) TFT LCD panel + - innolux,g070ace-l01 # Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD panel - innolux,g070y2-l01 # Innolux G070Y2-T02 7" WVGA (800x480) TFT LCD TTL panel From patchwork Wed Feb 1 15:06:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Leitner X-Patchwork-Id: 13124922 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9068AC05027 for ; Wed, 1 Feb 2023 19:50:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D8C2B10E448; Wed, 1 Feb 2023 19:50:15 +0000 (UTC) Received: from out-237.mta1.migadu.com (out-237.mta1.migadu.com [IPv6:2001:41d0:203:375::ed]) by gabe.freedesktop.org (Postfix) with ESMTPS id BCB2110E40D for ; Wed, 1 Feb 2023 15:15:19 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1675264016; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ISBw+lLJjP7BznW362jdcm4uRG8zECZCwrXeRkCYy54=; b=tgYIEpHQtF/Kfu53JmIYWDDhcYwE5D/cE/tmHIxCDMDRBJQjwwThWoAEHfz1+oIwyIoCd5 o/FMIT31dndyeScfWf2EYmUp9OWVKOoq8l4nict1MKRrHuuWQBgPAxdl+DTisc3k3dsEWm 0rKfOJ5ITQR3W8lAmtqYjT9IQu4opTE= From: richard.leitner@linux.dev Date: Wed, 01 Feb 2023 16:06:30 +0100 Subject: [PATCH v2 2/2] drm/panel: simple: Add InnoLux G070ACE-L01 MIME-Version: 1.0 Message-Id: <20230201-innolux-g070ace-v2-2-ebac7aaf004f@skidata.com> References: <20230201-innolux-g070ace-v2-0-ebac7aaf004f@skidata.com> In-Reply-To: <20230201-innolux-g070ace-v2-0-ebac7aaf004f@skidata.com> To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski X-Developer-Signature: v=1; a=openpgp-sha256; l=2026; i=richard.leitner@skidata.com; h=from:subject:message-id; bh=fBnNe8I6HAau6f0o9ypbleDL5b5fImuqgTaYxzEslLM=; b=owGbwMvMwCX2R2KahkXN7wuMp9WSGJJvNfAzb7R7svwCi16y9n/f1de56pmPS63h3vPecaqjjehe 570pHaUsDGJcDLJiiiz2xlzt7rll7ysVdXJh5rAygQxh4OIUgIk4tzP8T9+76f35H9/C0y+fC1zTz1 Xd+Tjccsv6te+uR+zYN+P9xwqGvyKXV245HVV22yjEfMG/33vnuK1SupYjVCNjuvPm65UJLhwA X-Developer-Key: i=richard.leitner@skidata.com; a=openpgp; fpr=3F330A87476D76EF79212C6DFC189628387CFBD0 X-Migadu-Flow: FLOW_OUT X-Mailman-Approved-At: Wed, 01 Feb 2023 19:50:13 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Richard Leitner Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Richard Leitner Add InnoLux G070ACE-L01 7" 800x480 TFT LCD with WLED backlight panel support. Timing data was extracted from datasheet and vendor provided EDID file. Signed-off-by: Richard Leitner --- drivers/gpu/drm/panel/panel-simple.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 8a3b685c2fcc..d90f86ad3789 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2142,6 +2142,38 @@ static const struct panel_desc innolux_at070tn92 = { .bus_format = MEDIA_BUS_FMT_RGB888_1X24, }; +static const struct display_timing innolux_g070ace_l01_timing = { + .pixelclock = { 25200000, 35000000, 35700000 }, + .hactive = { 800, 800, 800 }, + .hfront_porch = { 30, 32, 87 }, + .hback_porch = { 30, 32, 87 }, + .hsync_len = { 1, 1, 1 }, + .vactive = { 480, 480, 480 }, + .vfront_porch = { 3, 3, 3 }, + .vback_porch = { 13, 13, 13 }, + .vsync_len = { 1, 1, 4 }, + .flags = DISPLAY_FLAGS_DE_HIGH, +}; + +static const struct panel_desc innolux_g070ace_l01 = { + .timings = &innolux_g070ace_l01_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 152, + .height = 91, + }, + .delay = { + .prepare = 10, + .enable = 50, + .disable = 50, + .unprepare = 500, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct display_timing innolux_g070y2_l01_timing = { .pixelclock = { 28000000, 29500000, 32000000 }, .hactive = { 800, 800, 800 }, @@ -4098,6 +4130,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,at070tn92", .data = &innolux_at070tn92, + }, { + .compatible = "innolux,g070ace-l01", + .data = &innolux_g070ace_l01, }, { .compatible = "innolux,g070y2-l01", .data = &innolux_g070y2_l01,