Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1272789 > unrolled thread

[PATCH v3 10/12] drm/panel: simple: Add support for BOE TV080WUM-NL0

Started byChris Zhong <zyw@rock-chips.com>
First post2015-11-19 04:40 +0100
Last post2015-11-19 15:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 10/12] drm/panel: simple: Add support for BOE TV080WUM-NL0 Chris Zhong <zyw@rock-chips.com> - 2015-11-19 04:40 +0100
    Re: [PATCH v3 10/12] drm/panel: simple: Add support for BOE TV080WUM-NL0 Emil Velikov <emil.l.velikov@gmail.com> - 2015-11-19 15:50 +0100

#1272789 — [PATCH v3 10/12] drm/panel: simple: Add support for BOE TV080WUM-NL0

FromChris Zhong <zyw@rock-chips.com>
Date2015-11-19 04:40 +0100
Subject[PATCH v3 10/12] drm/panel: simple: Add support for BOE TV080WUM-NL0
Message-ID<qwoeK-3V4-21@gated-at.bofh.it>
This adds support for the BOE TV080WUM-NL0 1200x1920 mipi panel to the
DRM simple panel driver.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
---

Changes in v3: None
Changes in v2: None

 drivers/gpu/drm/panel/panel-simple.c | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index f97b73e..3610e1c 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1348,6 +1348,36 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = {
 	.lanes = 4,
 };
 
+static const struct drm_display_mode boe_tv080wum_nl0_mode = {
+	.clock = 160000,
+	.hdisplay = 1200,
+	.hsync_start = 1200 + 120,
+	.hsync_end = 1200 + 120 + 20,
+	.htotal = 1200 + 120 + 20 + 21,
+	.vdisplay = 1920,
+	.vsync_start = 1920 + 21,
+	.vsync_end = 1920 + 21 + 3,
+	.vtotal = 1920 + 21 + 3 + 18,
+	.vrefresh = 60,
+	.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
+};
+
+static const struct panel_desc_dsi boe_tv080wum_nl0 = {
+	.desc = {
+		.modes = &boe_tv080wum_nl0_mode,
+		.num_modes = 1,
+		.size = {
+			.width = 107,
+			.height = 172,
+		},
+	},
+	.flags = MIPI_DSI_MODE_VIDEO |
+		 MIPI_DSI_MODE_VIDEO_BURST |
+		 MIPI_DSI_MODE_VIDEO_SYNC_PULSE,
+	.format = MIPI_DSI_FMT_RGB888,
+	.lanes = 4,
+};
+
 static const struct of_device_id dsi_of_match[] = {
 	{
 		.compatible = "auo,b080uan01",
@@ -1362,6 +1392,9 @@ static const struct of_device_id dsi_of_match[] = {
 		.compatible = "panasonic,vvx10f004b00",
 		.data = &panasonic_vvx10f004b00
 	}, {
+		.compatible = "boe,tv080wum-nl0",
+		.data = &boe_tv080wum_nl0
+	}, {
 		/* sentinel */
 	}
 };
-- 
2.6.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1273178

FromEmil Velikov <emil.l.velikov@gmail.com>
Date2015-11-19 15:50 +0100
Message-ID<qwyH7-29G-9@gated-at.bofh.it>
In reply to#1272789
Hi Chris,

Missing Thierry from the To/Cc list ? His name/email should have
popped up when using the get_mainteiners.pl script.

On 19 November 2015 at 03:35, Chris Zhong <zyw@rock-chips.com> wrote:
> This adds support for the BOE TV080WUM-NL0 1200x1920 mipi panel to the
> DRM simple panel driver.
>
> Signed-off-by: Chris Zhong <zyw@rock-chips.com>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  drivers/gpu/drm/panel/panel-simple.c | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index f97b73e..3610e1c 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1348,6 +1348,36 @@ static const struct panel_desc_dsi panasonic_vvx10f004b00 = {
>         .lanes = 4,
>  };
>
> +static const struct drm_display_mode boe_tv080wum_nl0_mode = {
> +       .clock = 160000,
> +       .hdisplay = 1200,
> +       .hsync_start = 1200 + 120,
> +       .hsync_end = 1200 + 120 + 20,
> +       .htotal = 1200 + 120 + 20 + 21,
> +       .vdisplay = 1920,
> +       .vsync_start = 1920 + 21,
> +       .vsync_end = 1920 + 21 + 3,
> +       .vtotal = 1920 + 21 + 3 + 18,
> +       .vrefresh = 60,
> +       .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
> +};
> +
> +static const struct panel_desc_dsi boe_tv080wum_nl0 = {
> +       .desc = {
> +               .modes = &boe_tv080wum_nl0_mode,
> +               .num_modes = 1,
> +               .size = {
> +                       .width = 107,
> +                       .height = 172,
> +               },
> +       },
> +       .flags = MIPI_DSI_MODE_VIDEO |
> +                MIPI_DSI_MODE_VIDEO_BURST |
> +                MIPI_DSI_MODE_VIDEO_SYNC_PULSE,
> +       .format = MIPI_DSI_FMT_RGB888,
> +       .lanes = 4,
> +};
> +
>  static const struct of_device_id dsi_of_match[] = {
>         {
>                 .compatible = "auo,b080uan01",
> @@ -1362,6 +1392,9 @@ static const struct of_device_id dsi_of_match[] = {
>                 .compatible = "panasonic,vvx10f004b00",
>                 .data = &panasonic_vvx10f004b00
>         }, {
> +               .compatible = "boe,tv080wum-nl0",
> +               .data = &boe_tv080wum_nl0
> +       }, {

All the new additional should be sorted alphabetically - first by
vendor and then product name.

Regards,
Emil
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web