linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yunus Bas <Y.Bas@phytec.de>
To: "sam@ravnborg.org" <sam@ravnborg.org>
Cc: "dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"daniel@ffwll.ch" <daniel@ffwll.ch>,
	"laurent.pinchart@ideasonboard.com" 
	<laurent.pinchart@ideasonboard.com>,
	"airlied@linux.ie" <airlied@linux.ie>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"thierry.reding@gmail.com" <thierry.reding@gmail.com>
Subject: Re: [PATCH v3 2/2] drm/panel: simple: Add support for EDT ETM0350G0DH6 panel
Date: Fri, 9 Jul 2021 19:02:52 +0000	[thread overview]
Message-ID: <0f25d847360c9f9925fea216c2d15200acb5ff42.camel@phytec.de> (raw)
In-Reply-To: <YOiReNdogi3POjUS@ravnborg.org>

Hi Sam,

Am Freitag, dem 09.07.2021 um 20:12 +0200 schrieb Sam Ravnborg:
> Hi Yunus,
> 
> On Tue, Jul 06, 2021 at 09:59:08AM +0200, Yunus Bas wrote:
> > From: Stefan Riedmueller <s.riedmueller@phytec.de>
> > 
> > This patch adds support for the EDT ETM0350G0DH6 3.5" (320x240) lcd
> > panel to DRM simple panel driver.
> > 
> > Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
> > Signed-off-by: Yunus Bas <y.bas@phytec.de>
> > ---
> > 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/panel-simple.c
> > index 07433bff6c2b..8aba473a7592 100644
> > --- a/drivers/gpu/drm/panel/panel-simple.c
> > +++ b/drivers/gpu/drm/panel/panel-simple.c
> > @@ -1929,6 +1929,32 @@ static const struct panel_desc edt_et035012dm6
> > = {
> >         .bus_flags = DRM_BUS_FLAG_DE_LOW |
> > DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE,
> >  };
> >  
> > +static const struct drm_display_mode edt_etm0350g0dh6_mode = {
> > +       .clock = 6520,
> > +       .hdisplay = 320,
> > +       .hsync_start = 320 + 20,
> > +       .hsync_end = 320 + 20 + 68,
> > +       .htotal = 320 + 20 + 68,
> > +       .vdisplay = 240,
> > +       .vsync_start = 240 + 4,
> > +       .vsync_end = 240 + 4 + 18,
> > +       .vtotal = 240 + 4 + 18,
> > +       .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
> > +};
> > +
> > +static const struct panel_desc edt_etm0350g0dh6 = {
> > +       .modes = &edt_etm0350g0dh6_mode,
> > +       .num_modes = 1,
> > +       .bpc = 6,
> > +       .size = {
> > +               .width = 70,
> > +               .height = 53,
> > +       },
> > +       .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> > +       .bus_flags = DRM_BUS_FLAG_DE_HIGH |
> > DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE,
> > +       .connector_type = DRM_MODE_CONNECTOR_DPI,
> > +};
> > +
> >  static const struct drm_display_mode edt_etm043080dh6gp_mode = {
> >         .clock = 10870,
> >         .hdisplay = 480,
> > @@ -4355,6 +4381,9 @@ static const struct of_device_id
> > platform_of_match[] = {
> >         }, {
> >                 .compatible = "edt,et035012dm6",
> >                 .data = &edt_et035012dm6,
> > +       }, {
> > +               .compatible = "edt,etm0350g0dh6",
> > +               .data = &edt_etm0350g0dh6,
> 
> The compatible "edt,etm0350g0dh6" is not documented.
> You likely need to add it to panel-simple.yaml - and likewise for the
> first patch.
> 
> dt people like binding patches in separate patches so add them both in
> one dedicated patch.

I've already sent devicetree patches. Here is the link:
https://lore.kernel.org/linux-devicetree/20210331181317.464926-1-y.bas@phytec.de/

It was just pending and waiting for these patches. Shall I send again?

Regards, Yunus
> 
>         Sam

-- 
Mit freundlichen Grüßen
Yunus Bas

-Software Engineer-
PHYTEC Messtechnik GmbH
Robert-Koch-Str. 39
55129 Mainz
Germany
Tel.: +49 (0)6131 9221- 466
Web: www.phytec.de

Sie finden uns auch auf: Facebook, LinkedIn, Xing, YouTube

PHYTEC Messtechnik GmbH | Robert-Koch-Str. 39 | 55129 Mainz, Germany
Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber |
Handelsregister Mainz HRB 4656 | Finanzamt Mainz | St.Nr. 266500608, DE
149059855
This E-Mail may contain confidential or privileged information. If you
are not the intended recipient (or have received this E-Mail in error)
please notify the sender immediately and destroy this E-Mail. Any
unauthorized copying, disclosure or distribution of the material in
this E-Mail is strictly forbidden.


  parent reply	other threads:[~2021-07-09 19:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06  7:59 [PATCH v3 1/2] drm/panel: simple: Add support for EDT ETMV570G2DHU panel Yunus Bas
2021-07-06  7:59 ` [PATCH v3 2/2] drm/panel: simple: Add support for EDT ETM0350G0DH6 panel Yunus Bas
     [not found]   ` <YOiReNdogi3POjUS@ravnborg.org>
2021-07-09 19:02     ` Yunus Bas [this message]
     [not found]       ` <YOijuQoj0wV/MhWJ@ravnborg.org>
2021-07-09 19:34         ` Yunus Bas
     [not found] ` <YOiQo3B9JtE0kuO7@ravnborg.org>
2021-07-09 18:56   ` [PATCH v3 1/2] drm/panel: simple: Add support for EDT ETMV570G2DHU panel Yunus Bas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0f25d847360c9f9925fea216c2d15200acb5ff42.camel@phytec.de \
    --to=y.bas@phytec.de \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).