From patchwork Thu Aug 18 12:45:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominik Haller X-Patchwork-Id: 12947037 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 89821C28B2B for ; Thu, 18 Aug 2022 13:04:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4AB8DB9C5E; Thu, 18 Aug 2022 13:02:35 +0000 (UTC) X-Greylist: delayed 908 seconds by postgrey-1.36 at gabe; Thu, 18 Aug 2022 13:01:03 UTC Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) by gabe.freedesktop.org (Postfix) with ESMTPS id CBE64A0473 for ; Thu, 18 Aug 2022 13:00:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1660826751; x=1663418751; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iAMEvbw5T/Bs1a3zPt+5a8wXpubuP4oO3wVffBPc+jE=; b=m39noKJ3VTUqmBK3TJJl7oJmI3aI6wutYEvbulXnTPKvUj+7Gw55fF4BsFlAG2/r aFAKE+FU1okcPr2Zrld4petjVUsRbWPIJLzLOdjMOh+DcmucO/hZRwSaWqQrSdEB BdgNdsnloYH990c+1FRcmRDt0zjnhU/V3/s65sqtpXw=; X-AuditID: ac14000a-833f270000003940-0d-62fe347ff26c Received: from florix.phytec.de (Unknown_Domain [172.25.0.13]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 64.B6.14656.F743EF26; Thu, 18 Aug 2022 14:45:51 +0200 (CEST) Received: from lws-dhaller.phytec.de (172.25.0.11) by Florix.phytec.de (172.25.0.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Thu, 18 Aug 2022 14:45:49 +0200 From: Dominik Haller To: , , , Subject: [PATCH 1/2] dt-bindings: display: simple: Add EDT ETML1010G0DKA panel Date: Thu, 18 Aug 2022 14:45:17 +0200 Message-ID: <20220818124518.42080-1-d.haller@phytec.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Florix.phytec.de (172.25.0.13) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsWyRpKBV7fe5F+SwYI2FYv5R86xWlz5+p7N ou/FQ2aL1r1H2C1W/NzKaPFz1zwWBzaPnbPusntsWtXJ5nHn2h42j/vdx5k8lky7yubxeZNc AFsUl01Kak5mWWqRvl0CV8aF80tZC85zVDy/9IO5gbGFvYuRk0NCwERi65tZzF2MXBxCAkuY JI5MPMoO4TxllDj4by4jSBWbgKbE9ElbwWwRgXyJ9m8XWLsYOTiYBaIlek+EgYSFBfwkml8t BhvKIqAq0dH9hRnE5hUwl5h65xnUMnmJmZe+s0PEBSVOznzCAmIzA8Wbt85mhrAlJA6+eAFm C4HUr+lmhemddu41M4QdKjF/zXf2CYwCs5CMmoVk1CwkoxYwMq9iFMrNTM5OLcrM1ivIqCxJ TdZLSd3ECApvEQauHYx9czwOMTJxMB5ilOBgVhLhvXHnT5IQb0piZVVqUX58UWlOavEhRmkO FiVx3vs9TIlCAumJJanZqakFqUUwWSYOTqkGxsDH6gu+P3drm9H4+XHwCv8Hkpqnr8/9rn6r XvvKyxVTHBtfyGuvWXz10EnFPZ6XvOKyn2ctfr00zf7UXXHbJXrvbfcUX3A29+Z4mn00/4DZ Mq/qF4+MH0v8N9m37I79x5nFe5b6Ox01ubW6tMTMZ+YCCd3NB+/Wnpqdo73SMovdLpyh+e+j 45eVWIozEg21mIuKEwHGec2KXQIAAA== 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: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, upstream@phytec.de Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add binding for the Emerging Display Technology ETML1010G0DKA panel. It's a 10.1" WXGA (1280 x 800) LVDS panel with backlight and capacitive touch. Signed-off-by: Dominik Haller Acked-by: Rob Herring --- .../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..bd8a7c77e90f 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -143,6 +143,8 @@ properties: - edt,etm0700g0edh6 # Emerging Display Technology Corp. LVDS WSVGA TFT Display with capacitive touch - edt,etml0700y5dha + # Emerging Display Technology Corp. 10.1" LVDS WXGA TFT Display with capacitive touch + - edt,etml1010g0dka # Emerging Display Technology Corp. 5.7" VGA TFT LCD panel with # capacitive touch - edt,etmv570g2dhu From patchwork Thu Aug 18 12:45:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominik Haller X-Patchwork-Id: 12953899 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3A2E8C00140 for ; Wed, 24 Aug 2022 19:04:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4FBE6C2CB9; Wed, 24 Aug 2022 19:04:39 +0000 (UTC) Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) by gabe.freedesktop.org (Postfix) with ESMTPS id D3FB488E9D for ; Thu, 18 Aug 2022 13:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1660826751; x=1663418751; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sFuE9GvKGB4ujTSHCIWIiScJXOM/pRvxv9JHmg8A+n0=; b=ZijPX1ELXW8XWrE2tkdHPNVKXjQ8iflO1kCVNxC+pmExGvqMTnH4ms/gjiCS/CL2 uWv+S1zJF0x2mfFrMucVuceXZ1S63CjPcEyTwjk4+19nQX/alUukZwlrqbxZ47s3 H/WkP7kkUELPacX3DMQsats+PFJYP9Bgdu2n7ZL3eHU=; X-AuditID: ac14000a-833f270000003940-0f-62fe347f0bc5 Received: from florix.phytec.de (Unknown_Domain [172.25.0.13]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id F4.B6.14656.F743EF26; Thu, 18 Aug 2022 14:45:51 +0200 (CEST) Received: from lws-dhaller.phytec.de (172.25.0.11) by Florix.phytec.de (172.25.0.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Thu, 18 Aug 2022 14:45:49 +0200 From: Dominik Haller To: , , , Subject: [PATCH 2/2] drm/panel: simple: Add EDT ETML1010G0DKA panel Date: Thu, 18 Aug 2022 14:45:18 +0200 Message-ID: <20220818124518.42080-2-d.haller@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220818124518.42080-1-d.haller@phytec.de> References: <20220818124518.42080-1-d.haller@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Florix.phytec.de (172.25.0.13) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsWyRpKBV7fe5F+SQftBXYv5R86xWlz5+p7N ou/FQ2aL1r1H2C1W/NzKaPFz1zwWBzaPnbPusntsWtXJ5nHn2h42j/vdx5k8lky7yubxeZNc AFsUl01Kak5mWWqRvl0CV0bTsl6Wgq28FX0dq9gaGL9zdTFyckgImEhc2L2IsYuRi0NIYAmT xKnb51ghnKeMEgf/zWUEqWIT0JSYPmkrmC0ikC/R/u0CUBEHB7NAtETviTCQsLCAs8TpDVdY QWwWAVWJW0fvM4PYvALmEvf7zzBDLJOXmHnpOzuIzSlgIbHh6xSweiGgmllHPrND1AtKnJz5 hAXEZgaqb946mxnClpA4+OIFM0Q90Jw13awwM6edew01P1Ri/prv7BMYhWYhGTULyahZSEYt YGRexSiUm5mcnVqUma1XkFFZkpqsl5K6iREUDyIMXDsY++Z4HGJk4mA8xCjBwawkwnvjzp8k Id6UxMqq1KL8+KLSnNTiQ4zSHCxK4rz3e5gShQTSE0tSs1NTC1KLYLJMHJxSDYxL/3j9j/21 Pel7/+P76kclr2ctFDDX1Ms9a/nKvtFrkVYJx9opIr/VL18JXCRf9GPF6l0b5P/+dn4Q/6jI ePOmr/ccBPZ3qb5JVQud+HTzFznhp8V3ZlQ/Yltq8lbu3vX/7P3ah4+ZhMb27/1lZr/McMY7 Bt5pG1R/LOTfcMJ4W+fExe/3skfOUWIpzkg01GIuKk4EAD5inO11AgAA 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: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, upstream@phytec.de Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add support for the EDT ETML1010G0DKA 10.1" 1280x800 LVDS panel. Signed-off-by: Dominik Haller --- drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index f9e1f85daef7..9314db24ab51 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1779,6 +1779,32 @@ static const struct panel_desc edt_etml0700y5dha = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct drm_display_mode edt_etml1010g0dka_mode = { + .clock = 70000, + .hdisplay = 1280, + .hsync_start = 1280 + 100, + .hsync_end = 1280 + 100 + 19, + .htotal = 1280 + 100 + 19 + 41, + .vdisplay = 800, + .vsync_start = 800 + 4, + .vsync_end = 800 + 4 + 4, + .vtotal = 800 + 4 + 4 + 15, + .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, +}; + +static const struct panel_desc edt_etml1010g0dka = { + .modes = &edt_etml1010g0dka_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 216, + .height = 135, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode edt_etmv570g2dhu_mode = { .clock = 25175, .hdisplay = 640, @@ -4057,6 +4083,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "edt,etml0700y5dha", .data = &edt_etml0700y5dha, + }, { + .compatible = "edt,etml1010g0dka", + .data = &edt_etml1010g0dka, }, { .compatible = "edt,etmv570g2dhu", .data = &edt_etmv570g2dhu,