Skip to contentSkip to conversation

dt-bindings: add vendor prefix for logic technologies limited

PATCH Superseded Marcel Ziswiler 3 participants 9 messages Sep 20, 2019 – Oct 4, 2019

Subsystems (4)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: add vendor prefix for logic technologies limited

From: Marcel Ziswiler <[email protected]>

Add vendor prefix for Logic Technologies Limited [1] which is a Chinese display manufacturer e.g. distributed by German Endrich Bauelemente Vertriebs GmbH [2].

[1] https://logictechno.com/contact-us/
[2] https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30

---

 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 967e78c5ec0a..1441146f394f 100644
@@ -541,6 +541,8 @@ patternProperties:
     description: Linear Technology Corporation
   "^logicpd,.*":
     description: Logic PD, Inc.
+  "^logictechno,.*":
+    description: Logic Technologies Limited
   "^longcheer,.*":
     description: Longcheer Technology (Shanghai) Co., Ltd.
   "^lsi,.*":
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/2 drm/panel: simple: add display timings for logic technologies displays

From: Marcel Ziswiler <[email protected]>

Add display timings for the following 3 display panels manufactured by Logic Technologies Limited:

- LT161010-2NHC e.g. as found in the Toradex Capacitive Touch Display 7" Parallel [1]
- LT161010-2NHR e.g. as found in the Toradex Resistive Touch Display 7" Parallel [2]
- LT170410-2WHC e.g. as found in the Toradex Capacitive Touch Display 10.1" LVDS [3]

Those panels may also be distributed by Endrich Bauelemente Vertriebs GmbH [4].

[1] https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf
[2] https://docs.toradex.com/104498-7-inch-parallel-resistive-touch-display-800x480.pdf
[3] https://docs.toradex.com/105952-10-1-inch-lvds-capacitive-touch-display-1280x800-datasheet.pdf
[4] https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30

---

 drivers/gpu/drm/panel/panel-simple.c | 65 ++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +65 -0
index 28fa6ba7b767..42bd0de25167 100644
@@ -2034,6 +2034,62 @@ static const struct panel_desc lg_lp129qe = {
 	},
 };
 
+static const struct display_timing logictechno_lt161010_2nh_timing = {
+	.pixelclock = { 26400000, 33300000, 46800000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 16, 210, 354 },
+	.hback_porch = { 46, 46, 46 },
+	.hsync_len = { 1, 20, 40 },
+	.vactive = { 480, 480, 480 },
+	.vfront_porch = { 7, 22, 147 },
+	.vback_porch = { 23, 23, 23 },
+	.vsync_len = { 1, 10, 20 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt161010_2nh = {
+	.timings = &logictechno_lt161010_2nh_timing,
+	.num_timings = 1,
+	.size = {
+		.width = 154,
+		.height = 86,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
+static const struct display_timing logictechno_lt170410_2whc_timing = {
+	.pixelclock = { 68900000, 71100000, 7340000 },
+	.hactive = { 1280, 1280, 1280 },
+	.hfront_porch = { 23, 60, 71 },
+	.hback_porch = { 23, 60, 71 },
+	.hsync_len = { 15, 40, 47 },
+	.vactive = { 800, 800, 800 },
+	.vfront_porch = { 5, 7, 10 },
+	.vback_porch = { 5, 7, 10 },
+	.vsync_len = { 6, 9, 12 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt170410_2whc = {
+	.timings = &logictechno_lt170410_2whc_timing,
+	.num_timings = 1,
+	.size = {
+		.width = 217,
+		.height = 136,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
 static const struct drm_display_mode mitsubishi_aa070mc01_mode = {
 	.clock = 30400,
 	.hdisplay = 800,
@@ -3264,6 +3320,15 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "lg,lp129qe",
 		.data = &lg_lp129qe,
+	}, {
+		.compatible = "logictechno,lt161010-2nhc",
+		.data = &logictechno_lt161010_2nh,
+	}, {
+		.compatible = "logictechno,lt161010-2nhr",
+		.data = &logictechno_lt161010_2nh,
+	}, {
+		.compatible = "logictechno,lt170410-2whc",
+		.data = &logictechno_lt170410_2whc,
 	}, {
 		.compatible = "mitsubishi,aa070mc01-ca1",
 		.data = &mitsubishi_aa070mc01,
Signature · 1 line
2.21.0
Reviewed-by on v1 1/2
#7 lore raw
In reply to Marcel Ziswiler
Quoted 7 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

Add vendor prefix for Logic Technologies Limited [1] which is a Chinese
display manufacturer e.g. distributed by German Endrich Bauelemente Vertriebs GmbH [2].

Quoted 5 lines

[1] https://logictechno.com/contact-us/
[2]
https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30

Quoted 20 lines

---

 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 967e78c5ec0a..1441146f394f 100644
@@ -541,6 +541,8 @@ patternProperties:
     description: Linear Technology Corporation
   "^logicpd,.*":
     description: Logic PD, Inc.
+  "^logictechno,.*":
+    description: Logic Technologies Limited
   "^longcheer,.*":
     description: Longcheer Technology (Shanghai) Co., Ltd.
   "^lsi,.*":
Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH v1 2/2] drm/panel: simple: add display timings for logic technologies displays

In reply to Marcel Ziswiler
Quoted 25 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

Add display timings for the following 3 display panels manufactured by Logic Technologies Limited:

- LT161010-2NHC e.g. as found in the Toradex Capacitive Touch Display 7" Parallel [1]
- LT161010-2NHR e.g. as found in the Toradex Resistive Touch Display 7"
Parallel [2]
- LT170410-2WHC e.g. as found in the Toradex Capacitive Touch Display 10.1" LVDS [3]

Those panels may also be distributed by Endrich Bauelemente Vertriebs GmbH [4].

[1]
https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf
[2]
https://docs.toradex.com/104498-7-inch-parallel-resistive-touch-display-800x480.pdf
[3]
https://docs.toradex.com/105952-10-1-inch-lvds-capacitive-touch-display-1280x800-datasheet.pdf
[4]
https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30

Quoted 1 line
Quoted 94 lines

---

 drivers/gpu/drm/panel/panel-simple.c | 65
++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +56 -0
index 28fa6ba7b767..42bd0de25167 100644
@@ -2034,6 +2034,62 @@ static const struct panel_desc lg_lp129qe = {
 	},
 };
 
+static const struct display_timing logictechno_lt161010_2nh_timing =
 {
+	.pixelclock = { 26400000, 33300000, 46800000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 16, 210, 354 },
+	.hback_porch = { 46, 46, 46 },
+	.hsync_len = { 1, 20, 40 },
+	.vactive = { 480, 480, 480 },
+	.vfront_porch = { 7, 22, 147 },
+	.vback_porch = { 23, 23, 23 },
+	.vsync_len = { 1, 10, 20 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt161010_2nh = {
+	.timings = &logictechno_lt161010_2nh_timing,
+	.num_timings = 1,
+	.size = {
+		.width = 154,
+		.height = 86,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
+static const struct display_timing logictechno_lt170410_2whc_timing =
 {
+	.pixelclock = { 68900000, 71100000, 7340000 },
+	.hactive = { 1280, 1280, 1280 },
+	.hfront_porch = { 23, 60, 71 },
+	.hback_porch = { 23, 60, 71 },
+	.hsync_len = { 15, 40, 47 },
+	.vactive = { 800, 800, 800 },
+	.vfront_porch = { 5, 7, 10 },
+	.vback_porch = { 5, 7, 10 },
+	.vsync_len = { 6, 9, 12 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt170410_2whc = {
+	.timings = &logictechno_lt170410_2whc_timing,
+	.num_timings = 1,
+	.size = {
+		.width = 217,
+		.height = 136,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
 static const struct drm_display_mode mitsubishi_aa070mc01_mode = {
drivers/gpu/drm/panel/panel-simple.c +9 -0
 	.clock = 30400,
 	.hdisplay = 800,
@@ -3264,6 +3320,15 @@ static const struct of_device_id
 platform_of_match[] = {
 	}, {
 		.compatible = "lg,lp129qe",
 		.data = &lg_lp129qe,
+	}, {
+		.compatible = "logictechno,lt161010-2nhc",
+		.data = &logictechno_lt161010_2nh,
+	}, {
+		.compatible = "logictechno,lt161010-2nhr",
+		.data = &logictechno_lt161010_2nh,
+	}, {
+		.compatible = "logictechno,lt170410-2whc",
+		.data = &logictechno_lt170410_2whc,
 	}, {
 		.compatible = "mitsubishi,aa070mc01-ca1",

.data = &mitsubishi_aa070mc01,

maintainer
#3 lore raw

Re: [PATCH v1 2/2] drm/panel: simple: add display timings for logic technologies displays

In reply to Marcel Ziswiler
Quoted 97 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

Add display timings for the following 3 display panels manufactured by Logic Technologies Limited:

- LT161010-2NHC e.g. as found in the Toradex Capacitive Touch Display 7" Parallel [1]
- LT161010-2NHR e.g. as found in the Toradex Resistive Touch Display 7" Parallel [2]
- LT170410-2WHC e.g. as found in the Toradex Capacitive Touch Display 10.1" LVDS [3]

Those panels may also be distributed by Endrich Bauelemente Vertriebs GmbH [4].

[1] https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf
[2] https://docs.toradex.com/104498-7-inch-parallel-resistive-touch-display-800x480.pdf
[3] https://docs.toradex.com/105952-10-1-inch-lvds-capacitive-touch-display-1280x800-datasheet.pdf
[4] https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30

---

 drivers/gpu/drm/panel/panel-simple.c | 65 ++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +56 -0
index 28fa6ba7b767..42bd0de25167 100644
@@ -2034,6 +2034,62 @@ static const struct panel_desc lg_lp129qe = {
 	},
 };
 
+static const struct display_timing logictechno_lt161010_2nh_timing = {
+	.pixelclock = { 26400000, 33300000, 46800000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 16, 210, 354 },
+	.hback_porch = { 46, 46, 46 },
+	.hsync_len = { 1, 20, 40 },
+	.vactive = { 480, 480, 480 },
+	.vfront_porch = { 7, 22, 147 },
+	.vback_porch = { 23, 23, 23 },
+	.vsync_len = { 1, 10, 20 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt161010_2nh = {
+	.timings = &logictechno_lt161010_2nh_timing,
+	.num_timings = 1,
+	.size = {
+		.width = 154,
+		.height = 86,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
+static const struct display_timing logictechno_lt170410_2whc_timing = {
+	.pixelclock = { 68900000, 71100000, 7340000 },
+	.hactive = { 1280, 1280, 1280 },
+	.hfront_porch = { 23, 60, 71 },
+	.hback_porch = { 23, 60, 71 },
+	.hsync_len = { 15, 40, 47 },
+	.vactive = { 800, 800, 800 },
+	.vfront_porch = { 5, 7, 10 },
+	.vback_porch = { 5, 7, 10 },
+	.vsync_len = { 6, 9, 12 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt170410_2whc = {
+	.timings = &logictechno_lt170410_2whc_timing,
+	.num_timings = 1,
+	.size = {
+		.width = 217,
+		.height = 136,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
 static const struct drm_display_mode mitsubishi_aa070mc01_mode = {
 	.clock = 30400,
 	.hdisplay = 800,
@@ -3264,6 +3320,15 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "lg,lp129qe",

drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 3331

Quoted 10 lines
drivers/gpu/drm/panel/panel-simple.c +9 -0
 		.data = &lg_lp129qe,
+	}, {
+		.compatible = "logictechno,lt161010-2nhc",
+		.data = &logictechno_lt161010_2nh,
+	}, {
+		.compatible = "logictechno,lt161010-2nhr",
+		.data = &logictechno_lt161010_2nh,
+	}, {
+		.compatible = "logictechno,lt170410-2whc",
+		.data = &logictechno_lt170410_2whc,

The vendor prefix wasn't documented, but the compatible string and rest already are?

Rob

maintainer Acked-by on v1 1/2
#8 lore raw
In reply to Marcel Ziswiler
Quoted 9 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

Add vendor prefix for Logic Technologies Limited [1] which is a Chinese display manufacturer e.g. distributed by German Endrich Bauelemente Vertriebs GmbH [2].

[1] https://logictechno.com/contact-us/
[2] https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30

Quoted 7 lines

---

 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

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

#4 lore raw

Re: [PATCH v1 2/2] drm/panel: simple: add display timings for logic technologies displays

In reply to Rob Herring
Quoted 118 lines · Rob Herring
Quoted 117 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

Add display timings for the following 3 display panels manufactured by
Logic Technologies Limited:

- LT161010-2NHC e.g. as found in the Toradex Capacitive Touch Display
7" Parallel [1]
- LT161010-2NHR e.g. as found in the Toradex Resistive Touch Display 7"
Parallel [2]
- LT170410-2WHC e.g. as found in the Toradex Capacitive Touch Display
10.1" LVDS [3]

Those panels may also be distributed by Endrich Bauelemente Vertriebs
GmbH [4].

[1]
https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf
[2]
https://docs.toradex.com/104498-7-inch-parallel-resistive-touch-display-800x480.pdf
[3]
https://docs.toradex.com/105952-10-1-inch-lvds-capacitive-touch-display-1280x800-datasheet.pdf
[4]
https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30

---

 drivers/gpu/drm/panel/panel-simple.c | 65
++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +56 -0
index 28fa6ba7b767..42bd0de25167 100644
@@ -2034,6 +2034,62 @@ static const struct panel_desc lg_lp129qe = {
 	},
 };
 
+static const struct display_timing logictechno_lt161010_2nh_timing
 = {
+	.pixelclock = { 26400000, 33300000, 46800000 },
+	.hactive = { 800, 800, 800 },
+	.hfront_porch = { 16, 210, 354 },
+	.hback_porch = { 46, 46, 46 },
+	.hsync_len = { 1, 20, 40 },
+	.vactive = { 480, 480, 480 },
+	.vfront_porch = { 7, 22, 147 },
+	.vback_porch = { 23, 23, 23 },
+	.vsync_len = { 1, 10, 20 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt161010_2nh = {
+	.timings = &logictechno_lt161010_2nh_timing,
+	.num_timings = 1,
+	.size = {
+		.width = 154,
+		.height = 86,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
+static const struct display_timing logictechno_lt170410_2whc_timing
 = {
+	.pixelclock = { 68900000, 71100000, 7340000 },
+	.hactive = { 1280, 1280, 1280 },
+	.hfront_porch = { 23, 60, 71 },
+	.hback_porch = { 23, 60, 71 },
+	.hsync_len = { 15, 40, 47 },
+	.vactive = { 800, 800, 800 },
+	.vfront_porch = { 5, 7, 10 },
+	.vback_porch = { 5, 7, 10 },
+	.vsync_len = { 6, 9, 12 },
+	.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+		 DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+		 DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt170410_2whc = {
+	.timings = &logictechno_lt170410_2whc_timing,
+	.num_timings = 1,
+	.size = {
+		.width = 217,
+		.height = 136,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH |
+		     DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+		     DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
 static const struct drm_display_mode mitsubishi_aa070mc01_mode = {
drivers/gpu/drm/panel/panel-simple.c +5 -0
 	.clock = 30400,
 	.hdisplay = 800,
@@ -3264,6 +3320,15 @@ static const struct of_device_id
 platform_of_match[] = {
 	}, {
 		.compatible = "lg,lp129qe",
 		.data = &lg_lp129qe,
+	}, {
+		.compatible = "logictechno,lt161010-2nhc",
+		.data = &logictechno_lt161010_2nh,
+	}, {
+		.compatible = "logictechno,lt161010-2nhr",
Quoted 8 lines

drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 3331

Quoted 4 lines
drivers/gpu/drm/panel/panel-simple.c +4 -0
+		.data = &logictechno_lt161010_2nh,
+	}, {
+		.compatible = "logictechno,lt170410-2whc",
+		.data = &logictechno_lt170410_2whc,

The vendor prefix wasn't documented, but the compatible string and rest
already are?

Marcel added the vendor prefix in the first patch of the series [1]

[1] https://lkml.org/lkml/2019/9/20/126

Philippe

Quoted 2 lines

Rob

maintainer
#5 lore raw

Re: [PATCH v1 2/2] drm/panel: simple: add display timings for logic technologies displays

Quoted 129 lines · Philippe Schenker
Quoted 118 lines · Rob Herring
Quoted 117 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

Add display timings for the following 3 display panels manufactured by
Logic Technologies Limited:

- LT161010-2NHC e.g. as found in the Toradex Capacitive Touch Display
7" Parallel [1]
- LT161010-2NHR e.g. as found in the Toradex Resistive Touch Display 7"
Parallel [2]
- LT170410-2WHC e.g. as found in the Toradex Capacitive Touch Display
10.1" LVDS [3]

Those panels may also be distributed by Endrich Bauelemente Vertriebs
GmbH [4].

[1]
https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf
[2]
https://docs.toradex.com/104498-7-inch-parallel-resistive-touch-display-800x480.pdf
[3]
https://docs.toradex.com/105952-10-1-inch-lvds-capacitive-touch-display-1280x800-datasheet.pdf
[4]
https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30

---

 drivers/gpu/drm/panel/panel-simple.c | 65
++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +56 -0
index 28fa6ba7b767..42bd0de25167 100644
@@ -2034,6 +2034,62 @@ static const struct panel_desc lg_lp129qe = {
    },
 };
 
+static const struct display_timing logictechno_lt161010_2nh_timing
 = {
+   .pixelclock = { 26400000, 33300000, 46800000 },
+   .hactive = { 800, 800, 800 },
+   .hfront_porch = { 16, 210, 354 },
+   .hback_porch = { 46, 46, 46 },
+   .hsync_len = { 1, 20, 40 },
+   .vactive = { 480, 480, 480 },
+   .vfront_porch = { 7, 22, 147 },
+   .vback_porch = { 23, 23, 23 },
+   .vsync_len = { 1, 10, 20 },
+   .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+            DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+            DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt161010_2nh = {
+   .timings = &logictechno_lt161010_2nh_timing,
+   .num_timings = 1,
+   .size = {
+           .width = 154,
+           .height = 86,
+   },
+   .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+   .bus_flags = DRM_BUS_FLAG_DE_HIGH |
+                DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+                DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
+static const struct display_timing logictechno_lt170410_2whc_timing
 = {
+   .pixelclock = { 68900000, 71100000, 7340000 },
+   .hactive = { 1280, 1280, 1280 },
+   .hfront_porch = { 23, 60, 71 },
+   .hback_porch = { 23, 60, 71 },
+   .hsync_len = { 15, 40, 47 },
+   .vactive = { 800, 800, 800 },
+   .vfront_porch = { 5, 7, 10 },
+   .vback_porch = { 5, 7, 10 },
+   .vsync_len = { 6, 9, 12 },
+   .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+            DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+            DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt170410_2whc = {
+   .timings = &logictechno_lt170410_2whc_timing,
+   .num_timings = 1,
+   .size = {
+           .width = 217,
+           .height = 136,
+   },
+   .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+   .bus_flags = DRM_BUS_FLAG_DE_HIGH |
+                DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+                DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
 static const struct drm_display_mode mitsubishi_aa070mc01_mode = {
    .clock = 30400,
    .hdisplay = 800,
drivers/gpu/drm/panel/panel-simple.c +5 -0
@@ -3264,6 +3320,15 @@ static const struct of_device_id
 platform_of_match[] = {
    }, {
            .compatible = "lg,lp129qe",
            .data = &lg_lp129qe,
+   }, {
+           .compatible = "logictechno,lt161010-2nhc",
+           .data = &logictechno_lt161010_2nh,
+   }, {
+           .compatible = "logictechno,lt161010-2nhr",
Quoted 8 lines

drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 3331

Quoted 4 lines
drivers/gpu/drm/panel/panel-simple.c +4 -0
+           .data = &logictechno_lt161010_2nh,
+   }, {
+           .compatible = "logictechno,lt170410-2whc",
+           .data = &logictechno_lt170410_2whc,

The vendor prefix wasn't documented, but the compatible string and rest
already are?

Quoted 1 line

Marcel added the vendor prefix in the first patch of the series [1]

Right, but where's the panel's binding documentation with the above compatible strings documented?

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

#6 lore raw

Re: [PATCH v1 2/2] drm/panel: simple: add display timings for logic technologies displays

Quoted 138 lines · Rob Herring
Quoted 136 lines · Philippe Schenker
Quoted 134 lines · Rob Herring
Quoted 119 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

Add display timings for the following 3 display panels manufactured
by
Logic Technologies Limited:

- LT161010-2NHC e.g. as found in the Toradex Capacitive Touch Display
7" Parallel [1]
- LT161010-2NHR e.g. as found in the Toradex Resistive Touch Display
7"
Parallel [2]
- LT170410-2WHC e.g. as found in the Toradex Capacitive Touch Display
10.1" LVDS [3]

Those panels may also be distributed by Endrich Bauelemente Vertriebs
GmbH [4].

[1]
https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf
[2]
https://docs.toradex.com/104498-7-inch-parallel-resistive-touch-display-800x480.pdf
[3]
https://docs.toradex.com/105952-10-1-inch-lvds-capacitive-touch-display-1280x800-datasheet.pdf
[4]
https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30

---

 drivers/gpu/drm/panel/panel-simple.c | 65
++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +1 -0
index 28fa6ba7b767..42bd0de25167 100644
@@ -2034,6 +2034,62 @@ static const struct panel_desc lg_lp129qe
 = {
    },
 };
 
+static const struct display_timing

logictechno_lt161010_2nh_timing
= {

drivers/gpu/drm/panel/panel-simple.c +11 -0
+   .pixelclock = { 26400000, 33300000, 46800000 },
+   .hactive = { 800, 800, 800 },
+   .hfront_porch = { 16, 210, 354 },
+   .hback_porch = { 46, 46, 46 },
+   .hsync_len = { 1, 20, 40 },
+   .vactive = { 480, 480, 480 },
+   .vfront_porch = { 7, 22, 147 },
+   .vback_porch = { 23, 23, 23 },
+   .vsync_len = { 1, 10, 20 },
+   .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+            DISPLAY_FLAGS_DE_HIGH |

DISPLAY_FLAGS_PIXDATA_POSEDGE |

drivers/gpu/drm/panel/panel-simple.c +17 -0
+            DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt161010_2nh = {
+   .timings = &logictechno_lt161010_2nh_timing,
+   .num_timings = 1,
+   .size = {
+           .width = 154,
+           .height = 86,
+   },
+   .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+   .bus_flags = DRM_BUS_FLAG_DE_HIGH |
+                DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+                DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
+static const struct display_timing

logictechno_lt170410_2whc_timing
= {

drivers/gpu/drm/panel/panel-simple.c +11 -0
+   .pixelclock = { 68900000, 71100000, 7340000 },
+   .hactive = { 1280, 1280, 1280 },
+   .hfront_porch = { 23, 60, 71 },
+   .hback_porch = { 23, 60, 71 },
+   .hsync_len = { 15, 40, 47 },
+   .vactive = { 800, 800, 800 },
+   .vfront_porch = { 5, 7, 10 },
+   .vback_porch = { 5, 7, 10 },
+   .vsync_len = { 6, 9, 12 },
+   .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+            DISPLAY_FLAGS_DE_HIGH |

DISPLAY_FLAGS_PIXDATA_POSEDGE |

drivers/gpu/drm/panel/panel-simple.c +16 -0
+            DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc logictechno_lt170410_2whc = {
+   .timings = &logictechno_lt170410_2whc_timing,
+   .num_timings = 1,
+   .size = {
+           .width = 217,
+           .height = 136,
+   },
+   .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+   .bus_flags = DRM_BUS_FLAG_DE_HIGH |
+                DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+                DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
 static const struct drm_display_mode mitsubishi_aa070mc01_mode
= {
    .clock = 30400,
    .hdisplay = 800,
drivers/gpu/drm/panel/panel-simple.c +0 -0
@@ -3264,6 +3320,15 @@ static const struct of_device_id
 platform_of_match[] = {
    }, {
            .compatible = "lg,lp129qe",

drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id · line 3332

Quoted 10 lines
drivers/gpu/drm/panel/panel-simple.c +9 -0
            .data = &lg_lp129qe,
+   }, {
+           .compatible = "logictechno,lt161010-2nhc",
+           .data = &logictechno_lt161010_2nh,
+   }, {
+           .compatible = "logictechno,lt161010-2nhr",
+           .data = &logictechno_lt161010_2nh,
+   }, {
+           .compatible = "logictechno,lt170410-2whc",
+           .data = &logictechno_lt170410_2whc,

The vendor prefix wasn't documented, but the compatible string and rest
already are?

Quoted 5 lines
Quoted 1 line

Marcel added the vendor prefix in the first patch of the series [1]

Right, but where's the panel's binding documentation with the above compatible strings documented?

That one is indeed missing, we will provide that week. Thanks for pointing this out!

Philippe