From patchwork Thu Apr 15 09:16:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Riedm=C3=BCller?= X-Patchwork-Id: 12204797 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.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 DEA48C433ED for ; Thu, 15 Apr 2021 09:31:25 +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 783F3613A9 for ; Thu, 15 Apr 2021 09:31:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 783F3613A9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de 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 ECE346EA1D; Thu, 15 Apr 2021 09:31:24 +0000 (UTC) X-Greylist: delayed 901 seconds by postgrey-1.36 at gabe; Thu, 15 Apr 2021 09:31:23 UTC Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) by gabe.freedesktop.org (Postfix) with ESMTPS id A9D096EA1A for ; Thu, 15 Apr 2021 09:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1618478179; x=1621070179; 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=17z95mcBltXt7s41OWVSnVP4aCtle9ny46vxPgGBZIM=; b=JaYYmAq1r6Zem68a14XexEwGuVN+u7tppMXNZQi7KDtQInOlSlkhBzwDNPB6Id17 AL8T+YTy9UzJQ4ONAaAJBvLzjGXA1mqDCoA637WjY05F+iWwCOQEE7QjjWySCfRw 6CVjmzgLHCGVitHa+F69TT04vS3SX6aL87pbfmdIaUg=; X-AuditID: c39127d2-324b870000001c53-3c-60780463c42e Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 5D.53.07251.36408706; Thu, 15 Apr 2021 11:16:19 +0200 (CEST) Received: from lws-riedmueller.phytec.de ([172.16.23.108]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021041511161871-136032 ; Thu, 15 Apr 2021 11:16:18 +0200 From: Stefan Riedmueller To: Thierry Reding , David Airlie , Daniel Vetter , Sam Ravnborg Subject: [PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel Date: Thu, 15 Apr 2021 11:16:14 +0200 Message-Id: <20210415091616.53415-1-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 15.04.2021 11:16:18, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 15.04.2021 11:16:19 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrJLMWRmVeSWpSXmKPExsWyRoCBSzeZpSLBYNFjNovecyeZLP5vm8hs ceXrezaLy7vmsFms+LmV0eLnrnksDmwee78tYPHYOesuu8f2bw9YPe53H2fyWDLtKpvH501y AWxRXDYpqTmZZalF+nYJXBlnF2xjKrjLVtHW/pi9gfEOaxcjJ4eEgInE2f6/7F2MXBxCAtsY JZ7vvgjlXGOUWP74JCNIFZuAkcSCaY1MIAkRgQmMEtPufmUCSTAL5EvM7X3BDGILC0RLbL26 A2wsi4CqxOoljWDNvAI2Ent7ZjFCrJOXmHnpOztEXFDi5MwnLCBDJQSuMEqs3nKSHaJISOL0 4rPMEAu0JZYtfM08gZFvFpKeWUhSCxiZVjEK5WYmZ6cWZWbrFWRUlqQm66WkbmIEBufhieqX djD2zfE4xMjEwXiIUYKDWUmE121KSYIQb0piZVVqUX58UWlOavEhRmkOFiVx3g28JWFCAumJ JanZqakFqUUwWSYOTqkGxjDdjA+rm3qCbup+tipjmXbX1fyYeXpvTq6kX1u03bk/0duUJwlf 3WZ1acLOGY+jEnhsW1+vXGSp8oBXSuy09WoP1ndOaxR3bw44wvJacHHaXEEBV/ciX5m9s6b8 PN+hqBh4kzNk5furUvF7b99xjjlWuCzp09d7BT59gSv7582+GTexRHvPISWW4oxEQy3mouJE AJ27Ix08AgAA 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: Stefan Riedmueller , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The AUO G104SN02 V2 is an LVDS display which supports 6 and 8 bpc PSWG. Add the corresponding connector type and 8 bpc as default bus_format. Signed-off-by: Stefan Riedmueller Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/panel/panel-simple.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 4e2dad314c79..44583d0ed902 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1098,6 +1098,8 @@ static const struct panel_desc auo_g104sn02 = { .width = 211, .height = 158, }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, }; static const struct drm_display_mode auo_g121ean01_mode = { From patchwork Thu Apr 15 09:16:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Riedm=C3=BCller?= X-Patchwork-Id: 12204799 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.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 663D9C433ED for ; Thu, 15 Apr 2021 09:31:41 +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 ADCB7610CE for ; Thu, 15 Apr 2021 09:31:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ADCB7610CE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de 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 EA2F16EA1A; Thu, 15 Apr 2021 09:31:39 +0000 (UTC) Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) by gabe.freedesktop.org (Postfix) with ESMTPS id A78F66EA1A for ; Thu, 15 Apr 2021 09:31:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1618478180; x=1621070180; 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=Tte0Rh052e0z9AFEgquZJNa0elDAoXdTbOtgA+HK81k=; b=DXKmbmG9nTQedVnP38rToqDTcUDAYTwZdrwp3+LZ8VJ9YN8fKVvJtdZPbzlVdGae 2p6gQe4sperhFXRSIS6IwIhlG2o7IFgBnU/rQcwtKEX1B1Rmgfseq7qTy+d+2XEI j5pIXNK3uiDcSqaz2uWscCuIs8o/DWc/AeLgR7SyPA4=; X-AuditID: c39127d2-324b870000001c53-3f-607804649830 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 1E.53.07251.46408706; Thu, 15 Apr 2021 11:16:20 +0200 (CEST) Received: from lws-riedmueller.phytec.de ([172.16.23.108]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021041511162033-136034 ; Thu, 15 Apr 2021 11:16:20 +0200 From: Stefan Riedmueller To: Thierry Reding , David Airlie , Daniel Vetter , Sam Ravnborg Subject: [PATCH 2/3] drm/panel: Add connector_type for some EDT displays Date: Thu, 15 Apr 2021 11:16:15 +0200 Message-Id: <20210415091616.53415-2-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210415091616.53415-1-s.riedmueller@phytec.de> References: <20210415091616.53415-1-s.riedmueller@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 15.04.2021 11:16:20, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 15.04.2021 11:16:20 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrILMWRmVeSWpSXmKPExsWyRoCBSzeFpSLB4OYfdYvecyeZLP5vm8hs ceXrezaLy7vmsFms+LmV0eLnrnksDmwee78tYPHYOesuu8f2bw9YPe53H2fyWDLtKpvH501y AWxRXDYpqTmZZalF+nYJXBlLZpxiKTjLWbHwzTv2BsZpHF2MnBwSAiYS11YvZupi5OIQEtjG KPH6/F9mCOcao0RHy0pGkCo2ASOJBdMawapEBCYwSky7+5UJJMEskC8xt/cFM4gtLOAhMXnW NnYQm0VAVWLSwYlsIDavgI3E0tcTGCHWyUvMvPQdrIZTwFai7c1asLgQUM2/iXuZIeoFJU7O fMICskxC4AqjxJt9b6CahSROLz7LDLFYW2LZwtfMExgFZiHpmYUktYCRaRWjUG5mcnZqUWa2 XkFGZUlqsl5K6iZGYDAfnqh+aQdj3xyPQ4xMHIyHGCU4mJVEeN2mlCQI8aYkVlalFuXHF5Xm pBYfYpTmYFES593AWxImJJCeWJKanZpakFoEk2Xi4JRqYFyVNft8de9Hrqq5B64I3HVmUpi6 9fQJcbZ3bv8/yt1mVmyb+WTHqmWGGi7nZz14c9eaxT2+pDI2Ia3ulPgt26nbpnrPunNyB3vh NO1cqxcpO/ZncSzZ/imz4OK+vA/f2i+aOqya1arY1faS0WyfXKn6mvf1inFzZqovdLq1+bgL q8GRWUwnelyVWIozEg21mIuKEwHGHdKHVAIAAA== 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: Stefan Riedmueller , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The connector_type for following two EDT displays is missing: - EDT ETM0430G0DH6 - EDT ETM0700G0BDH6 Both are parallel displays thus add the corresponding connector_type. Signed-off-by: Stefan Riedmueller --- drivers/gpu/drm/panel/panel-simple.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 44583d0ed902..723c09a82c4c 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1900,6 +1900,7 @@ static const struct panel_desc edt_etm0430g0dh6 = { .width = 95, .height = 54, }, + .connector_type = DRM_MODE_CONNECTOR_DPI, }; static const struct drm_display_mode edt_et057090dhu_mode = { @@ -1964,6 +1965,7 @@ static const struct panel_desc edt_etm0700g0bdh6 = { }, .bus_format = MEDIA_BUS_FMT_RGB666_1X18, .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, + .connector_type = DRM_MODE_CONNECTOR_DPI, }; static const struct display_timing evervision_vgg804821_timing = { From patchwork Thu Apr 15 09:16:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Riedm=C3=BCller?= X-Patchwork-Id: 12204801 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.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 D2248C433B4 for ; Thu, 15 Apr 2021 09:31:42 +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 9AF6E610CE for ; Thu, 15 Apr 2021 09:31:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9AF6E610CE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de 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 F3BF66EA1B; Thu, 15 Apr 2021 09:31:41 +0000 (UTC) Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5634E6EA1A for ; Thu, 15 Apr 2021 09:31:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1618478182; x=1621070182; 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=UH0l6OtV3y5PpWVjnpuCZWgWNUmGuC2qvPr+2FpJkP4=; b=Wx/Zl/CwSQfWD0S6+75AzHNgIdywQVe8NkxJsgxEJ+eN1jnOA3pTXCuw44HzNC7P kHo8iwOD7Y0p710WHnZAnMTncNevmghNG3GZfhhGV3Cv33itxqrVPl/4IWktQwrj mc9uYGtxxGguokleGrmfHm1YaHGtYSQoHZABhQw7+0w=; X-AuditID: c39127d2-330b970000001c53-42-607804662726 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id BE.53.07251.66408706; Thu, 15 Apr 2021 11:16:22 +0200 (CEST) Received: from lws-riedmueller.phytec.de ([172.16.23.108]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021041511162169-136035 ; Thu, 15 Apr 2021 11:16:21 +0200 From: Stefan Riedmueller To: Thierry Reding , David Airlie , Daniel Vetter , Sam Ravnborg Subject: [PATCH 3/3] drm/panel: Add bus_format and bus_flags for EDT ETM0430G0DH6 Date: Thu, 15 Apr 2021 11:16:16 +0200 Message-Id: <20210415091616.53415-3-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210415091616.53415-1-s.riedmueller@phytec.de> References: <20210415091616.53415-1-s.riedmueller@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 15.04.2021 11:16:21, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 15.04.2021 11:16:22 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHLMWRmVeSWpSXmKPExsWyRoCBSzeNpSLBYP8aJovecyeZLP5vm8hs ceXrezaLy7vmsFms+LmV0eLnrnksDmwee78tYPHYOesuu8f2bw9YPe53H2fyWDLtKpvH501y AWxRXDYpqTmZZalF+nYJXBkbb8xnLNjOVtH5ZCdTA+Nh1i5GTg4JAROJO+2bmUFsIYFtjBJd E+wg7GuMEr8+moDYbAJGEgumNTJ1MXJxiAhMYJSYdvcrE0iCWSBfYm7vC7BmYYFAiT0LL7J1 MXJwsAioSuycyggS5hWwkfjyfg8jxC55iZmXvrOD2JwCthJtb9YyQuyykfg3cS8zRL2gxMmZ T1hAdkkIXGGUOP26FepQIYnTi88yQ+zVlli28DXzBEaBWUh6ZiFJLWBkWsUolJuZnJ1alJmt V5BRWZKarJeSuokRGMaHJ6pf2sHYN8fjECMTB+MhRgkOZiURXrcpJQlCvCmJlVWpRfnxRaU5 qcWHGKU5WJTEeTfwloQJCaQnlqRmp6YWpBbBZJk4OKUaGL1Utxqnm27718FSvutai82iFKVr DNcyf5TZO6gpSwTs8TXbav7onviqq76fDHgC1v7eu+a5VIF5rHn/96f9ipx31jxe6WV5Sqfv NZeE74TNWi/b+dn9yxWj616+3/dxj5OtpvsD0ffbnLi5A/Iq/vQu68mZdzfcMSllbvCr+W8M y6IVl5qyKLEUZyQaajEXFScCAEPOw0xRAgAA 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: Stefan Riedmueller , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add corresponding bus_format and bus_flags for the EDT ETM0430G0DH6 display. Signed-off-by: Stefan Riedmueller --- drivers/gpu/drm/panel/panel-simple.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 723c09a82c4c..1bbb205a3b81 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1900,6 +1900,8 @@ static const struct panel_desc edt_etm0430g0dh6 = { .width = 95, .height = 54, }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE, .connector_type = DRM_MODE_CONNECTOR_DPI, };