From patchwork Thu Jun 11 12:42:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 199208 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=-9.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, 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 3C259C433E0 for ; Thu, 11 Jun 2020 12:42:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 183A82078D for ; Thu, 11 Jun 2020 12:42:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="fsSJ58/e" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726657AbgFKMmb (ORCPT ); Thu, 11 Jun 2020 08:42:31 -0400 Received: from mx1.tq-group.com ([62.157.118.193]:55549 "EHLO mx1.tq-group.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726444AbgFKMm3 (ORCPT ); Thu, 11 Jun 2020 08:42:29 -0400 IronPort-SDR: 6QnX83bhfwIv1Z4tDtveh3u1j+WPRJSeVorbP4ncaFK7bSs2xiFNRcwRO3k9bf4cQL7Ddc9+Mg 5NEVUUJhPX1VK/OqH1BJEcC7rxmIlb58UtfsMbTkGAUH4V1uIv1c5bhU6mcrriZVvVtTMbbuLS iuP6W8EmamhTz8ZTRrkvtOuCkVQ6EyewwObkjjnS40PWNs/WiwPY5KDIbElAA6tZZxkBe+btlz uLeI5k8uidrcJ7kUBvTIUI8AeTHjLDutNZ8DryAf1tJYGaMBJUj1UE6ZAioLOMIXh7xc/WYeEW bFQ= X-IronPort-AV: E=Sophos;i="5.73,499,1583190000"; d="scan'208";a="12649663" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 11 Jun 2020 14:42:26 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 11 Jun 2020 14:42:26 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 11 Jun 2020 14:42:26 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1591879346; x=1623415346; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=NNs0T11lkBWKAhTjjHyrxpI0XkkykM9XmH661Mwcs88=; b=fsSJ58/e22UxJjae6B/e+653HRdwf+MJkgD6XeYgUvzenlr8yd1Iwnvl SWMmzngtJXiHU0VM+f6pxi2wqPosDIbr06519xGBGZIglgfBqSiLGYAFW PU4LvttKDlGjNdM5Z2Eid3EoirLCXCQZfRZgwsTQRuo88BQINQhnpqz2D s5p1zcFJ297u/RM5xIsggGF9O4d7hJELbqZ6/5JPgXWvP7YnHL0bf1KGD HeIbrrPC0xmseUNi+02d4mnpZhQRuuslD82QIBswOD5aAcyL1Zc/hIQyd aecqV4YEoRYpnDD37SCQlQ+Uc/wi37oOm+GpVgUZlWSQFkvC09XXM7M2S Q==; IronPort-SDR: F1rP2yFbODOsrNpGQkIWoLiPAoNvfFGTscZcMgcDODq9xCNSgQ3dC4mItNoE3q44WXCBL3AeAC YipbP3XCn4HVo1eZ7ca/LCkFUX1z+Aa4z/TU8TF/buEBAedJh6fpd+KmIPU/RBHaPvXZjX/dzE bFoMEDYqmyMCeKOfva698cC5jNWeynZ6jNeiu7YaLaL5lvozQrxDRnidzaH7L4w5BprslgParq OQvAF1c0hWu8dZJWoe/p9Tq44+fT+HeyCn/X9s6cHLY9x8yYXkcS+IZ4kh/Qw4OJecmD9xmRa8 Jys= X-IronPort-AV: E=Sophos;i="5.73,499,1583190000"; d="scan'208";a="12649662" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 11 Jun 2020 14:42:26 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.117.49.26]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id B77A4280065; Thu, 11 Jun 2020 14:42:27 +0200 (CEST) From: Matthias Schiffer To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matthias Schiffer Subject: [PATCH v2 1/4] dt-bindings: display: simple: add CDTech S070PWS19HP-FC21 and S070SWV29HG-DC44 Date: Thu, 11 Jun 2020 14:42:06 +0200 Message-Id: <20200611124209.25028-1-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200610120131.3069-1-matthias.schiffer@ew.tq-group.com> References: <20200610120131.3069-1-matthias.schiffer@ew.tq-group.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the CDTech Electronics displays S070PWS19HP-FC21 (7.0" WSVGA) and S070SWV29HG-DC44 (7.0" WVGA) to the panel-simple compatible list. Signed-off-by: Matthias Schiffer --- v2: no changes .../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 31e3efc73e00..2ddb520edc6d 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -81,6 +81,10 @@ properties: - boe,nv140fhmn49 # CDTech(H.K.) Electronics Limited 4.3" 480x272 color TFT-LCD panel - cdtech,s043wq26h-ct7 + # CDTech(H.K.) Electronics Limited 7" WSVGA (1024x600) TFT LCD Panel + - cdtech,s070pws19hp-fc21 + # CDTech(H.K.) Electronics Limited 7" WVGA (800x480) TFT LCD Panel + - cdtech,s070swv29hg-dc44 # CDTech(H.K.) Electronics Limited 7" 800x480 color TFT-LCD panel - cdtech,s070wv95-ct16 # Chunghwa Picture Tubes Ltd. 7" WXGA TFT LCD panel From patchwork Wed Jun 10 12:01:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 199252 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=-6.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY,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 7F94CC433E2 for ; Wed, 10 Jun 2020 12:02:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5889520760 for ; Wed, 10 Jun 2020 12:02:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="b91mw2Nq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728913AbgFJMB6 (ORCPT ); Wed, 10 Jun 2020 08:01:58 -0400 Received: from mx1.tq-group.com ([62.157.118.193]:50363 "EHLO mx1.tq-group.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728480AbgFJMBo (ORCPT ); Wed, 10 Jun 2020 08:01:44 -0400 IronPort-SDR: mUmeoboEu3vDQMJ8IwQQcgidPHNARVYQUZAgV0JlBUJSNHbstWTtvef2vX8zH3b9fju8aTr2Lv 4CK2yTS0HrNMXyOx7VNBZtHGKfqU/Yk2lDNe+Fwz7rF9dKMBpMoXSxEwvLdPl+TZsYt29qURX7 udHLmuS8umsIduWvPmDV2r8GHo6OAoSPxXkDpjtZGl5aCTYAFkNe2SNm3J9X3HHbbbWL9tpq3t hyWJJuZmnGH3FgHiy6T6l8ZWxlMpotIeTW0gVcWGgJ+5yaF934gPisdZQcSuB9ElYDLFb/jFuP REA= X-IronPort-AV: E=Sophos;i="5.73,495,1583190000"; d="scan'208";a="12636792" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 10 Jun 2020 14:01:39 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 10 Jun 2020 14:01:39 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 10 Jun 2020 14:01:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1591790499; x=1623326499; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=PDXAYXZawwVFkPqDUx8c9ur4W53kvMuf6DO86ph2FQQ=; b=b91mw2NqybIx8rJT/kmnS3ILhd8IFtRN4JLBTQt+tM4zU8AAp/KamAkm sVmQe0JyaA19/mDbIipFOEsz88oCayI3BpRieuool1fzQvnI8HFnEtkjv rNTPV6iGQYbPQO7V0tlcIIqHz8xYwl/t/1grBoIsH4JmS+EkI3y1o/ldq GyHGeRo+ff7EVE7DApH60n5+/e6fNkJ755cfoDNXRKVzWQIzWlqqLus2m ItnMG3L3nwAloXr/cZSk6SUmXtKU4hmYxrtNVgpGafMkfSGZHJHQOCc1w +Eu8kWBhPR/eABv77xAV+tzBmdJ+LDdqEYrd7SrxeGPfLFd5VYKsjzbsU Q==; IronPort-SDR: V9itYVaEPJgwGTGrseKjJ4gDL/y7xrzI0RTw5Ha8K2OfibaiBDH5fW1BraekSWQC+r3qQznDA7 cFoPIwDHD38e5YggBHkUthAOvoH5RZO/izMGK9kxnwx7/JGJU8SOmbQGNsAK8ZjOHx9KQaVdfR U0UgZYuhpJ+LJj6k0m7XqFzrsYAk268BqZijMPTo9zJ30f0f3P23cBybUzbMfRuAdH5zyczM61 dAQnfMVeB6B8aSJlfjYK21p4hjbBxqKBtQcVuzjvERXrMkfzxiAqkph+d30uqG49F0j7vtLvgW aes= X-IronPort-AV: E=Sophos;i="5.73,495,1583190000"; d="scan'208";a="12636789" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Jun 2020 14:01:39 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.117.49.26]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id 996B5280065; Wed, 10 Jun 2020 14:01:39 +0200 (CEST) From: Matthias Schiffer To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matthias Schiffer Subject: [PATCH 2/4] dt-bindings: display: simple: add Tianma TM070JVHG33 Date: Wed, 10 Jun 2020 14:01:29 +0200 Message-Id: <20200610120131.3069-3-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200610120131.3069-1-matthias.schiffer@ew.tq-group.com> References: <20200610120131.3069-1-matthias.schiffer@ew.tq-group.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the Tianma Micro-electronics TM070JVHG33 7.0" WXGA display to the panel-simple compatible list. Signed-off-by: Matthias Schiffer --- .../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 7749fbd14c6f..3d5edef2ebad 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -249,6 +249,8 @@ properties: - starry,kr122ea0sra # Tianma Micro-electronics TM070JDHG30 7.0" WXGA TFT LCD panel - tianma,tm070jdhg30 + # Tianma Micro-electronics TM070JVHG33 7.0" WXGA TFT LCD panel + - tianma,tm070jvhg33 # Tianma Micro-electronics TM070RVHG71 7.0" WXGA TFT LCD panel - tianma,tm070rvhg71 # Toshiba 8.9" WXGA (1280x768) TFT LCD panel From patchwork Thu Jun 11 12:42:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 199207 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=-6.7 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, UNWANTED_LANGUAGE_BODY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 E227DC433E1 for ; Thu, 11 Jun 2020 12:42:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C1DCC2078D for ; Thu, 11 Jun 2020 12:42:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="RQQpzgmD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726758AbgFKMmi (ORCPT ); Thu, 11 Jun 2020 08:42:38 -0400 Received: from mx1.tq-group.com ([62.157.118.193]:31030 "EHLO mx1.tq-group.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726644AbgFKMmc (ORCPT ); Thu, 11 Jun 2020 08:42:32 -0400 IronPort-SDR: psf8eA06QA73cVgDhKf1qN31JERE9W4cEVl9fRg+WGHuclzohHqlixpO1TAGj6XEmznSWRBm6s xZupZCVqEVb85x9X6UYBSmiGo6G2c2u4qsJTIeWuOc+G/9Yy5o5ICv6q+IwCEAsWNPtiOiPbXM AqGoeibeDCW4oqpAo3fjJmsjhZZzcjFUfoupSPiZaMPW0mm4rSWoRaG3TlT5sFTA/HXyvAnUfA IPfkbSn5q2lyiAMREMx6xWWWtp1d4vReUMc/OOHgC95IbSmyv6RnPlaolI4wkINPJJ/pivGV7G +Mw= X-IronPort-AV: E=Sophos;i="5.73,499,1583190000"; d="scan'208";a="12649667" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 11 Jun 2020 14:42:26 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 11 Jun 2020 14:42:27 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 11 Jun 2020 14:42:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1591879347; x=1623415347; h=from:to:cc:subject:date:message-id; bh=w92AlLWT7nwDfbklnB9I+khUvogaeBHHV8tKD4NSxZk=; b=RQQpzgmDedERRzPKaIo5YlWkWEQCx0G7gMnpGsnGibw83tShXc1k79ad EVbJFgb1OENZrP3CClgbdDQ0MPAuJ8EciXOyZdC6yjSNkMR9sMa2p9bdx NKrU+m2/S3pec2flzJKfLTQUjL5uufcfjUwmcsD+EM4PJz/oOyhq/suzg /MuA+aTg9NB2E0Cv2l7t28jy142IOM69QgTc24GcP+h5INoDFxvVQHzXL iF/ZRk+Qcu584qn32bT0ZyQnExhLqK0OgGcf683B2DpjPxYB6+tdfpvHM /eDgrrb+KW7KUIf1uSiwZ5zs0n6HliVgHDvXl+fpjWSU/seuSeioaT8CL A==; IronPort-SDR: EOnhYcJnjdJM6Gu+to8dm9odHIz97Z0LlsfClzwJV3AgkixJ4698sdcafFpKqcs2a84ffqci8L bpJI60Yeg42B1shkVVhoRac81DT7R1t2ppXYjuubeBs2hRLStqpFJbkW1h+E00xl5NdYLiF+XX aZLdCQzJs3ItforRLgmqa/BYf4wphedC76B+Ly0rV+fGJiku3V/1KQEHvVtsFsURHuMmnpUzE4 1xiSDbfgmSWScCBIYizpZOzH6ISdXRHtQgHmLCIs4MLY030kICzj3FWp1pxMmTdTXovj06C45Z WBw= X-IronPort-AV: E=Sophos;i="5.73,499,1583190000"; d="scan'208";a="12649666" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 11 Jun 2020 14:42:26 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.117.49.26]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id 2CE9F280065; Thu, 11 Jun 2020 14:42:28 +0200 (CEST) From: Matthias Schiffer To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matthias Schiffer Subject: [PATCH v2 3/4] drm/panel: simple: add CDTech S070PWS19HP-FC21 and S070SWV29HG-DC44 Date: Thu, 11 Jun 2020 14:42:08 +0200 Message-Id: <20200611124209.25028-3-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200611124209.25028-1-matthias.schiffer@ew.tq-group.com> References: <20200611124209.25028-1-matthias.schiffer@ew.tq-group.com> In-Reply-To: <20200610120131.3069-1-matthias.schiffer@ew.tq-group.com> References: <20200610120131.3069-1-matthias.schiffer@ew.tq-group.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Michael Krummsdorf Add support for the CDTech Electronics displays S070PWS19HP-FC21 (7.0" WSVGA) and S070SWV29HG-DC44 (7.0" WVGA) to panel-simple. Signed-off-by: Michael Krummsdorf Signed-off-by: Matthias Schiffer --- v2: - removed vrefresh - added connector_type drivers/gpu/drm/panel/panel-simple.c | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 6764ac630e22..ee9815e5eee8 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1296,6 +1296,60 @@ static const struct panel_desc cdtech_s043wq26h_ct7 = { .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, }; +/* S070PWS19HP-FC21 2017/04/22 */ +static const struct drm_display_mode cdtech_s070pws19hp_fc21_mode = { + .clock = 51200, + .hdisplay = 1024, + .hsync_start = 1024 + 160, + .hsync_end = 1024 + 160 + 20, + .htotal = 1024 + 160 + 20 + 140, + .vdisplay = 600, + .vsync_start = 600 + 12, + .vsync_end = 600 + 12 + 3, + .vtotal = 600 + 12 + 3 + 20, + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, +}; + +static const struct panel_desc cdtech_s070pws19hp_fc21 = { + .modes = &cdtech_s070pws19hp_fc21_mode, + .num_modes = 1, + .bpc = 6, + .size = { + .width = 154, + .height = 86, + }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_POSEDGE, + .connector_type = DRM_MODE_CONNECTOR_DPI, +}; + +/* S070SWV29HG-DC44 2017/09/21 */ +static const struct drm_display_mode cdtech_s070swv29hg_dc44_mode = { + .clock = 33300, + .hdisplay = 800, + .hsync_start = 800 + 210, + .hsync_end = 800 + 210 + 2, + .htotal = 800 + 210 + 2 + 44, + .vdisplay = 480, + .vsync_start = 480 + 22, + .vsync_end = 480 + 22 + 2, + .vtotal = 480 + 22 + 2 + 21, + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, +}; + +static const struct panel_desc cdtech_s070swv29hg_dc44 = { + .modes = &cdtech_s070swv29hg_dc44_mode, + .num_modes = 1, + .bpc = 6, + .size = { + .width = 154, + .height = 86, + }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_POSEDGE, + .connector_type = DRM_MODE_CONNECTOR_DPI, +}; + static const struct drm_display_mode cdtech_s070wv95_ct16_mode = { .clock = 35000, .hdisplay = 800, @@ -3674,6 +3728,12 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "cdtech,s043wq26h-ct7", .data = &cdtech_s043wq26h_ct7, + }, { + .compatible = "cdtech,s070pws19hp-fc21", + .data = &cdtech_s070pws19hp_fc21, + }, { + .compatible = "cdtech,s070swv29hg-dc44", + .data = &cdtech_s070swv29hg_dc44, }, { .compatible = "cdtech,s070wv95-ct16", .data = &cdtech_s070wv95_ct16, From patchwork Wed Jun 10 12:01:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 199253 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=-9.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham 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 5FFF9C433E0 for ; Wed, 10 Jun 2020 12:01:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3A80720760 for ; Wed, 10 Jun 2020 12:01:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="GAQujaMB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728807AbgFJMBt (ORCPT ); Wed, 10 Jun 2020 08:01:49 -0400 Received: from mx1.tq-group.com ([62.157.118.193]:50371 "EHLO mx1.tq-group.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728629AbgFJMBq (ORCPT ); Wed, 10 Jun 2020 08:01:46 -0400 IronPort-SDR: 5eiorkW9xaD7uSKsxy7+32Jayn+pvALBTjPT3nN4vum6YXtlUIwI1TG7lkVUU/ci4xnaNSswns 2gQblNSd6DYvHUfqsuvcXTJT5gusgnRhHvB9CEkZKOgQc9d9WxHMIC7QzP5ZDd23WAirIpYC16 YVKnbtoGoWF5Tq5vwojvZFX0V5+Iua0yurUVmKvOKOIRrhQ9bUXdoVacw5gAmTv6nEk3gz1M/+ GGebUSz+5TeptD+pr8ktSOLZ556Q5HGbJgwWeDhAkxGCwY513o8nZVX/NPJTeIeozsGRmJbGDZ x3k= X-IronPort-AV: E=Sophos;i="5.73,495,1583190000"; d="scan'208";a="12636796" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 10 Jun 2020 14:01:39 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 10 Jun 2020 14:01:39 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 10 Jun 2020 14:01:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1591790499; x=1623326499; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=Rt6w08AmrIXv5fgWwVUD1x6J/iZEepXybm9seGqUurQ=; b=GAQujaMBPbez78VANruH0HcYbXhgedCOQ/U0Cb2vcN8PzOUiAaLNShf7 /1PZ+wyxrrBi5Po+PjRSFNiKnoa2zJqgtXQWKm/Sx5mCnG6wINiQc9uEZ mDSEzYLSe7hSHtV5hSGd0Afa0GZeMNGxeFCdG+63jQz0gE42ZISQuIe2K buRSc17Cb5TyRqKxwtVZE48YRhh3V9MdtwqHC4MvEU+VFZYRakTQqMqPY qct3inz+PGsynHqDW0vyp3i3HmY+7DdT1Su7D6wTTFDShKfo07ujF6Dvy CGbJqRG6fDoyAJOu6v+oWTSJZ4rdSV+DnVjVIPNqZgpbWZExocpslMtsc A==; IronPort-SDR: guSyCsrAuQ+ZKThGCqoXVMMha4x2F2IlXPqBohZ4mko7PyWScLgYmLFfXDbqkQVJbSOqJ6Eih5 Y2lt7PZisBrtDMgUmL/xRbobipDaKa+sflzOrBU2qUfgy2WS0bTsXjdtnNThn5GVIobA46ejZm 2H/2UWxI0ShSil0mOzMEbE+r8zN0O477UktJUC6/rXYZFeYW1EHAWPQJhkYR6Df5GerwcroqxS pW1rxKmgfruDRdxHzFjkQHtcBFZwBCaD0a09s9EqVeppTN24cvGRdBnXq2C4T2YPlKrqCAqYOk mZc= X-IronPort-AV: E=Sophos;i="5.73,495,1583190000"; d="scan'208";a="12636795" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Jun 2020 14:01:39 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.117.49.26]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id 046A4280065; Wed, 10 Jun 2020 14:01:40 +0200 (CEST) From: Matthias Schiffer To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Matthias Schiffer Subject: [PATCH 4/4] drm/panel: simple: add Tianma TM070JVHG33 Date: Wed, 10 Jun 2020 14:01:31 +0200 Message-Id: <20200610120131.3069-5-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200610120131.3069-1-matthias.schiffer@ew.tq-group.com> References: <20200610120131.3069-1-matthias.schiffer@ew.tq-group.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Max Merchel Add support for the Tianma Micro-electronics TM070JVHG33 7.0" WXGA display to panel-simple. Signed-off-by: Max Merchel Signed-off-by: Matthias Schiffer --- drivers/gpu/drm/panel/panel-simple.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 1673113e5a5a..68fcf68da1f3 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3421,6 +3421,17 @@ static const struct panel_desc tianma_tm070jdhg30 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct panel_desc tianma_tm070jvhg33 = { + .timings = &tianma_tm070jdhg30_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 150, + .height = 94, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, +}; + static const struct display_timing tianma_tm070rvhg71_timing = { .pixelclock = { 27700000, 29200000, 39600000 }, .hactive = { 800, 800, 800 }, @@ -4029,6 +4040,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "tianma,tm070jdhg30", .data = &tianma_tm070jdhg30, + }, { + .compatible = "tianma,tm070jvhg33", + .data = &tianma_tm070jvhg33, }, { .compatible = "tianma,tm070rvhg71", .data = &tianma_tm070rvhg71,