Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4454245pxv; Tue, 6 Jul 2021 01:00:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxl+GNS50RzgbKl23YGOiVN+iwFg2DUOQLyE2KVLtmI3sEawrTfSPOyEWN5smV/0TSRUs3o X-Received: by 2002:a05:6402:280a:: with SMTP id h10mr4356931ede.87.1625558440779; Tue, 06 Jul 2021 01:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625558440; cv=none; d=google.com; s=arc-20160816; b=ZItnPMQSnpp/W6hCUZWcuf8scmWpM86QI70hjMnCCELPDZKu4xi22VUaRvKAorihIz u8/arjkPsK5xfPRfVz2txTVgj6RlAsha/3lL/hxTW80z49pSCNwk3BkKTVW9R3jLWz87 YRC6FxWFg+gkDaQ0w2XNH3EzXDsxANeKXhCky9Hs8LJZ9BYfxhQXOSULVAMnx4uQfZP+ 5I114WdjZYP4wrNcx0lnx/m3+WqM8CqfXoyxEPOtlGaRgzIp+rQ3lXdh9N05ANuRqNNK BSsuXQkh8TjH0bZpvbhB9OXwuWJEVuLfzuQRX03pPwPyQVbc7rEjmFyUhsZPaoxnRl0r CwWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=iT8nVFoM7tUmDbN76MdmUIuheNdwEMUOqglznyaavQk=; b=FFzvuDQ7wU4DmVqrFZs1jktHT4TD/UOVhYS7vlY6LCB43PRS/C4btE4V6V7Dgq0hsL bdDtjXOx+OG/IcxqV8qUvv+k96PlMe6EBt/gZhnH4FMmL/ymr6q7yD21UZpgMI0csSCS 9CX1PFRwpj5vztlIF2ECa3uEZCpukhVfDOKsjjHjqakfIc7h8qYwKZmTBFIFi6StapgH 76jBcpc/Owao1WpWKKr25L8tcb5zPghYL24WSVOnQVYjOkioP0XKxU+CXHfy7Hc9pVcP 2nPvjipQQ2EozVvC9uYMCDGdJ+bGyN+JK4DAKfnqVd8p7o6z5NIhQMfRweKLHUAc7LX6 I3tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b=SgCzIEry; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y15si14257588eda.75.2021.07.06.01.00.17; Tue, 06 Jul 2021 01:00:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b=SgCzIEry; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230378AbhGFICD (ORCPT + 99 others); Tue, 6 Jul 2021 04:02:03 -0400 Received: from mickerik.phytec.de ([195.145.39.210]:50452 "EHLO mickerik.phytec.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230255AbhGFICD (ORCPT ); Tue, 6 Jul 2021 04:02:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1625558363; x=1628150363; 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=qYZQ4XHqFRha5FbaPTOYOPLxGoGdc+lHk/Ilb+Zz+fs=; b=SgCzIEryc+YlpK/3S2NdX2TUOZNio9444rTTF/jOyPyixS52OCvLq3QpP5b0nQGf 1SHyOU9Wdtsic2CeUtZhYH1NC7WSBnjplqmTweb+wct3Ls+bZd/zyt/+FPKdZ/Fg Yv0DDqen33F4Udstej627XvFp1Nss1YZvtOQRCBvgaQ=; X-AuditID: c39127d2-a77bc70000001c5e-57-60e40d5ba677 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id CB.25.07262.B5D04E06; Tue, 6 Jul 2021 09:59:23 +0200 (CEST) Received: from lws-ybas.phytec.de ([172.16.21.122]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021070609592347-1097774 ; Tue, 6 Jul 2021 09:59:23 +0200 From: Yunus Bas To: sam@ravnborg.org, laurent.pinchart@ideasonboard.com, thierry.reding@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: airlied@linux.ie, daniel@ffwll.ch Subject: [PATCH v3 1/2] drm/panel: simple: Add support for EDT ETMV570G2DHU panel Date: Tue, 6 Jul 2021 09:59:07 +0200 Message-Id: <20210706075908.907659-1-y.bas@phytec.de> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.07.2021 09:59:23, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 06.07.2021 09:59:23 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsWyRoCBSzea90mCwf5mPYvecyeZLP5vm8hs ceXrezaLzolL2C0u75rDZrHi51ZGi5+75rE4sHvs/baAxWPnrLvsHrM7ZrJ6bP/2gNXjfvdx Jo8l066yeXzeJBfAHsVlk5Kak1mWWqRvl8CVMW3uFJaCNsGKfR8bmRoYZ/B1MXJwSAiYSBw7 rt3FyMUhJLCNUWLe7T2sEM55Rolvd7+zdzFycrAJKEqcv/0WLCEiMIFRonXxXRaQBLOAqsTL p1PBbGGBQImG+U3MIDaLgIrEpqddjCAbeAVMJTbeqgQJSwjIS5xce5gJxOYVEJQ4OfMJC0T8 CqPEhnWxELaQxOnFZ5khxmtLLFv4mnkCI98sJC2zkKQWMDKtYhTKzUzOTi3KzNYryKgsSU3W S0ndxAgM1cMT1S/tYOyb43GIkYmD8RCjBAezkgivyJRHCUK8KYmVValF+fFFpTmpxYcYpTlY lMR5N/CWhAkJpCeWpGanphakFsFkmTg4pRoYre20z4RtzFV5x6HFuzvdQ5iv3Xfvtq+i28W5 pk1UUsxaXuI1f3an5NczUza4CW2f/dIx/t4HG6WlHSdT3u5ReRnJn3py9vmN74SdHpTNdBWQ kdmerhl4ee75FzvyAo2vvttwfe5HdtkcEXZZG4Nv+xQLRP/ymq7o9eiJ/sKY9Vi7dH/tyW2S SizFGYmGWsxFxYkAS5YEY0MCAAA= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Riedmueller This patch adds support for the EDT ETMV570G2DHU 5.7" (640x480) lcd panel to DRM simple panel driver. Signed-off-by: Stefan Riedmueller Signed-off-by: Yunus Bas --- Changes in v3: - No changes in general, added additional maintainers and also sending to general kernel mailing list --- 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/p= anel-simple.c index 21939d4352cf..07433bff6c2b 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2008,6 +2008,32 @@ static const struct panel=5Fdesc edt=5Fet057090dhu = =3D { .connector=5Ftype =3D DRM=5FMODE=5FCONNECTOR=5FDPI, }; =20 +static const struct drm=5Fdisplay=5Fmode edt=5Fetmv570g2dhu=5Fmode =3D { + .clock =3D 25175, + .hdisplay =3D 640, + .hsync=5Fstart =3D 640, + .hsync=5Fend =3D 640 + 16, + .htotal =3D 640 + 16 + 30 + 114, + .vdisplay =3D 480, + .vsync=5Fstart =3D 480 + 10, + .vsync=5Fend =3D 480 + 10 + 3, + .vtotal =3D 480 + 10 + 3 + 35, + .flags =3D DRM=5FMODE=5FFLAG=5FPVSYNC | DRM=5FMODE=5FFLAG=5FPHSYNC, +}; + +static const struct panel=5Fdesc edt=5Fetmv570g2dhu =3D { + .modes =3D &edt=5Fetmv570g2dhu=5Fmode, + .num=5Fmodes =3D 1, + .bpc =3D 6, + .size =3D { + .width =3D 115, + .height =3D 86, + }, + .bus=5Fformat =3D MEDIA=5FBUS=5FFMT=5FRGB888=5F1X24, + .bus=5Fflags =3D DRM=5FBUS=5FFLAG=5FDE=5FHIGH | DRM=5FBUS=5FFLAG=5FPIXDAT= A=5FDRIVE=5FNEGEDGE, + .connector=5Ftype =3D DRM=5FMODE=5FCONNECTOR=5FDPI, +}; + static const struct drm=5Fdisplay=5Fmode edt=5Fetm0700g0dh6=5Fmode =3D { .clock =3D 33260, .hdisplay =3D 800, @@ -4338,6 +4364,9 @@ static const struct of=5Fdevice=5Fid platform=5Fof=5F= match[] =3D { }, { .compatible =3D "edt,et057090dhu", .data =3D &edt=5Fet057090dhu, + }, { + .compatible =3D "edt,etmv570g2dhu", + .data =3D &edt=5Fetmv570g2dhu, }, { .compatible =3D "edt,et070080dh6", .data =3D &edt=5Fetm0700g0dh6, --=20 2.30.0