dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: display: simple: Add EDT ETML1010G0DKA panel
@ 2022-08-18 12:45 Dominik Haller
  2022-08-18 12:45 ` [PATCH 2/2] drm/panel: " Dominik Haller
  2022-08-18 17:08 ` [PATCH 1/2] dt-bindings: display: " Rob Herring
  0 siblings, 2 replies; 4+ messages in thread
From: Dominik Haller @ 2022-08-18 12:45 UTC (permalink / raw)
  To: robh+dt, sam, thierry.reding, krzysztof.kozlowski+dt
  Cc: devicetree, dri-devel, upstream

Add binding for the Emerging Display Technology ETML1010G0DKA panel.
It's a 10.1" WXGA (1280 x 800) LVDS panel with backlight and capacitive
touch.

Signed-off-by: Dominik Haller <d.haller@phytec.de>
---
 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
index 18241f4051d2..bd8a7c77e90f 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -143,6 +143,8 @@ properties:
       - edt,etm0700g0edh6
         # Emerging Display Technology Corp. LVDS WSVGA TFT Display with capacitive touch
       - edt,etml0700y5dha
+        # Emerging Display Technology Corp. 10.1" LVDS WXGA TFT Display with capacitive touch
+      - edt,etml1010g0dka
         # Emerging Display Technology Corp. 5.7" VGA TFT LCD panel with
         # capacitive touch
       - edt,etmv570g2dhu
-- 
2.25.1


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

* [PATCH 2/2] drm/panel: simple: Add EDT ETML1010G0DKA panel
  2022-08-18 12:45 [PATCH 1/2] dt-bindings: display: simple: Add EDT ETML1010G0DKA panel Dominik Haller
@ 2022-08-18 12:45 ` Dominik Haller
  2023-02-06 14:20   ` Dominik Haller
  2022-08-18 17:08 ` [PATCH 1/2] dt-bindings: display: " Rob Herring
  1 sibling, 1 reply; 4+ messages in thread
From: Dominik Haller @ 2022-08-18 12:45 UTC (permalink / raw)
  To: robh+dt, sam, thierry.reding, krzysztof.kozlowski+dt
  Cc: devicetree, dri-devel, upstream

Add support for the EDT ETML1010G0DKA 10.1" 1280x800 LVDS panel.

Signed-off-by: Dominik Haller <d.haller@phytec.de>
---
 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 f9e1f85daef7..9314db24ab51 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1779,6 +1779,32 @@ static const struct panel_desc edt_etml0700y5dha = {
 	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
+static const struct drm_display_mode edt_etml1010g0dka_mode = {
+	.clock = 70000,
+	.hdisplay = 1280,
+	.hsync_start = 1280 + 100,
+	.hsync_end = 1280 + 100 + 19,
+	.htotal = 1280 + 100 + 19 + 41,
+	.vdisplay = 800,
+	.vsync_start = 800 + 4,
+	.vsync_end = 800 + 4 + 4,
+	.vtotal = 800 + 4 + 4 + 15,
+	.flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC,
+};
+
+static const struct panel_desc edt_etml1010g0dka = {
+	.modes = &edt_etml1010g0dka_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 216,
+		.height = 135,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct drm_display_mode edt_etmv570g2dhu_mode = {
 	.clock = 25175,
 	.hdisplay = 640,
@@ -4057,6 +4083,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "edt,etml0700y5dha",
 		.data = &edt_etml0700y5dha,
+	}, {
+		.compatible = "edt,etml1010g0dka",
+		.data = &edt_etml1010g0dka,
 	}, {
 		.compatible = "edt,etmv570g2dhu",
 		.data = &edt_etmv570g2dhu,
-- 
2.25.1


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

* Re: [PATCH 1/2] dt-bindings: display: simple: Add EDT ETML1010G0DKA panel
  2022-08-18 12:45 [PATCH 1/2] dt-bindings: display: simple: Add EDT ETML1010G0DKA panel Dominik Haller
  2022-08-18 12:45 ` [PATCH 2/2] drm/panel: " Dominik Haller
@ 2022-08-18 17:08 ` Rob Herring
  1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-08-18 17:08 UTC (permalink / raw)
  To: Dominik Haller
  Cc: devicetree, dri-devel, thierry.reding, krzysztof.kozlowski+dt,
	sam, upstream

On Thu, Aug 18, 2022 at 02:45:17PM +0200, Dominik Haller wrote:
> Add binding for the Emerging Display Technology ETML1010G0DKA panel.
> It's a 10.1" WXGA (1280 x 800) LVDS panel with backlight and capacitive
> touch.
> 
> Signed-off-by: Dominik Haller <d.haller@phytec.de>
> ---
>  .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
>  1 file changed, 2 insertions(+)

Acked-by: Rob Herring <robh@kernel.org>


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

* Re: [PATCH 2/2] drm/panel: simple: Add EDT ETML1010G0DKA panel
  2022-08-18 12:45 ` [PATCH 2/2] drm/panel: " Dominik Haller
@ 2023-02-06 14:20   ` Dominik Haller
  0 siblings, 0 replies; 4+ messages in thread
From: Dominik Haller @ 2023-02-06 14:20 UTC (permalink / raw)
  To: robh+dt, sam, thierry.reding, krzysztof.kozlowski+dt
  Cc: devicetree, dri-devel, upstream

Hello,

ping here, this one got forgotten.
It still applies on drm-misc-next and v6.2-rc7


On 18.08.22 14:45, Dominik Haller wrote:
> Add support for the EDT ETML1010G0DKA 10.1" 1280x800 LVDS panel.
>
> Signed-off-by: Dominik Haller <d.haller@phytec.de>
> ---
>   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 f9e1f85daef7..9314db24ab51 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1779,6 +1779,32 @@ static const struct panel_desc edt_etml0700y5dha = {
>   	.connector_type = DRM_MODE_CONNECTOR_LVDS,
>   };
>   
> +static const struct drm_display_mode edt_etml1010g0dka_mode = {
> +	.clock = 70000,
> +	.hdisplay = 1280,
> +	.hsync_start = 1280 + 100,
> +	.hsync_end = 1280 + 100 + 19,
> +	.htotal = 1280 + 100 + 19 + 41,
> +	.vdisplay = 800,
> +	.vsync_start = 800 + 4,
> +	.vsync_end = 800 + 4 + 4,
> +	.vtotal = 800 + 4 + 4 + 15,
> +	.flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC,
> +};
> +
> +static const struct panel_desc edt_etml1010g0dka = {
> +	.modes = &edt_etml1010g0dka_mode,
> +	.num_modes = 1,
> +	.bpc = 8,
> +	.size = {
> +		.width = 216,
> +		.height = 135,
> +	},
> +	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
> +	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
> +	.connector_type = DRM_MODE_CONNECTOR_LVDS,
> +};
> +
>   static const struct drm_display_mode edt_etmv570g2dhu_mode = {
>   	.clock = 25175,
>   	.hdisplay = 640,
> @@ -4057,6 +4083,9 @@ static const struct of_device_id platform_of_match[] = {
>   	}, {
>   		.compatible = "edt,etml0700y5dha",
>   		.data = &edt_etml0700y5dha,
> +	}, {
> +		.compatible = "edt,etml1010g0dka",
> +		.data = &edt_etml1010g0dka,
>   	}, {
>   		.compatible = "edt,etmv570g2dhu",
>   		.data = &edt_etmv570g2dhu,


-- 
PHYTEC Messtechnik GmbH | Barcelona-Allee 1 | 55129 Mainz, Germany

Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber |
Handelsregister Mainz HRB 4656 | Finanzamt Mainz-Mitte | St.Nr.
266500608, DE 149059855


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

end of thread, other threads:[~2023-02-06 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-18 12:45 [PATCH 1/2] dt-bindings: display: simple: Add EDT ETML1010G0DKA panel Dominik Haller
2022-08-18 12:45 ` [PATCH 2/2] drm/panel: " Dominik Haller
2023-02-06 14:20   ` Dominik Haller
2022-08-18 17:08 ` [PATCH 1/2] dt-bindings: display: " Rob Herring

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).