dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 05/11] drm/panel: add support for Samsung LTN140AT29 panel
       [not found] <1421338359-27467-1-git-send-email-tomeu.vizoso@collabora.com>
@ 2015-01-15 16:12 ` Tomeu Vizoso
  2015-01-16 12:23   ` Thierry Reding
  0 siblings, 1 reply; 2+ messages in thread
From: Tomeu Vizoso @ 2015-01-15 16:12 UTC (permalink / raw)
  To: linux-tegra
  Cc: Javier Martinez Canillas, Dylan Reid, Simon Glass, Ulf Hansson,
	Stéphane Marchesin, Tomeu Vizoso, Thierry Reding,
	David Airlie, dri-devel, linux-kernel

From: Stéphane Marchesin <marcheu@chromium.org>

This panel is used by the Nyan Blaze board and supported by the simple-panel
driver.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index e95385b..5ee1d2c 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -722,6 +722,29 @@ static const struct panel_desc samsung_ltn101nt05 = {
 	},
 };
 
+static const struct drm_display_mode samsung_ltn140at29_301_mode = {
+	.clock = 76300,
+	.hdisplay = 1366,
+	.hsync_start = 1366 + 64,
+	.hsync_end = 1366 + 64 + 48,
+	.htotal = 1366 + 64 + 48 + 128,
+	.vdisplay = 768,
+	.vsync_start = 768 + 2,
+	.vsync_end = 768 + 2 + 5,
+	.vtotal = 768 + 2 + 5 + 17,
+	.vrefresh = 60,
+};
+
+static const struct panel_desc samsung_ltn140at29_301 = {
+	.modes = &samsung_ltn140at29_301_mode,
+	.num_modes = 1,
+	.bpc = 6,
+	.size = {
+		.width = 320,
+		.height = 187,
+	},
+};
+
 static const struct of_device_id platform_of_match[] = {
 	{
 		.compatible = "auo,b101aw03",
@@ -778,6 +801,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "samsung,ltn101nt05",
 		.data = &samsung_ltn101nt05,
 	}, {
+		.compatible = "samsung,ltn140at29-301",
+		.data = &samsung_ltn140at29_301,
+	}, {
 		/* sentinel */
 	}
 };
-- 
1.9.3

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

* Re: [PATCH v2 05/11] drm/panel: add support for Samsung LTN140AT29 panel
  2015-01-15 16:12 ` [PATCH v2 05/11] drm/panel: add support for Samsung LTN140AT29 panel Tomeu Vizoso
@ 2015-01-16 12:23   ` Thierry Reding
  0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2015-01-16 12:23 UTC (permalink / raw)
  To: Tomeu Vizoso
  Cc: Ulf Hansson, Simon Glass, linux-kernel, dri-devel, linux-tegra,
	Stéphane Marchesin, Dylan Reid, Javier Martinez Canillas


[-- Attachment #1.1: Type: text/plain, Size: 551 bytes --]

On Thu, Jan 15, 2015 at 05:12:17PM +0100, Tomeu Vizoso wrote:
> From: Stéphane Marchesin <marcheu@chromium.org>
> 
> This panel is used by the Nyan Blaze board and supported by the simple-panel
> driver.
> 
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)

This is missing device tree binding documentation. Also since the patch
is from Stéphane you should probably add a Signed-off-by line from him.

Thierry

[-- Attachment #1.2: Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

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

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

end of thread, other threads:[~2015-01-16 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1421338359-27467-1-git-send-email-tomeu.vizoso@collabora.com>
2015-01-15 16:12 ` [PATCH v2 05/11] drm/panel: add support for Samsung LTN140AT29 panel Tomeu Vizoso
2015-01-16 12:23   ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox