From patchwork Fri Jun 12 07:22:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 199188 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 6EB08C433E0 for ; Fri, 12 Jun 2020 07:22:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 45427207F7 for ; Fri, 12 Jun 2020 07:22:47 +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="X0U0qJ4e" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726447AbgFLHWq (ORCPT ); Fri, 12 Jun 2020 03:22:46 -0400 Received: from mx1.tq-group.com ([62.157.118.193]:36117 "EHLO mx1.tq-group.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726349AbgFLHWo (ORCPT ); Fri, 12 Jun 2020 03:22:44 -0400 IronPort-SDR: glF5ORSZtnkMy9tnP3ZvWoc5L5CnhqEI7+h0pFfcF5lFVSFI9QmbE0WR0PmEM6o5XGTQpXV/5I Iug0NF6D/DywQJrYOdJbPAe5+SOXYa+wnbOUAut021vVRcMTrUzep+ftj/eATR/LGOy+0/eQQc HVTWX8V2Fhwkm69X5qg3mKWjQRwYfKrnbHP6iN6uhLaIGcVsOpgihxmXuqXhauX+3HL41iSw8s cH2323RK7q0asIgNVaHGP6lJIbNNlOIqtYbuhdtRlunr8GGJP5BNQA+7WlA6SHEgDdnfj7ULN7 Joc= X-IronPort-AV: E=Sophos;i="5.73,502,1583190000"; d="scan'208";a="12657244" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 12 Jun 2020 09:22:40 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 12 Jun 2020 09:22:40 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 12 Jun 2020 09:22:40 +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=1591946560; x=1623482560; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=+2RXMPGnWi9PFwcXzBsGtjQvnkutWbl2BGcACrG6Fe0=; b=X0U0qJ4eahre4wH/dsB8o5I+FaNrS6/PFKM/FgKXy6DwiGh1sX+eLD60 D3fUOaWzI42Sh/R9xjUiW8CimocEUg9R2U1V+UlbDxBp+1Nc43Zj1mAvX geG9qF1U/RbhRf9NniXQlo6XvVc7UqCeU/6Bi0vLlqHVsZRFc9LqGGqgZ nGUj/S8t6Ht1PGa3h3fmJMEi/hKjiI5PFc/tXz8WIbinqCLWnOMu73VcU 0060Ugxr47I7NC8Dj3rZK7ntktwDJjpPKQ+/mFpVKzsOD6Wh9e7LDiA+1 miXH4SqRXAoEr3hvEB6NMN06+3Xtyu11Wq+zCe0Y/u3XZ/2ARBuWRzsab Q==; IronPort-SDR: pAHMaG0K0O+7aGg/nIt1H2ShKR0QZhgS3oA62nB0Y8dqj0U3Jg/plsv7gFEEX1BAHCUWRDyE/r av70quZRD69VqxWhu86r3DZGQ9AUalOHqR4+RqNUj7TclABtaUd00m0yTjhHS9bUkqryOeNIgk mfqAaWksrHCDuxOycHn/ckkc0si573rq13w4b6U5E1NcvuOQptIjlOZOxPVTLWAwZTSpyWJSKk CHd+bHOCTqk38uLBuVmgMNkw57DhJA70eKzFoaXR1Jgjuxr2xJV1l4tYBK1MRVNSXw7pIauEG1 34U= X-IronPort-AV: E=Sophos;i="5.73,502,1583190000"; d="scan'208";a="12657243" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 12 Jun 2020 09:22:40 +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 A6E47280065; Fri, 12 Jun 2020 09:22: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 RESEND v2 2/4] dt-bindings: display: simple: add Tianma TM070JVHG33 Date: Fri, 12 Jun 2020 09:22:17 +0200 Message-Id: <20200612072219.13669-3-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200612072219.13669-1-matthias.schiffer@ew.tq-group.com> References: <20200612072219.13669-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 --- v2: no changes .../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 2ddb520edc6d..6deeeed59e59 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -251,6 +251,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 Fri Jun 12 07:22:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 199187 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=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 AC86AC433E0 for ; Fri, 12 Jun 2020 07:22:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8884820801 for ; Fri, 12 Jun 2020 07:22:56 +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="QMFZxGZG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726527AbgFLHWy (ORCPT ); Fri, 12 Jun 2020 03:22:54 -0400 Received: from mx1.tq-group.com ([62.157.118.193]:36117 "EHLO mx1.tq-group.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726339AbgFLHWr (ORCPT ); Fri, 12 Jun 2020 03:22:47 -0400 IronPort-SDR: 3954E3DTKgSIxSoM0oSWkLqhg6efcdxhIx+1QHJKLFYjBZ/RB+aP+Ujsw1NBe87MUFAg6fj1oZ MQ0mgFlpYJvfC+ofHz0rq4HwyKHg10rIikcRwv8J4ogaPQ3uiqGtwWagN2VrJOg4vA0lxABEot wOyaZqNAyuOAAXxu/IaBHMUapHkfZ9DVsOsJAF1vRJMXxwV6H6qqeFiZgqTPhqgicuckwnQGDW m1PX1lJVnjG3pxsLnhSENIrzyg/2k89isa7mwoW/8c0IeKjGtS1i8gcX6bpVlruWBGo9HBFJUl 3OA= X-IronPort-AV: E=Sophos;i="5.73,502,1583190000"; d="scan'208";a="12657246" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 12 Jun 2020 09:22:40 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 12 Jun 2020 09:22:40 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 12 Jun 2020 09:22:40 +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=1591946560; x=1623482560; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=w92AlLWT7nwDfbklnB9I+khUvogaeBHHV8tKD4NSxZk=; b=QMFZxGZG2SQTwddBs22c9sYofK38L41y4lFLe7im3YvyACjbinPSnWf4 p2Eje16qzwwYQNCyTldWjb/RsZdZlNwQYT7sRoLG+LId/GuRI5eK6kSGG UzQBPsUMGJkIjzBMD4Z4PQ4XUF2ZyHnlKqrIe4aPd4TZpVzCavsQ8HEIN bFjgFaDuT6CaVU4XBUDcXYk/SYmfoLcb3/JlgUjd5zwA+2+0Ozri5G1yv P7w2MYfmhDeMgA2Y3yVgHCXPLDUjFEl8/QvxIUzJ+HnojcVQtOYg+14RN +3EmVuuk9z6U2OdoPgCr2pSll6cLFFvDLRjZ8A3xlSp6Ouh0a+rxsVWXc A==; IronPort-SDR: XRSdfTKADavB8LljBiS1q3LzFqsRVLsQf26V3C57Lw4Y5EVMfu5BcvvimJSVKli0sAfJCUhzXy mv1xbLDOdOxaeddzprOR0EOwvCBgv8nvC5AE1+YIWjBOeCS81fTzkmKVV1UAM17G38eJTahXF5 nT+rHYveu4tkGa4x942SXgZ1EEE2ApqZMnPtwaTkIvT1/LH4MaSeY+eU1aSQLZKIh9ErhnMuVI Ccr9A+Cdwe5c/GRYjgmlXccIU/jq9aKy2odbrdegSEqLgxKOOk6vTA09XIyoTIwjJgdcswesQM NOA= X-IronPort-AV: E=Sophos;i="5.73,502,1583190000"; d="scan'208";a="12657245" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 12 Jun 2020 09:22:40 +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 DB565280075; Fri, 12 Jun 2020 09:22: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 RESEND v2 3/4] drm/panel: simple: add CDTech S070PWS19HP-FC21 and S070SWV29HG-DC44 Date: Fri, 12 Jun 2020 09:22:18 +0200 Message-Id: <20200612072219.13669-4-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200612072219.13669-1-matthias.schiffer@ew.tq-group.com> References: <20200612072219.13669-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,