Skip to contentSkip to conversation

devicetree: add vendor prefix for Winstar Display Corp.

PATCH Applied Richard Genoud 3 participants 6 messages Mar 3, 2017 – Apr 6, 2017

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

PATCH 1/2 devicetree: add vendor prefix for Winstar Display Corp.

Winstar Display Corp. is specialized in LCD displays for embedded products.
cf: http://www.winstar.com.tw

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index 16d3b5e7f5d1..56df3afd625a 100644
@@ -322,6 +322,7 @@ voipac	Voipac Technologies s.r.o.
 wd	Western Digital Corp.
 wexler	Wexler
 winbond Winbond Electronics corp.
+winstar	Winstar Display Corp.
 wlf	Wolfson Microelectronics
 wm	Wondermedia Technologies, Inc.
 x-powers	X-Powers
#1 lore raw

PATCH 2/2 drm/panel: simple: Add support for Winstar WF35LTIACD

This adds support for the Winstar Display Co. WF35LTIACD 3.5" QVGA TFT LCD panel, which can be supported by the simple panel driver.

---
 .../bindings/display/panel/winstar,wf35ltiacd      |  7 ++++++
 drivers/gpu/drm/panel/panel-simple.c               | 28 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd
Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd new file +7 -0
new file mode 100644
index 000000000000..68408adf239f
@@ -0,0 +1,7 @@
+Winstar Display Corporation 3.5" QVGA (320x240) TFT LCD panel
+
+Required properties:
+- compatible: should be "winstar,wf35ltiacd"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
drivers/gpu/drm/panel/panel-simple.c +28 -0
index 06aaf79de8c8..5d45664c6c0e 100644
@@ -1713,6 +1713,31 @@ static const struct panel_desc urt_umsh_8596md_parallel = {
 	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
 };
 
+static const struct drm_display_mode winstar_wf35ltiacd_mode = {
+	.clock = 6410,
+	.hdisplay = 320,
+	.hsync_start = 320 + 20,
+	.hsync_end = 320 + 20 + 30,
+	.htotal = 320 + 20 + 30 + 38,
+	.vdisplay = 240,
+	.vsync_start = 240 + 4,
+	.vsync_end = 240 + 4 + 3,
+	.vtotal = 240 + 4 + 3 + 15,
+	.vrefresh = 60,
+	.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
+};
+
+static const struct panel_desc winstar_wf35ltiacd = {
+	.modes = &winstar_wf35ltiacd_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 70,
+		.height = 53,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+};
+
 static const struct of_device_id platform_of_match[] = {
 	{
 		.compatible = "ampire,am800480r3tmqwa1h",
@@ -1892,6 +1917,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "urt,umsh-8596md-20t",
 		.data = &urt_umsh_8596md_parallel,
 	}, {
+		.compatible = "winstar,wf35ltiacd",
+		.data = &winstar_wf35ltiacd,
+	}, {
 		/* sentinel */
 	}
 };
maintainer Acked-by on v1 1/2
#4 lore raw
In reply to Richard Genoud
Quoted 8 lines · Richard Genoud

Winstar Display Corp. is specialized in LCD displays for embedded products.
cf: http://www.winstar.com.tw

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

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

maintainer
#2 lore raw

Re: [PATCH 2/2] drm/panel: simple: Add support for Winstar WF35LTIACD

In reply to Richard Genoud
Quoted 16 lines · Richard Genoud

This adds support for the Winstar Display Co. WF35LTIACD 3.5" QVGA TFT LCD panel, which can be supported by the simple panel driver.

---
 .../bindings/display/panel/winstar,wf35ltiacd      |  7 ++++++
 drivers/gpu/drm/panel/panel-simple.c               | 28 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd
Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd new file +0 -0
new file mode 100644
index 000000000000..68408adf239f

Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd line 7

Quoted 7 lines
Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd new file +7 -0
@@ -0,0 +1,7 @@
+Winstar Display Corporation 3.5" QVGA (320x240) TFT LCD panel
+
+Required properties:
+- compatible: should be "winstar,wf35ltiacd"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.

Please specify the power supply(ies). I know a lot of bindings haven't, but many panels have more than 1 supply and just relying on simple panel doesn't distinguish whether the panel has 1 supply or you didn't check and it has more than 1.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Re: [PATCH 2/2] drm/panel: simple: Add support for Winstar WF35LTIACD

Quoted 30 lines · Rob Herring
Quoted 16 lines · Richard Genoud

This adds support for the Winstar Display Co. WF35LTIACD 3.5" QVGA TFT LCD panel, which can be supported by the simple panel driver.

---
 .../bindings/display/panel/winstar,wf35ltiacd      |  7 ++++++
 drivers/gpu/drm/panel/panel-simple.c               | 28 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd
Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd new file +0 -0
new file mode 100644
index 000000000000..68408adf239f

Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd line 7

Quoted 7 lines
Documentation/devicetree/bindings/display/panel/winstar,wf35ltiacd new file +7 -0
@@ -0,0 +1,7 @@
+Winstar Display Corporation 3.5" QVGA (320x240) TFT LCD panel
+
+Required properties:
+- compatible: should be "winstar,wf35ltiacd"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.

Please specify the power supply(ies). I know a lot of bindings haven't, but many panels have more than 1 supply and just relying on simple panel doesn't distinguish whether the panel has 1 supply or you didn't check and it has more than 1.

Quoted 2 lines

Rob

Ok, I'll specify the power supply. And I'll add an example, it's always nice to have one.

Thanks.

Richard.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to Richard Genoud
Quoted 8 lines · Richard Genoud

Winstar Display Corp. is specialized in LCD displays for embedded products.
cf: http://www.winstar.com.tw

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Thierry

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