dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel
@ 2021-06-21 15:09 Stefan Riedmueller
  2021-06-21 15:09 ` [RESEND PATCH 2/3] drm/panel: Add connector_type for some EDT displays Stefan Riedmueller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Riedmueller @ 2021-06-21 15:09 UTC (permalink / raw)
  To: Sam Ravnborg, Daniel Vetter, Thierry Reding, David Airlie
  Cc: linux-kernel, dri-devel, Laurent Pinchart

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>
---
Hi,
I added the reviewed-by tag from Laurent Pinchart for the RESEND, hope
that is ok.
https://lore.kernel.org/dri-devel/YNChySKddg%2FJsMZv@pendragon.ideasonboard.com/

 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 be312b5c04dd..99edd640d700 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1137,6 +1137,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 = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [RESEND PATCH 2/3] drm/panel: Add connector_type for some EDT displays
  2021-06-21 15:09 [RESEND PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel Stefan Riedmueller
@ 2021-06-21 15:09 ` Stefan Riedmueller
  2021-06-21 15:09 ` [RESEND PATCH 3/3] drm/panel: Add bus_format and bus_flags for EDT ETM0430G0DH6 Stefan Riedmueller
  2021-06-21 18:28 ` [RESEND PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel Sam Ravnborg
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Riedmueller @ 2021-06-21 15:09 UTC (permalink / raw)
  To: Sam Ravnborg, Daniel Vetter, Thierry Reding, David Airlie
  Cc: linux-kernel, dri-devel, Laurent Pinchart

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 <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 99edd640d700..109dc8c85947 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1940,6 +1940,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 = {
@@ -2004,6 +2005,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 = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [RESEND PATCH 3/3] drm/panel: Add bus_format and bus_flags for EDT ETM0430G0DH6
  2021-06-21 15:09 [RESEND PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel Stefan Riedmueller
  2021-06-21 15:09 ` [RESEND PATCH 2/3] drm/panel: Add connector_type for some EDT displays Stefan Riedmueller
@ 2021-06-21 15:09 ` Stefan Riedmueller
  2021-06-21 18:28 ` [RESEND PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel Sam Ravnborg
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Riedmueller @ 2021-06-21 15:09 UTC (permalink / raw)
  To: Sam Ravnborg, Daniel Vetter, Thierry Reding, David Airlie
  Cc: linux-kernel, dri-devel, Laurent Pinchart

Add corresponding bus_format and bus_flags for the EDT ETM0430G0DH6
display.

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 109dc8c85947..34a24cd6f2c8 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1940,6 +1940,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,
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RESEND PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel
  2021-06-21 15:09 [RESEND PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel Stefan Riedmueller
  2021-06-21 15:09 ` [RESEND PATCH 2/3] drm/panel: Add connector_type for some EDT displays Stefan Riedmueller
  2021-06-21 15:09 ` [RESEND PATCH 3/3] drm/panel: Add bus_format and bus_flags for EDT ETM0430G0DH6 Stefan Riedmueller
@ 2021-06-21 18:28 ` Sam Ravnborg
  2 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2021-06-21 18:28 UTC (permalink / raw)
  To: Stefan Riedmueller
  Cc: David Airlie, linux-kernel, dri-devel, Thierry Reding,
	Laurent Pinchart

Hi Stefan.

On Mon, Jun 21, 2021 at 05:09:28PM +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>
> ---
> Hi,
> I added the reviewed-by tag from Laurent Pinchart for the RESEND, hope
> that is ok.
> https://lore.kernel.org/dri-devel/YNChySKddg%2FJsMZv@pendragon.ideasonboard.com/
Thanks, thats a help so I did not have to add it.
All three patches applied to drm-misc-next now.

	Sam

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-21 18:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-21 15:09 [RESEND PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel Stefan Riedmueller
2021-06-21 15:09 ` [RESEND PATCH 2/3] drm/panel: Add connector_type for some EDT displays Stefan Riedmueller
2021-06-21 15:09 ` [RESEND PATCH 3/3] drm/panel: Add bus_format and bus_flags for EDT ETM0430G0DH6 Stefan Riedmueller
2021-06-21 18:28 ` [RESEND PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox