mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support
@ 2023-02-12  4:08 Liu Ying
  2023-02-12  4:08 ` [PATCH 1/2] dt-bindings: display: simple: Add BOE EV121WXM-N10-1850 panel Liu Ying
  2023-02-12  4:08 ` [PATCH 2/2] drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support Liu Ying
  0 siblings, 2 replies; 4+ messages in thread
From: Liu Ying @ 2023-02-12  4:08 UTC (permalink / raw)
  To: dri-devel, devicetree, linux-kernel
  Cc: thierry.reding, sam, airlied, daniel, robh+dt,
	krzysztof.kozlowski+dt, linux-imx

Hi,

This patch series aims to add BOE EV121WXM-N10-1850 panel support
in the DRM simple panel driver.

Patch 1/2 adds dt-bindings support for the panel.
Patch 2/2 adds the panel support in the DRM simple panel driver.

Liu Ying (2):
  dt-bindings: display: simple: Add BOE EV121WXM-N10-1850 panel
  drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support

 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 drivers/gpu/drm/panel/panel-simple.c          | 33 +++++++++++++++++++
 2 files changed, 35 insertions(+)

-- 
2.37.1


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

* [PATCH 1/2] dt-bindings: display: simple: Add BOE EV121WXM-N10-1850 panel
  2023-02-12  4:08 [PATCH 0/2] drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support Liu Ying
@ 2023-02-12  4:08 ` Liu Ying
  2023-02-12 16:56   ` Krzysztof Kozlowski
  2023-02-12  4:08 ` [PATCH 2/2] drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support Liu Ying
  1 sibling, 1 reply; 4+ messages in thread
From: Liu Ying @ 2023-02-12  4:08 UTC (permalink / raw)
  To: dri-devel, devicetree, linux-kernel
  Cc: thierry.reding, sam, airlied, daniel, robh+dt,
	krzysztof.kozlowski+dt, linux-imx

Add BOE EV121WXM-N10-1850 12.1" WXGA (1280x800) TFT LCD panel
compatible string.  The panel has a LVDS display interface.

The panel's product specification can be found at:
http://www.onetech.com.tw/files/EV121WXM-N10-1850ProductSpecification_20180801.pdf

Signed-off-by: Liu Ying <victor.liu@nxp.com>
---
 .../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..e99306603096 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -77,6 +77,8 @@ properties:
       - auo,t215hvn01
         # Shanghai AVIC Optoelectronics 7" 1024x600 color TFT-LCD panel
       - avic,tm070ddh03
+        # BOE EV121WXM-N10-1850 12.1" WXGA (1280x800) TFT LCD panel
+      - boe,ev121wxm-n10-1850
         # BOE HV070WSA-100 7.01" WSVGA TFT LCD panel
       - boe,hv070wsa-100
         # BOE OPTOELECTRONICS TECHNOLOGY 10.1" WXGA TFT LCD panel
-- 
2.37.1


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

* [PATCH 2/2] drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support
  2023-02-12  4:08 [PATCH 0/2] drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support Liu Ying
  2023-02-12  4:08 ` [PATCH 1/2] dt-bindings: display: simple: Add BOE EV121WXM-N10-1850 panel Liu Ying
@ 2023-02-12  4:08 ` Liu Ying
  1 sibling, 0 replies; 4+ messages in thread
From: Liu Ying @ 2023-02-12  4:08 UTC (permalink / raw)
  To: dri-devel, devicetree, linux-kernel
  Cc: thierry.reding, sam, airlied, daniel, robh+dt,
	krzysztof.kozlowski+dt, linux-imx

Add BOE EV121WXM-N10-1850 12.1" WXGA (1280x800) TFT LCD panel support.
The panel has a LVDS display interface.

The panel's product specification can be found at:
http://www.onetech.com.tw/files/EV121WXM-N10-1850ProductSpecification_20180801.pdf

Signed-off-by: Liu Ying <victor.liu@nxp.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 33 ++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 8a3b685c2fcc..ac7aea7c186d 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1211,6 +1211,36 @@ static const struct panel_desc bananapi_s070wv20_ct16 = {
 	},
 };
 
+static const struct drm_display_mode boe_ev121wxm_n10_1850_mode = {
+	.clock = 71000,
+	.hdisplay = 1280,
+	.hsync_start = 1280 + 48,
+	.hsync_end = 1280 + 48 + 32,
+	.htotal = 1280 + 48 + 32 + 80,
+	.vdisplay = 800,
+	.vsync_start = 800 + 3,
+	.vsync_end = 800 + 3 + 6,
+	.vtotal = 800 + 3 + 6 + 14,
+};
+
+static const struct panel_desc boe_ev121wxm_n10_1850 = {
+	.modes = &boe_ev121wxm_n10_1850_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 261,
+		.height = 163,
+	},
+	.delay = {
+		.prepare = 9,
+		.enable = 300,
+		.unprepare = 300,
+		.disable = 560,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct drm_display_mode boe_hv070wsa_mode = {
 	.clock = 42105,
 	.hdisplay = 1024,
@@ -3984,6 +4014,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "bananapi,s070wv20-ct16",
 		.data = &bananapi_s070wv20_ct16,
+	}, {
+		.compatible = "boe,ev121wxm-n10-1850",
+		.data = &boe_ev121wxm_n10_1850,
 	}, {
 		.compatible = "boe,hv070wsa-100",
 		.data = &boe_hv070wsa
-- 
2.37.1


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

* Re: [PATCH 1/2] dt-bindings: display: simple: Add BOE EV121WXM-N10-1850 panel
  2023-02-12  4:08 ` [PATCH 1/2] dt-bindings: display: simple: Add BOE EV121WXM-N10-1850 panel Liu Ying
@ 2023-02-12 16:56   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-12 16:56 UTC (permalink / raw)
  To: Liu Ying, dri-devel, devicetree, linux-kernel
  Cc: thierry.reding, sam, airlied, daniel, robh+dt,
	krzysztof.kozlowski+dt, linux-imx

On 12/02/2023 05:08, Liu Ying wrote:
> Add BOE EV121WXM-N10-1850 12.1" WXGA (1280x800) TFT LCD panel
> compatible string.  The panel has a LVDS display interface.
> 
> The panel's product specification can be found at:
> http://www.onetech.com.tw/files/EV121WXM-N10-1850ProductSpecification_20180801.pdf
> 
> Signed-off-by: Liu Ying <victor.liu@nxp.com>


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

end of thread, other threads:[~2023-02-12 16:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-12  4:08 [PATCH 0/2] drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support Liu Ying
2023-02-12  4:08 ` [PATCH 1/2] dt-bindings: display: simple: Add BOE EV121WXM-N10-1850 panel Liu Ying
2023-02-12 16:56   ` Krzysztof Kozlowski
2023-02-12  4:08 ` [PATCH 2/2] drm/panel: panel-simple: Add BOE EV121WXM-N10-1850 panel support Liu Ying

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

all inboxes | Powered by JetHome®