diff mbox series

[1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel

Message ID 20210415091616.53415-1-s.riedmueller@phytec.de (mailing list archive)
State New, archived
Headers show
Series [1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel | expand

Commit Message

Stefan Riedmüller April 15, 2021, 9:16 a.m. UTC
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 <s.riedmueller@phytec.de>
---
 drivers/gpu/drm/panel/panel-simple.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stefan Riedmüller May 26, 2021, 7:34 a.m. UTC | #1
Hi,

gentle ping for this small series.

Regards,
Stefan

On Thu, 2021-04-15 at 11:16 +0200, Stefan Riedmueller wrote:
> 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 <s.riedmueller@phytec.de>
> ---
>  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 = {
Stefan Riedmüller June 21, 2021, 8:22 a.m. UTC | #2
Hi,

another gentle ping.

Also adding Laurent Pinchart to CC.

Regards,
Stefan

On Wed, 2021-05-26 at 07:34 +0000, Stefan Riedmüller wrote:
> Hi,
> 
> gentle ping for this small series.
> 
> Regards,
> Stefan
> 
> On Thu, 2021-04-15 at 11:16 +0200, Stefan Riedmueller wrote:
> > 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 <s.riedmueller@phytec.de>
> > ---
> >  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 = {
Sam Ravnborg June 21, 2021, 2:17 p.m. UTC | #3
Hi Stefan,

On Mon, Jun 21, 2021 at 08:22:10AM +0000, Stefan Riedmüller wrote:
> Hi,
> 
> another gentle ping.
> 
> Also adding Laurent Pinchart to CC.

Can I ask you to resend the whole lot. I have resurfaced after an
off-line period and deleted all pending mails.

I could probarly hunt down the mails somewhere but resend is easier on
my end.

	Sam
Laurent Pinchart June 21, 2021, 2:27 p.m. UTC | #4
Hi Stefan,

Thank you for the patch.

On Mon, Jun 21, 2021 at 08:22:10AM +0000, Stefan Riedmüller wrote:
> Hi,
> 
> another gentle ping.

Sorry for the delay, I have way too little bandwidth these days :-S

> Also adding Laurent Pinchart to CC.
>
> On Wed, 2021-05-26 at 07:34 +0000, Stefan Riedmüller wrote:
> > On Thu, 2021-04-15 at 11:16 +0200, Stefan Riedmueller wrote:
> > > 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 <s.riedmueller@phytec.de>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

It will be interesting to add support for the 6bpp mode at some point (I
assume through a custom DT property that reports the state of the
panel's SEL68 pin, as it should be strapped in most cases).

> > > ---
> > >  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 = {
Stefan Riedmüller June 21, 2021, 3:04 p.m. UTC | #5
Hi Sam,

On Mon, 2021-06-21 at 16:17 +0200, Sam Ravnborg wrote:
> Hi Stefan,
> 
> On Mon, Jun 21, 2021 at 08:22:10AM +0000, Stefan Riedmüller wrote:
> > Hi,
> > 
> > another gentle ping.
> > 
> > Also adding Laurent Pinchart to CC.
> 
> Can I ask you to resend the whole lot. I have resurfaced after an
> off-line period and deleted all pending mails.
> 
> I could probarly hunt down the mails somewhere but resend is easier on
> my end.

Sure, no problem, I'll send it out ASAP.

Stefan

> 
> 	Sam
diff mbox series

Patch

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 = {