Skip to contentSkip to conversation

dt-bindings: display: simple: Add IVO M133NWF4 R0

PATCH In review Bjorn Andersson 3 participants 6 messages Apr 20, 2020 – Apr 28, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 dt-bindings: display: simple: Add IVO M133NWF4 R0

Define the vendor prefix for InfoVision Optoelectronics and add their M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel to the compatible list of panel-simple.

---

Changes since v1:
- Added this patch

 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
 Documentation/devicetree/bindings/vendor-prefixes.yaml          | 2 ++
 2 files changed, 4 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2 -0
index daf86ba18f47..31dc88f5b2a9 100644
@@ -129,6 +129,8 @@ properties:
       - hannstar,hsd100pxn1
         # Hitachi Ltd. Corporation 9" WVGA (800x480) TFT LCD panel
       - hit,tx23d38vm0caa
+        # InfoVision Optoelectronics M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel
+      - ivo,m133nwf4-r0
         # Innolux AT043TN24 4.3" WQVGA TFT LCD panel
       - innolux,at043tn24
         # Innolux AT070TN92 7.0" WQVGA TFT LCD panel
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index d3891386d671..31012f91fb9a 100644
@@ -463,6 +463,8 @@ patternProperties:
     description: Infineon Technologies
   "^inforce,.*":
     description: Inforce Computing
+  "^ivo,.*":
+    description: InfoVision Optoelectronics Kunshan Co. Ltd.
   "^ingenic,.*":
     description: Ingenic Semiconductor
   "^innolux,.*":
Signature · 1 line
2.26.0
#1 lore raw

PATCH v2 2/2 panel: simple: Add Ivo M133NWF4 R0

The InfoVision Optoelectronics M133NWF4 R0 panel is a 13.3" 1920x1080 eDP panel, add support for it in panel-simple.

---

Changes since v1:
- Specified bus_format, bus_flags and connector_type

 drivers/gpu/drm/panel/panel-simple.c | 34 ++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +34 -0
index 5b92583bccdf..50ee1b842748 100644
@@ -2010,6 +2010,37 @@ static const struct panel_desc innolux_zj070na_01p = {
 	},
 };
 
+static const struct drm_display_mode ivo_m133nwf4_r0_mode = {
+	.clock = 138778,
+	.hdisplay = 1920,
+	.hsync_start = 1920 + 24,
+	.hsync_end = 1920 + 24 + 48,
+	.htotal = 1920 + 24 + 48 + 88,
+	.vdisplay = 1080,
+	.vsync_start = 1080 + 3,
+	.vsync_end = 1080 + 3 + 12,
+	.vtotal = 1080 + 3 + 12 + 17,
+	.vrefresh = 60,
+	.flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC,
+};
+
+static const struct panel_desc ivo_m133nwf4_r0 = {
+	.modes = &ivo_m133nwf4_r0_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 294,
+		.height = 165,
+	},
+	.delay = {
+		.hpd_absent_delay = 200,
+		.unprepare = 500,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+	.bus_flags = DRM_BUS_FLAG_DATA_MSB_TO_LSB,
+	.connector_type = DRM_MODE_CONNECTOR_eDP,
+};
+
 static const struct display_timing koe_tx14d24vm1bpa_timing = {
 	.pixelclock = { 5580000, 5850000, 6200000 },
 	.hactive = { 320, 320, 320 },
@@ -3619,6 +3650,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "innolux,zj070na-01p",
 		.data = &innolux_zj070na_01p,
+	}, {
+		.compatible = "ivo,m133nwf4-r0",
+		.data = &ivo_m133nwf4_r0,
 	}, {
 		.compatible = "koe,tx14d24vm1bpa",
 		.data = &koe_tx14d24vm1bpa,
Signature · 1 line
2.26.0
#2 lore raw
In reply to Bjorn Andersson

Hi Björn.

Quoted 5 lines · Bjorn Andersson

Define the vendor prefix for InfoVision Optoelectronics and add their M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel to the compatible list of panel-simple.

I got OK for the vendor prefix on irc so patch is now added to drm-misc-next.
Another time please use a dedicated patch for vendor-prefix so it is not hidden with other stuff. This way the chance to get the attention of the right people is better.

Also added the panel-simple patch.
Both pushed out now.

Sam

Quoted 42 lines

---

Changes since v1:
- Added this patch

 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
 Documentation/devicetree/bindings/vendor-prefixes.yaml          | 2 ++
 2 files changed, 4 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2 -0
index daf86ba18f47..31dc88f5b2a9 100644
@@ -129,6 +129,8 @@ properties:
       - hannstar,hsd100pxn1
         # Hitachi Ltd. Corporation 9" WVGA (800x480) TFT LCD panel
       - hit,tx23d38vm0caa
+        # InfoVision Optoelectronics M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel
+      - ivo,m133nwf4-r0
         # Innolux AT043TN24 4.3" WQVGA TFT LCD panel
       - innolux,at043tn24
         # Innolux AT070TN92 7.0" WQVGA TFT LCD panel
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index d3891386d671..31012f91fb9a 100644
@@ -463,6 +463,8 @@ patternProperties:
     description: Infineon Technologies
   "^inforce,.*":
     description: Inforce Computing
+  "^ivo,.*":
+    description: InfoVision Optoelectronics Kunshan Co. Ltd.
   "^ingenic,.*":
     description: Ingenic Semiconductor
   "^innolux,.*":
Signature · 6 lines
2.26.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 8 lines · Sam Ravnborg

Hi Björn.

Quoted 4 lines · Bjorn Andersson

Define the vendor prefix for InfoVision Optoelectronics and add their M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel to the compatible list of panel-simple.

Quoted 7 lines
Quoted 1 line

I got OK for the vendor prefix on irc so patch is now added to drm-misc-next.
Another time please use a dedicated patch for vendor-prefix so it is not hidden with other stuff. This way the chance to get the attention of the right people is better.

I should have mentioned there's basically one thing to check:
alphabetical order.

The good news is both files got it wrong, so at least we're consistent. :)

Rob

#4 lore raw

Hi Rob.

Quoted 11 lines · Rob Herring
Quoted 10 lines · Sam Ravnborg

Hi Björn.

Quoted 5 lines · Bjorn Andersson

Define the vendor prefix for InfoVision Optoelectronics and add their M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel to the compatible list of panel-simple.

Quoted 8 lines
Quoted 5 lines

I got OK for the vendor prefix on irc so patch is now added to drm-misc-next.
Another time please use a dedicated patch for vendor-prefix so it is not hidden with other stuff. This way the chance to get the attention of the right people is better.

I should have mentioned there's basically one thing to check:
alphabetical order.

I thought I checked that, but obviously not - hrmpf.. I will post a follow-up patch for drm-misc-next to fix it.

Sam

#5 lore raw
Quoted 20 lines · Sam Ravnborg

Hi Rob.

Quoted 17 lines · Rob Herring
Quoted 15 lines · Sam Ravnborg

Hi Björn.

Quoted 5 lines · Bjorn Andersson

Define the vendor prefix for InfoVision Optoelectronics and add their M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel to the compatible list of panel-simple.

I got OK for the vendor prefix on irc so patch is now added to drm-misc-next.
Another time please use a dedicated patch for vendor-prefix so it is not hidden with other stuff. This way the chance to get the attention of the right people is better.

Quoted 3 lines
Quoted 2 lines

I should have mentioned there's basically one thing to check:
alphabetical order.

I thought I checked that, but obviously not - hrmpf..

Sorry about that, I thought I did double check that before posting it...

Quoted 2 lines

I will post a follow-up patch for drm-misc-next to fix it.

Thank you,
Bjorn