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,