From patchwork Mon Mar 13 07:50:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Leitner X-Patchwork-Id: 68662 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1053513wrd; Mon, 13 Mar 2023 00:58:55 -0700 (PDT) X-Google-Smtp-Source: AK7set+C3EXiitB7vgwA8Mc78MWrxlQTIommU3fiJAPf8w+mMDqJls4sEFADeybIYxKFp0wtW0kB X-Received: by 2002:a17:90a:1a02:b0:234:e5c2:b92c with SMTP id 2-20020a17090a1a0200b00234e5c2b92cmr14809222pjk.15.1678694335279; Mon, 13 Mar 2023 00:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678694335; cv=none; d=google.com; s=arc-20160816; b=rEfcdQRYTpMT9TGYGs6oL2K/MbLBH0hRU3oQvYZh4nX5MIRmmokn7OG++SkL4pPazp dCzdXvU/9WCbX48iqJprkZnvB+2jUOvOZ8Skb3Bc6c6aUbKKlgkoBquEVWZ8cZZ5qtEg p0jpu4YGvn1y11YKmJOs5bW1K8wU3hD8LI/u+WC31hH/LCciOYJwiKjodE+5vMb7tanM DA1lMaDz2CfBUUIBHqBzAcp6Jlla88m0lzZ9ihi0IuNBh5Eb9Lp4sr5Nb8dRVkYaZWe1 OV7trwMLT7eA3bz+eMZ+mVOG4ocekUsFeCgfHwHGdQWZtFUI2PdLhFNKgLTDC9jpRwCj cTtg== 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=4bM/miEHmfh1REV7eAHhfkIxbroazqqDxZ8/EmkFI7I=; b=a9Wh9oga4R+gpr5gFar3CQFNYQhaDkuL7FTV5gzzoIodMqsR4a8z0tWXvSh3DAJAok CKrH12a6a5JAL1jl3WeO6CAvSumBRGAxsgQMajfLuglS/mrelUTXq00JEuOU4ooNKVjE h164aIuER8ZNfwAtJuOJsuCTGQvCaFd3SMBtR6GHi36oOEBBRxOU+4uYflwx2ezhjLlV LbkCDP4vHxIfN8zFGdLUc4+ikSPALMGXYJqoSp01yzhdbjsp2FJv7mZNftWzSNs7n9qg /R83jFQowCOtyx2UxFtzBblHJNDrhooSp0OL7ujWFmENxcZlLgNmsdbtwJkDJhKnOYFl paWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=XfvqJsF5; 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-20020a170902934900b0019b090e497esi6045011plp.298.2023.03.13.00.58.41; Mon, 13 Mar 2023 00:58:55 -0700 (PDT) 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=XfvqJsF5; 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 S230119AbjCMHvn (ORCPT + 99 others); Mon, 13 Mar 2023 03:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229925AbjCMHva (ORCPT ); Mon, 13 Mar 2023 03:51:30 -0400 Received: from out-51.mta1.migadu.com (out-51.mta1.migadu.com [IPv6:2001:41d0:203:375::33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAC9C51CB6 for ; Mon, 13 Mar 2023 00:51:24 -0700 (PDT) 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=1678693883; 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=4bM/miEHmfh1REV7eAHhfkIxbroazqqDxZ8/EmkFI7I=; b=XfvqJsF5NveKr8F37DSYZEJokzSo6yGxFVO9ABOTJa3alnb0lPz9GejfU7oo8PglgWg6XL nLyFnUWk7sFmEf37e49ZPa9bjgVT0Hoy9getvi4YbvCP/r+5i46moRB4INZuJtPN5dfSYK yQT0Gg57/W2gnrtB2SXtOqMkudq57lY= From: richard.leitner@linux.dev Date: Mon, 13 Mar 2023 08:50:16 +0100 Subject: [PATCH RESEND v2 1/2] dt-bindings: display: simple: add support for InnoLux G070ACE-L01 MIME-Version: 1.0 Message-Id: <20230201-innolux-g070ace-v2-1-2371e251dd40@skidata.com> References: <20230201-innolux-g070ace-v2-0-2371e251dd40@skidata.com> In-Reply-To: <20230201-innolux-g070ace-v2-0-2371e251dd40@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=CF2Os/PqFVko/kPoZIdexl6NDlxf1JFkoXB+pjYQTD4=; b=owGbwMvMwCX2R2KahkXN7wuMp9WSGFL4rv7Uq57fZOxUcZHB/1cOU8Tqqm3Razans015565pvXfi vFu3O0pZGMS4GGTFFFnsjbna3XPL3lcq6uTCzGFlAhnCwMUpABPJsmT4zXbdlskiRmdpyLkVtZw3jj s0OxYk3J6hP+XAhFJWIV7xHoa/YjbaD2dEuFkrXDWJWd19sGWV24RLb7/MCX3mbrL0sXgmBwA= 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?1760238591399832390?= X-GMAIL-MSGID: =?utf-8?q?1760238591399832390?= From: Richard Leitner Add Innolux G070ACE-L01 7" WVGA (800x480) TFT LCD panel compatible string. Acked-by: Krzysztof Kozlowski Signed-off-by: Richard Leitner Reviewed-by: Reviewer <> Signed-off-by: Submitter <> Signed-off-by: Submaintainer <> Signed-off-by: Submitter <> Reviewed-by: Reviewer <> Signed-off-by: Submaintainer <> --- 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 Mon Mar 13 07:50:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Leitner X-Patchwork-Id: 68652 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1052049wrd; Mon, 13 Mar 2023 00:52:48 -0700 (PDT) X-Google-Smtp-Source: AK7set/Sc18Ux+trXcqik1jVqZTjMtHYpO+v7hmF4dsEeE96lC+jdRSjiQrmgo5K2WxD0n1cLzy3 X-Received: by 2002:aa7:9dde:0:b0:625:2636:9cd2 with SMTP id g30-20020aa79dde000000b0062526369cd2mr632766pfq.18.1678693968099; Mon, 13 Mar 2023 00:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678693968; cv=none; d=google.com; s=arc-20160816; b=YFkgwKqh/k+FkLjtZYtE2iAwBtdk37H7MIH6zk9nI+nuEv34Ee0Cny//r6y5p43KA8 UmJfgvT74LAsS3ZE4tr0gGO5RfG1x8mlvdMz2gHzB5JolzHtkJc+wjIbF2jVUxeSTqq8 9f6+FnwxO7bnpmh94zuU4Bg398gykhSBBStJCMg7yYgE6ShzlxEds3ck/aM8OP9GkVsG ZJuOKH6KR9hXXt2uMRPNBdcWbNcGJhANb4AzMRGkqs9T7DF1s5G/YOm7bJXQswlovFPn TZeqxAr72r58Yz54WcmeX7A/GoLdi5S9jC+8/X38gApEN7WpJC17rKjNl0vU39yEXLQx 9azg== 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=VJD8Qq9A5I4qmDAo4WgHqL7An+vb1MFXUqWfw8s5fTI=; b=nZesUHK2jEqRiYV2fCp7qPWpmXaaZTlr8hC3gSfCvvJ+qbVso6FU/bjfryRsnFE2MP O+wHAsbdYRc4rl7pP9/NbIWMZ6rEJNwCooGOx4/ODpQ8pLTQWMjWR2EXgEffvc8NWoeH DEJNI8/YkSdY2PqLxTg6iXDqrdLEg3Q7EL7gXuDpSuwD2jwTqW5AfJ2GAyxrx16Rjy8f hcGdocYkPPKWFDQXA1lrtSspyxeiduQvngssQudb/cE13YeHLmXTnRPwkC2CLPQ1TBws emBirKZWY8SqBTpkJMYzpALTBBB7ckrvoc4x1JzD+JsYjMT7O9L5cil40LCIeAyY3idu GgOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=QAvMcBGE; 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 o21-20020aa79795000000b005e7dc5d1b1bsi6029641pfp.82.2023.03.13.00.52.31; Mon, 13 Mar 2023 00:52:48 -0700 (PDT) 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=QAvMcBGE; 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 S230128AbjCMHvq (ORCPT + 99 others); Mon, 13 Mar 2023 03:51:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230005AbjCMHvb (ORCPT ); Mon, 13 Mar 2023 03:51:31 -0400 Received: from out-19.mta1.migadu.com (out-19.mta1.migadu.com [95.215.58.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98FF451FA0 for ; Mon, 13 Mar 2023 00:51:25 -0700 (PDT) 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=1678693883; 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=VJD8Qq9A5I4qmDAo4WgHqL7An+vb1MFXUqWfw8s5fTI=; b=QAvMcBGEUQ2zIhDGPqQCYeBAR1+mhH8UMkY3j06xjL9IXjqI18lKBbhhHfN3ON1/XKRP6l SKhhsjne10ANAd/3ktY8hz8kMW11awufbb7XCzbrTYZNnKkYq+5PPrGkYMEGQIxBDmt7To 71biPtkZ30zC/6psBPK7jb7xcUtvrFs= From: richard.leitner@linux.dev Date: Mon, 13 Mar 2023 08:50:17 +0100 Subject: [PATCH RESEND v2 2/2] drm/panel: simple: Add InnoLux G070ACE-L01 MIME-Version: 1.0 Message-Id: <20230201-innolux-g070ace-v2-2-2371e251dd40@skidata.com> References: <20230201-innolux-g070ace-v2-0-2371e251dd40@skidata.com> In-Reply-To: <20230201-innolux-g070ace-v2-0-2371e251dd40@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=WvzSY3I/uDMGpjXzQJsnCK3M11M4y5h/o4MS4BYdVEI=; b=owGbwMvMwCX2R2KahkXN7wuMp9WSGFL4rv7k36RU1ZL08rrGNiHdb6K6NxUumPIvCk6/aupt++18 YYxTRykLgxgXg6yYIou9MVe7e27Z+0pFnVyYOaxMIEMYuDgFYCJ6dxn+e7noiAnO4/BqzrpwW1zAkL f6dxmXbeO92gIN7+YseSdXRoZN20TF79amHdjV66QW/zwsY+uhpd2+v46aTp/2sO0r8xROAA== 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?1760238206208269385?= X-GMAIL-MSGID: =?utf-8?q?1760238206208269385?= 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 Reviewed-by: Douglas Anderson --- 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,