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: 51410 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp335987wrn; Wed, 1 Feb 2023 07:16:55 -0800 (PST) X-Google-Smtp-Source: AK7set+vkfDKWOU8ow/M+VBoUJbLuCg0P9Lk1SdQ0mWnorvsIqP3bBa8WJlEbCmWpnaARoq3B89P X-Received: by 2002:a05:6a21:7893:b0:bf:40b:2eb with SMTP id bf19-20020a056a21789300b000bf040b02ebmr5715774pzc.26.1675264615629; Wed, 01 Feb 2023 07:16:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675264615; cv=none; d=google.com; s=arc-20160816; b=PR4l5B6jSI7eCA+ZHWRgR0OKfF/Ah5qeeobcbPLZ45CSF5T5AL60ZBmgpO7WzIUffq o4oqMbyqC/U6D7ZH1qFGcqLe6BTmo6cCDfzyh1fQwR8Z6c+lx0e54YVC/x28Y9nccdgR lEEh8KXRPFIdxrzNGcZOA2xYZkFu0kcTtxP2HT/WCBrQK15YMYxVVVeGBB/6pRvtp+4u 4w0yyysDkQmYRLyNSK/SRr7R8y9Th9VkNLyAEvee1F+/pMYC2DEVvYvgDLQULFrlt+2s eIfqP5L2TbosIiGRRcKvQykKEtYLJMlR9pqDUxucX9P+M28R4K5LYAfTaaJE/wEwM5vi zUKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=kppmiPTfgnj4okjavd9BVsxLZJM5JHLMjUAH0LspDzg=; b=WBNm4vKy2nXONQNfDLh5DHYrB9cPbnCcpbnu0x/qTbjOic9rLamTnnGQZAmpp22e5r XC6mR744KhY1+aG+12XzG6/l/j5T1TcgIiHSymy+wz6DtWzg0BszCtQCkfMz5NJceAff Y9KsDzSUNMuGoyV4Tj/yziJHFiiu98pigt6BMb7xKhnZm+kEMXNsz0fdoICAZh/Ffpwr H/q5kAbMz6E6bfelxEwe09s9gGe/NRWm0z/Ojy7/DsjNEFtkXhmpNdgj2qdSKzW4f1+N 2kkK9cNhm6NQVe3Un3SzcnNw7Y+nUuUUDo6kZ+XOYfyYY43xtZCUTuz4CLCU0tHkw5n7 KP6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="taW/+fWG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a63ad09000000b004e850715fa1si10377977pgf.529.2023.02.01.07.16.42; Wed, 01 Feb 2023 07:16:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="taW/+fWG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232036AbjBAPQJ (ORCPT + 99 others); Wed, 1 Feb 2023 10:16:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230317AbjBAPPl (ORCPT ); Wed, 1 Feb 2023 10:15:41 -0500 Received: from out-19.mta1.migadu.com (out-19.mta1.migadu.com [IPv6:2001:41d0:203:375::13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89FBD34331 for ; Wed, 1 Feb 2023 07:15:19 -0800 (PST) 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 Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Richard Leitner 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756642269505392330?= X-GMAIL-MSGID: =?utf-8?q?1756642269505392330?= 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: 51409 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp335945wrn; Wed, 1 Feb 2023 07:16:53 -0800 (PST) X-Google-Smtp-Source: AK7set+iAsg1LHLaqQBMv4pibxWdEQtS8Cb83mOF3qzGgrFYf7CAeNV0XJtM4vX3lyXRQO4UjkQ1 X-Received: by 2002:a05:6a00:2409:b0:593:5e76:b0 with SMTP id z9-20020a056a00240900b005935e7600b0mr3011891pfh.2.1675264612747; Wed, 01 Feb 2023 07:16:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675264612; cv=none; d=google.com; s=arc-20160816; b=gmueeaqwI3lApRbqxkGUdujTk3XKiS6OrfiyQ0r9B/sayXVwJ3e4v3b5QtSBEpss7p GuxiVFB0QHe3Rn2mOu7IB2zeuMpz9ZA6mGX2U8M39TFEeF1y2cPlBCq1TgSEHm3XSSpE 7qSg+j2wdZXOhfhyOrHUrd6jzZQ9qAeumSsAptgX2BKR/8e6PIsvcJj2FZRyiPWyKWzF /HVEvR8CFo44FrrOjrNP4w9G7Gg1qCS9A65krv7MrJqc4SABhTEPgQ0ozJhgwg6CfVc0 F4cmv2QX8uHNtr0v9uAHkw2msgMOLVPz7rOzJoSmijajugki6RgjPsK45gKtDrNYTGep DF4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=ISBw+lLJjP7BznW362jdcm4uRG8zECZCwrXeRkCYy54=; b=nK1jao/eMbEuaZQm++k9wF1955cEP7w/5GYepVrQuv30BlZSkocUAg0oCNPDtsZYbE UyB8Ucs6DOT1ZBMG8lcWaRQt8BH7bM0FzVGpFp5pVrhY7Cs4Jcb5Jqagh1oUJRBcVspB g66y5LwUzHkefmvKVfhTw//HgG2OKqyFg/ON81IQOKzxRTf8AnwzVT+Y+73Ju0uzTfRc cBTds/E420FDNhYaUgncOi1OxwYd/Y3y2ZsJB4bWIrgJ/CHwaEMc3vAWvq+BH7IB7AWw 8FH9L5IXQgImerHaDwumKllxdZ2i/zuvo9rdXn17oQhuWN0mVaEUDj4AUkAnMdd1jQmJ VzRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=tgYIEpHQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g17-20020aa796b1000000b0058db4725798si19838973pfk.160.2023.02.01.07.16.39; Wed, 01 Feb 2023 07:16:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=tgYIEpHQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232065AbjBAPQP (ORCPT + 99 others); Wed, 1 Feb 2023 10:16:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbjBAPPr (ORCPT ); Wed, 1 Feb 2023 10:15:47 -0500 X-Greylist: delayed 479 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 01 Feb 2023 07:15:20 PST Received: from out-206.mta1.migadu.com (out-206.mta1.migadu.com [95.215.58.206]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB63D66F8C for ; Wed, 1 Feb 2023 07:15:19 -0800 (PST) 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 Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Richard Leitner 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756642266608598443?= X-GMAIL-MSGID: =?utf-8?q?1756642266608598443?= 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,