All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 1/3] dt-bindings: Add vendor prefix for VXT Ltd
@ 2019-02-17 14:31 Fabio Estevam via dri-devel
  2019-02-17 14:31 ` [PATCH RESEND 2/3] dt-bindings: Add VXT VL050-8048NT-C01 panel bindings Fabio Estevam via dri-devel
  2019-02-17 14:31 ` [PATCH RESEND 3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel Fabio Estevam via dri-devel
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam via dri-devel @ 2019-02-17 14:31 UTC (permalink / raw)
  To: thierry.reding
  Cc: devicetree, otavio.salvador, dri-devel, robh+dt, sam, john.weber

VXT Ltd is a manufacturer of projected capacitive touch panel
and display solutions: http://www.vxt.com.tw/

Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 3bbe3b8..16a2a97 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -426,6 +426,7 @@ vivante	Vivante Corporation
 vocore VoCore Studio
 voipac	Voipac Technologies s.r.o.
 vot	Vision Optical Technology Co., Ltd.
+vxt	VXT Ltd
 wd	Western Digital Corp.
 wetek	WeTek Electronics, limited.
 wexler	Wexler
-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [PATCH RESEND 2/3] dt-bindings: Add VXT VL050-8048NT-C01 panel bindings
  2019-02-17 14:31 [PATCH RESEND 1/3] dt-bindings: Add vendor prefix for VXT Ltd Fabio Estevam via dri-devel
@ 2019-02-17 14:31 ` Fabio Estevam via dri-devel
  2019-02-17 14:31 ` [PATCH RESEND 3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel Fabio Estevam via dri-devel
  1 sibling, 0 replies; 4+ messages in thread
From: Fabio Estevam via dri-devel @ 2019-02-17 14:31 UTC (permalink / raw)
  To: thierry.reding
  Cc: devicetree, otavio.salvador, dri-devel, robh+dt, sam, john.weber

The VXT VL050-8048NT-C01 is a TFT LCD panel with a 800x480 resolution
connected via 24 width parallel interface.

Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Rob Herring <robh@kernel.org
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 .../devicetree/bindings/display/panel/vl050_8048nt_c01.txt   | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/vl050_8048nt_c01.txt

diff --git a/Documentation/devicetree/bindings/display/panel/vl050_8048nt_c01.txt b/Documentation/devicetree/bindings/display/panel/vl050_8048nt_c01.txt
new file mode 100644
index 0000000..b42bf06
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/vl050_8048nt_c01.txt
@@ -0,0 +1,12 @@
+VXT 800x480 color TFT LCD panel
+
+Required properties:
+- compatible: should be "vxt,vl050-8048nt-c01"
+- power-supply: as specified in the base binding
+
+Optional properties:
+- backlight: as specified in the base binding
+- enable-gpios: as specified in the base binding
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [PATCH RESEND 3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel
  2019-02-17 14:31 [PATCH RESEND 1/3] dt-bindings: Add vendor prefix for VXT Ltd Fabio Estevam via dri-devel
  2019-02-17 14:31 ` [PATCH RESEND 2/3] dt-bindings: Add VXT VL050-8048NT-C01 panel bindings Fabio Estevam via dri-devel
@ 2019-02-17 14:31 ` Fabio Estevam via dri-devel
  2019-02-17 17:27   ` Sam Ravnborg
  1 sibling, 1 reply; 4+ messages in thread
From: Fabio Estevam via dri-devel @ 2019-02-17 14:31 UTC (permalink / raw)
  To: thierry.reding
  Cc: devicetree, otavio.salvador, dri-devel, robh+dt, sam, john.weber

Add support for the VXT VL050-8048NT-C01 800x480 panel to the
panel-simple driver. 

This panel is used on some boards manufactured by TechNexion, such as
imx7d-pico.

Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 5fbee83..2e76e95 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2410,6 +2410,30 @@ static const struct panel_desc urt_umsh_8596md_parallel = {
 	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
 };
 
+static const struct drm_display_mode vl050_8048nt_c01_mode = {
+	.clock = 33333,
+	.hdisplay = 800,
+	.hsync_start = 800 + 210,
+	.hsync_end = 800 + 210 + 20,
+	.htotal = 800 + 210 + 20 + 46,
+	.vdisplay =  480,
+	.vsync_start = 480 + 22,
+	.vsync_end = 480 + 22 + 10,
+	.vtotal = 480 + 22 + 10 + 23,
+	.vrefresh = 60,
+};
+
+static const struct panel_desc vl050_8048nt_c01 = {
+	.modes = &vl050_8048nt_c01_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 120,
+		.height = 76,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+};
+
 static const struct drm_display_mode winstar_wf35ltiacd_mode = {
 	.clock = 6410,
 	.hdisplay = 320,
@@ -2725,6 +2749,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "urt,umsh-8596md-20t",
 		.data = &urt_umsh_8596md_parallel,
 	}, {
+		.compatible = "vxt,vl050-8048nt-c01",
+		.data = &vl050_8048nt_c01,
+	}, {
 		.compatible = "winstar,wf35ltiacd",
 		.data = &winstar_wf35ltiacd,
 	}, {
-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH RESEND 3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel
  2019-02-17 14:31 ` [PATCH RESEND 3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel Fabio Estevam via dri-devel
@ 2019-02-17 17:27   ` Sam Ravnborg
  0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2019-02-17 17:27 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: devicetree, otavio.salvador, dri-devel, robh+dt, thierry.reding,
	john.weber

On Sun, Feb 17, 2019 at 11:31:23AM -0300, Fabio Estevam wrote:
> Add support for the VXT VL050-8048NT-C01 800x480 panel to the
> panel-simple driver. 
> 
> This panel is used on some boards manufactured by TechNexion, such as
> imx7d-pico.
> 
> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 5fbee83..2e76e95 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -2410,6 +2410,30 @@ static const struct panel_desc urt_umsh_8596md_parallel = {
>  	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
>  };
>  
> +static const struct drm_display_mode vl050_8048nt_c01_mode = {
> +	.clock = 33333,
> +	.hdisplay = 800,
> +	.hsync_start = 800 + 210,
> +	.hsync_end = 800 + 210 + 20,
> +	.htotal = 800 + 210 + 20 + 46,
> +	.vdisplay =  480,
> +	.vsync_start = 480 + 22,
> +	.vsync_end = 480 + 22 + 10,
> +	.vtotal = 480 + 22 + 10 + 23,
> +	.vrefresh = 60,
> +};
No need for .flags?
Example: .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,

> +
> +static const struct panel_desc vl050_8048nt_c01 = {
> +	.modes = &vl050_8048nt_c01_mode,
> +	.num_modes = 1,
> +	.bpc = 8,
> +	.size = {
> +		.width = 120,
> +		.height = 76,
> +	},
> +	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
What about .bus_flags?
Example: .bus_flags = DRM_BUS_FLAG_PIXDATA_POSEDGE,

The examples are random from the panel-simple driver.
I could not find any datasheet at http://www.vxt.com.tw
for the panel.

With my comments considered you can add:
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-02-17 17:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-17 14:31 [PATCH RESEND 1/3] dt-bindings: Add vendor prefix for VXT Ltd Fabio Estevam via dri-devel
2019-02-17 14:31 ` [PATCH RESEND 2/3] dt-bindings: Add VXT VL050-8048NT-C01 panel bindings Fabio Estevam via dri-devel
2019-02-17 14:31 ` [PATCH RESEND 3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel Fabio Estevam via dri-devel
2019-02-17 17:27   ` Sam Ravnborg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.