diff mbox series

[3/3] drm/panel: simple: Add support for VXT VL050-8048NT-C01 panel

Message ID 1543942655-5942-3-git-send-email-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/3] dt-bindings: Add vendor prefix for VXT Ltd | expand

Commit Message

Fabio Estevam Dec. 4, 2018, 4:57 p.m. UTC
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.

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

Comments

Otavio Salvador Dec. 4, 2018, 7:09 p.m. UTC | #1
On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam <festevam@gmail.com> 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.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Fabio Estevam Dec. 17, 2018, 12:39 a.m. UTC | #2
Hi Thierry,

On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam <festevam@gmail.com> 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.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Do you think it is possible to get this series applied for 4.21?

Thanks
Fabio Estevam Jan. 24, 2019, 4:27 p.m. UTC | #3
Ping

On Sun, Dec 16, 2018 at 10:39 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi Thierry,
>
> On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam <festevam@gmail.com> 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.
> >
> > Signed-off-by: Fabio Estevam <festevam@gmail.com>
>
> Do you think it is possible to get this series applied for 4.21?
>
> Thanks
Otavio Salvador Feb. 14, 2019, 6:28 p.m. UTC | #4
On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam <festevam@gmail.com> 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.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---

Could this to be reviewed? It'd be important for it to be merged for 5.1.
Sam Ravnborg Feb. 16, 2019, 8:30 p.m. UTC | #5
Hi Otavio.

On Thu, Feb 14, 2019 at 04:28:52PM -0200, Otavio Salvador wrote:
> On Tue, Dec 4, 2018 at 2:57 PM Fabio Estevam <festevam@gmail.com> 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.
> >
> > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> > ---
> 
> Could this to be reviewed? It'd be important for it to be merged for 5.1.
I lost the original mail. If you can resend the patches I will review it/them.

	Sam
kernel test robot via dri-devel Feb. 17, 2019, 2:32 p.m. UTC | #6
Hi Sam,

On Sat, Feb 16, 2019 at 6:30 PM Sam Ravnborg <sam@ravnborg.org> wrote:

> I lost the original mail. If you can resend the patches I will review it/them.

I have just resent the series with you on Cc.

Thanks for your help.
diff mbox series

Patch

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,
 	}, {