From patchwork Fri May 7 08:00:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Looijmans X-Patchwork-Id: 12244121 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75B41C433ED for ; Fri, 7 May 2021 08:40:59 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id F1FAA613CD for ; Fri, 7 May 2021 08:40:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F1FAA613CD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=topic.nl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E0EA46E7F5; Fri, 7 May 2021 08:40:50 +0000 (UTC) Received: from atl4mhfb01.myregisteredsite.com (atl4mhfb01.myregisteredsite.com [209.17.115.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id 61DEC6EDD1 for ; Fri, 7 May 2021 08:06:09 +0000 (UTC) Received: from jax4mhob10.registeredsite.com (jax4mhob10.myregisteredsite.com [64.69.218.90]) by atl4mhfb01.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id 14780Xb1024647 for ; Fri, 7 May 2021 04:00:34 -0400 Received: from mailpod.hostingplatform.com ([10.30.71.206]) by jax4mhob10.registeredsite.com (8.14.4/8.14.4) with ESMTP id 14780Tp2027510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 7 May 2021 04:00:29 -0400 Received: (qmail 24075 invoked by uid 0); 7 May 2021 08:00:29 -0000 X-TCPREMOTEIP: 83.128.90.119 X-Authenticated-UID: mike@milosoftware.com Received: from unknown (HELO phenom.domain?not?set.invalid) (mike@milosoftware.com@83.128.90.119) by 0 with ESMTPA; 7 May 2021 08:00:29 -0000 From: Mike Looijmans To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: display: simple: Add YTS700TLBC-02-100C and G104AGE-L02 Date: Fri, 7 May 2021 10:00:15 +0200 Message-Id: <20210507080017.2794-1-mike.looijmans@topic.nl> X-Mailer: git-send-email 2.17.1 X-Mailman-Approved-At: Fri, 07 May 2021 08:40:50 +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: airlied@linux.ie, linux-kernel@vger.kernel.org, Mike Looijmans , robh+dt@kernel.org, thierry.reding@gmail.com, sam@ravnborg.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Adds these panels to the dt bindings: - Yes Optoelectronics YTS700TLBC-02-100C - Innolux G104AGE-L02 Signed-off-by: Mike Looijmans Acked-by: Rob Herring --- .../devicetree/bindings/display/panel/panel-simple.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index b3797ba2698b..d87d6ef496b9 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -156,6 +156,8 @@ properties: - innolux,g070y2-l01 # Innolux Corporation 10.1" G101ICE-L01 WXGA (1280x800) LVDS panel - innolux,g101ice-l01 + # Innolux Corporation 7" G104AGE-L02 (800x600) LVDS panel + - innolux,g104age-l02 # Innolux Corporation 12.1" WXGA (1280x800) TFT LCD panel - innolux,g121i1-l01 # Innolux Corporation 12.1" G121X1-L03 XGA (1024x768) TFT LCD panel @@ -293,6 +295,8 @@ properties: - winstar,wf35ltiacd # Yes Optoelectronics YTC700TLAG-05-201C 7" TFT LCD panel - yes-optoelectronics,ytc700tlag-05-201c + # Yes Optoelectronics YTS700TLBC-02-100C (1024x600) TFT LCD panel + - yes-optoelectronics,yts700tlbc-02-100c backlight: true enable-gpios: true From patchwork Fri May 7 08:00:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Looijmans X-Patchwork-Id: 12244123 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7395CC433ED for ; Fri, 7 May 2021 08:41:03 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D2739613CE for ; Fri, 7 May 2021 08:41:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D2739613CE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=topic.nl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6C1B76E81F; Fri, 7 May 2021 08:40:51 +0000 (UTC) Received: from atl4mhfb01.myregisteredsite.com (atl4mhfb01.myregisteredsite.com [209.17.115.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id 611D36EDCE for ; Fri, 7 May 2021 08:06:09 +0000 (UTC) Received: from jax4mhob20.registeredsite.com (jax4mhob20.registeredsite.com [64.69.218.108]) by atl4mhfb01.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id 14780YkL024650 for ; Fri, 7 May 2021 04:00:34 -0400 Received: from mailpod.hostingplatform.com ([10.30.71.206]) by jax4mhob20.registeredsite.com (8.14.4/8.14.4) with ESMTP id 14780UPI140182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 7 May 2021 04:00:30 -0400 Received: (qmail 24178 invoked by uid 0); 7 May 2021 08:00:30 -0000 X-TCPREMOTEIP: 83.128.90.119 X-Authenticated-UID: mike@milosoftware.com Received: from unknown (HELO phenom.domain?not?set.invalid) (mike@milosoftware.com@83.128.90.119) by 0 with ESMTPA; 7 May 2021 08:00:30 -0000 From: Mike Looijmans To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 2/3] drm/panel: Add Innolux G104AGE-L02 to panel-simple Date: Fri, 7 May 2021 10:00:16 +0200 Message-Id: <20210507080017.2794-2-mike.looijmans@topic.nl> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210507080017.2794-1-mike.looijmans@topic.nl> References: <20210507080017.2794-1-mike.looijmans@topic.nl> X-Mailman-Approved-At: Fri, 07 May 2021 08:40:50 +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: airlied@linux.ie, linux-kernel@vger.kernel.org, Mike Looijmans , robh+dt@kernel.org, thierry.reding@gmail.com, sam@ravnborg.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Adds support for the Innolux G104AGE-L02 which is a 800x600 TFT display panel with LVDS interface. Signed-off-by: Mike Looijmans --- drivers/gpu/drm/panel/panel-simple.c | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index be312b5c04dd..8b7732249d13 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2352,6 +2352,37 @@ static const struct panel_desc innolux_g101ice_l01 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct display_timing innolux_g104age_l02_timing = { + .pixelclock = { 30000000, 41666666, 50000000 }, + .hactive = { 800, 800, 800 }, + .hfront_porch = { 80, 128, 130 }, + .hback_porch = { 79, 127, 129 }, + .hsync_len = { 1, 1, 1 }, + .vactive = { 600, 600, 600 }, + .vfront_porch = { 4, 29, 212 }, + .vback_porch = { 3, 28, 211 }, + .vsync_len = { 1, 1, 1 }, + .flags = DISPLAY_FLAGS_DE_HIGH | + DISPLAY_FLAGS_HSYNC_HIGH | + DISPLAY_FLAGS_VSYNC_HIGH, +}; + +static const struct panel_desc innolux_g104age_l02 = { + .timings = &innolux_g104age_l02_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 211, /* 211.2 X 158.4(mm) */ + .height = 158, + }, + .delay = { + .enable = 200, + .disable = 200, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct display_timing innolux_g121i1_l01_timing = { .pixelclock = { 67450000, 71000000, 74550000 }, .hactive = { 1280, 1280, 1280 }, @@ -4347,6 +4378,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,g101ice-l01", .data = &innolux_g101ice_l01 + }, { + .compatible = "innolux,g104age-l02", + .data = &innolux_g104age_l02 }, { .compatible = "innolux,g121i1-l01", .data = &innolux_g121i1_l01 From patchwork Fri May 7 08:00:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Looijmans X-Patchwork-Id: 12244119 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9385AC433ED for ; Fri, 7 May 2021 08:40:52 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id ED1AB613CE for ; Fri, 7 May 2021 08:40:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED1AB613CE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=topic.nl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BDB0F6E067; Fri, 7 May 2021 08:40:50 +0000 (UTC) X-Greylist: delayed 332 seconds by postgrey-1.36 at gabe; Fri, 07 May 2021 08:06:08 UTC Received: from atl4mhfb02.myregisteredsite.com (atl4mhfb02.myregisteredsite.com [209.17.115.118]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1B48C6EDCE for ; Fri, 7 May 2021 08:06:08 +0000 (UTC) Received: from jax4mhob16.registeredsite.com (jax4mhob16.registeredsite.com [64.69.218.104]) by atl4mhfb02.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id 14780Ywc024920 for ; Fri, 7 May 2021 04:00:34 -0400 Received: from mailpod.hostingplatform.com ([10.30.71.206]) by jax4mhob16.registeredsite.com (8.14.4/8.14.4) with ESMTP id 14780WwX144840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 7 May 2021 04:00:32 -0400 Received: (qmail 24284 invoked by uid 0); 7 May 2021 08:00:32 -0000 X-TCPREMOTEIP: 83.128.90.119 X-Authenticated-UID: mike@milosoftware.com Received: from unknown (HELO phenom.domain?not?set.invalid) (mike@milosoftware.com@83.128.90.119) by 0 with ESMTPA; 7 May 2021 08:00:31 -0000 From: Mike Looijmans To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 3/3] drm/panel: Add Yes Optoelectronics YTS700TLBC-02-100C to panel-simple Date: Fri, 7 May 2021 10:00:17 +0200 Message-Id: <20210507080017.2794-3-mike.looijmans@topic.nl> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210507080017.2794-1-mike.looijmans@topic.nl> References: <20210507080017.2794-1-mike.looijmans@topic.nl> X-Mailman-Approved-At: Fri, 07 May 2021 08:40:50 +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: airlied@linux.ie, linux-kernel@vger.kernel.org, Mike Looijmans , robh+dt@kernel.org, thierry.reding@gmail.com, sam@ravnborg.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Adds support for the Yes YTS700TLBC-02-100C which is a 1024x600 TFT display panel with LVDS interface. Signed-off-by: Mike Looijmans --- drivers/gpu/drm/panel/panel-simple.c | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 8b7732249d13..c9815faf8c77 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -4139,6 +4139,33 @@ static const struct panel_desc winstar_wf35ltiacd = { .bus_format = MEDIA_BUS_FMT_RGB888_1X24, }; +static const struct display_timing yes_optoelectronics_yts700tlbc_02_100c_timing = { + .pixelclock = { 40800000, 50000000, 67200000 }, + .hactive = { 1024, 1024, 1024 }, + .hfront_porch = { 16, 127, 216 }, + .hback_porch = { 160, 160, 160 }, + .hsync_len = { 1, 1, 1 }, + .vactive = { 600, 600, 600 }, + .vfront_porch = { 1, 11, 127 }, + .vback_porch = { 23, 23, 23 }, + .vsync_len = { 1, 1, 1 }, + .flags = DISPLAY_FLAGS_DE_HIGH | + DISPLAY_FLAGS_HSYNC_LOW | + DISPLAY_FLAGS_VSYNC_LOW, +}; + +static const struct panel_desc yes_optoelectronics_yts700tlbc_02_100c = { + .timings = &yes_optoelectronics_yts700tlbc_02_100c_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 154, + .height = 86, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode yes_optoelectronics_ytc700tlag_05_201c_mode = { .clock = 51200, .hdisplay = 1024, @@ -4606,6 +4633,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "yes-optoelectronics,ytc700tlag-05-201c", .data = &yes_optoelectronics_ytc700tlag_05_201c, + }, { + .compatible = "yes-optoelectronics,yts700tlbc-02-100c", + .data = &yes_optoelectronics_yts700tlbc_02_100c, }, { /* Must be the last entry */ .compatible = "panel-dpi",