From patchwork Fri Nov 18 07:58:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Leitner X-Patchwork-Id: 22172 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp55443wrr; Fri, 18 Nov 2022 00:04:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Vx4E2XD16gahvxb3XHWFfki5YBVaQLz2BtTQdyrOznG5WgtAF6WGX/3PzTs4YHqMQYbS+ X-Received: by 2002:aa7:d718:0:b0:467:6ffe:e94c with SMTP id t24-20020aa7d718000000b004676ffee94cmr5101344edq.417.1668758648390; Fri, 18 Nov 2022 00:04:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668758648; cv=none; d=google.com; s=arc-20160816; b=ZcK0WzI5r66mQyX7YWx3a0DKMOMG/TBX0I1Oxb1VfE2lgRJkIRHBzn1ka9Otmh/hvS oMl5MWU9HkaIQDkPaSpCdEeLludezXOX3Nxq5hJCoMNRgOVI3FzGocnkYeFOZ+kuCKeb TBykOcSjB2tLI83ENoM11r4458f9zNOeqVHmv243hqdoiU1tetRf2K+rs8bVhPpH+Qua vfFyDKJ1cysHveP6GcTaMy5SxNSfX8lzDC4nT8lF4tG+lwbMX99TNe8cCJ9SAJAIBrv0 MgyQZyqMh0YLzAjNgwEczjptAiLbT2LDYQtxoIYaD3u/ODaEvMcB/ggZDV9AR+YvHuo2 ThcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TaI9aGA9XbCGiPwXu4jigiwF3LSQGb8o+rfJJko6kMs=; b=CV6A/RdXYouHAtsAla9lLQ0TUsl2mTjK2rcHTge/y7v+kwKfq1nfxvwnWUyMk8WNaE KlU/I+EZhwwenPqXUCjxGzkzNnx5xOJW4i/a9bZAPjGJqbK4aBqHUpvqG9VYVECHbjKW /r3zZAvaNQKPv4epWcSRdsrb5qsDgXOy9Bw6+YmIze2AhgY8KDFQ+3RUAO+hFdNn4sir 60c7zdHhezk9+mrZlM4AdCvhovMAsje6BdQ+iw11hq3zn6W1hMsWXmtVeUGywbLPqfr0 GYX9+5drEpunkCZjdYuXpvCYeb5/LNH988jiTOuo2TRhsv3rhomeleWipmRibwP3Lh2T /vjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="C5qMk0Z/"; 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 q14-20020a056402518e00b0045d06ea5596si2861919edd.26.2022.11.18.00.03.44; Fri, 18 Nov 2022 00:04:08 -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="C5qMk0Z/"; 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 S241200AbiKRIAW (ORCPT + 99 others); Fri, 18 Nov 2022 03:00:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241062AbiKRIAN (ORCPT ); Fri, 18 Nov 2022 03:00:13 -0500 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2044612AB5; Fri, 18 Nov 2022 00:00:12 -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=1668758410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TaI9aGA9XbCGiPwXu4jigiwF3LSQGb8o+rfJJko6kMs=; b=C5qMk0Z/tdBqe4+CkW4b1JwQQ4kYNy1NVI0tLGvQjptpxmy9WkL+wZoZICWWOyRfvC4k1L 0gmqjSX3VDkXzgTlhWbrxoYCGgaHx8Ver7X3spDvlXDwU92rtolT1/4AQ9knILwz5n3sdQ a4QEYIdNMXDG01Ovew94QC7xNQyQI94= From: richard.leitner@linux.dev To: linux-kernel@vger.kernel.org Cc: Richard Leitner , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: display: simple: add support for InnoLux G070ACE-L01 Date: Fri, 18 Nov 2022 08:58:55 +0100 Message-Id: <20221118075856.401373-1-richard.leitner@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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?1749820268614698292?= X-GMAIL-MSGID: =?utf-8?q?1749820268614698292?= From: Richard Leitner Add Innolux G070ACE-L01 7" WVGA (800x480) TFT LCD panel compatible string. Signed-off-by: Richard Leitner Acked-by: Krzysztof Kozlowski --- Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org --- .../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 Fri Nov 18 07:58:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Leitner X-Patchwork-Id: 22171 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp54693wrr; Fri, 18 Nov 2022 00:02:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf7v8LG9cRinKwIQ6FX2u6uQBSoWgc5yvOhXx9/Vv9pWF6jVMaf8zSg973ULaPJ8/f4U4rhx X-Received: by 2002:a17:907:2a56:b0:7ae:c2c:e55a with SMTP id fe22-20020a1709072a5600b007ae0c2ce55amr4943460ejc.214.1668758547004; Fri, 18 Nov 2022 00:02:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668758546; cv=none; d=google.com; s=arc-20160816; b=m+X6nXh+FhzjtF4ZP/lmuH7yw1Tk+dEbLZypuOep0zx6MGm1rixjLhYSMbyjOURCVM ypCDUmOBwqbRNF55AY3eta+BSvwE7zDZmLm7oHU08RM/gfZtUb3IaScURQveO4FZaGo0 aRTORExysYxXABVNLiHxDBWYKnpIzhVh37TqAyS9totIJ1UhTlc8mp8Kc8CzJ0LRB4Db fULRyrdapsfPIEYQ8qOtU+CGAN7ZCuTImWhCBJcBcCQu4bh+Y/fsdp63GAk0/IE8ELQd K0W8hSEanFRibB+5S9lfl10mVCmsi6eyNWqF+ZaUDdHO57vZky4C3JMdhY/EQ4FWSTQX I93Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6FMMNXg0Pi9R/TC2aglIYxF4cXai7D/gu9XZHy3zUX4=; b=yDXAh4l5xH5/z6ieg7BAZIWd3/D4zm6G++z1+CHHmWRmLBx04Ay3xb+3jgpN0SiaOg o2Ou9INyjxKPTJVTePT5SPo3jpnJq72TQ6Kl9j0xBwLRA4MrfICWm8rYgPyXzKWinzEM v+dTSetbU9kpss/lGnM6EBCllRcdAPh1hJceFL9v2OBNrBBKHs6AiOkYIgS2LZfnvm9v xG4prrdAKC2f/Dg4oemm1E1u7rPAxPu8TV3tBxPHhjt5Rd7TkDJes+M3YPOTYjmTuxNY /IDD1nrUpoKQk6nsdWoWoSzJRQJCtG/pgNp6z2j5GkCFzBn4tITrFRCVSKmFbc24KTUZ vd8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Uet0K3Nd; 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 hc6-20020a170907168600b007addf59b7f5si2744759ejc.794.2022.11.18.00.02.00; Fri, 18 Nov 2022 00:02:26 -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=Uet0K3Nd; 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 S241311AbiKRIAb (ORCPT + 99 others); Fri, 18 Nov 2022 03:00:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241279AbiKRIA1 (ORCPT ); Fri, 18 Nov 2022 03:00:27 -0500 Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A694313F64 for ; Fri, 18 Nov 2022 00:00:24 -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=1668758422; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6FMMNXg0Pi9R/TC2aglIYxF4cXai7D/gu9XZHy3zUX4=; b=Uet0K3NdvFLDlt3eGJxTUm40otjvaYR0uK5uN7Y43yDEGQN9ChmGLKkeit4Cgn/KkbAptZ b2FDntpVx1yY8HpZIJRhmvD17ETDFC8T6YciXl9AyHq7efFGSuIdT/sSGaJpEoqjWuKXGF ZYJR7jvYkJWL9q7U+att0E6LhIlPCnU= From: richard.leitner@linux.dev To: linux-kernel@vger.kernel.org Cc: Richard Leitner , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] drm/panel: simple: Add InnoLux G070ACE-L01 Date: Fri, 18 Nov 2022 08:58:56 +0100 Message-Id: <20221118075856.401373-2-richard.leitner@linux.dev> In-Reply-To: <20221118075856.401373-1-richard.leitner@linux.dev> References: <20221118075856.401373-1-richard.leitner@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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?1749820162578416964?= X-GMAIL-MSGID: =?utf-8?q?1749820162578416964?= 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 --- Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org --- 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 2944228a8e2c..b2b5ec5839de 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 }, @@ -4096,6 +4128,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,