Skip to contentSkip to conversation

drm/panel: simple: Add Innolux N133HSE panel support

PATCH In review Marek Vasut 2 participants 3 messages Nov 18, 2015 – Nov 24, 2015

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

PATCH 1/1 drm/panel: simple: Add Innolux N133HSE panel support

From: Sean Cross <[email protected]>

The Innolux N133HSE panel is a 13.3" 1920x1080 panel that contains an integrated backlight, and connects via eDP.

It is used in the Kosagi Novena.

Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Thierry Reding <[email protected]>
---
 drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +26 -0
index f97b73e..d0fd427 100644
@@ -856,6 +856,29 @@ static const struct panel_desc innolux_n116bge = {
 	},
 };
 
+static const struct drm_display_mode innolux_n133hse_ea1_mode = {
+	.clock = 138500,
+	.hdisplay = 1920,
+	.hsync_start = 1920 + 46,
+	.hsync_end = 1920 + 46 + 30,
+	.htotal = 1920 + 160,
+	.vdisplay = 1080,
+	.vsync_start = 1080 + 2,
+	.vsync_end = 1080 + 2 + 4,
+	.vtotal = 1080 + 32,
+	.vrefresh = 60,
+};
+
+static const struct panel_desc innolux_n133hse_ea1 = {
+	.modes = &innolux_n133hse_ea1_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 293,
+		.height = 165,
+	},
+};
+
 static const struct drm_display_mode innolux_n156bge_l21_mode = {
 	.clock = 69300,
 	.hdisplay = 1366,
@@ -1161,6 +1184,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "innolux,n116bge",
 		.data = &innolux_n116bge,
 	}, {
+		.compatible = "innolux,n133hse-ea1",
+		.data = &innolux_n133hse_ea1,
+	}, {
 		.compatible = "innolux,n156bge-l21",
 		.data = &innolux_n156bge_l21,
 	}, {
Signature · 6 lines
2.1.4

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 7 lines · Marek Vasut

From: Sean Cross <[email protected]>

The Innolux N133HSE panel is a 13.3" 1920x1080 panel that contains an integrated backlight, and connects via eDP.

It is used in the Kosagi Novena.

Quoted 7 lines
Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Thierry Reding <[email protected]>
---
 drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

This is missing a device tree binding document. Otherwise looks good, except one minor nit below.

Quoted 5 lines
drivers/gpu/drm/panel/panel-simple.c +0 -0
index f97b73e..d0fd427 100644

drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc innolux_n116bge = { · line 864

Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +6 -0
@@ -856,6 +856,29 @@ static const struct panel_desc innolux_n116bge = {
 	},
 };
 
+static const struct drm_display_mode innolux_n133hse_ea1_mode = {
+	.clock = 138500,
+	.hdisplay = 1920,
+	.hsync_start = 1920 + 46,
+	.hsync_end = 1920 + 46 + 30,
+	.htotal = 1920 + 160,

Can you split out the .htotal into its various components, for consistency with the entries for other panels?

drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc innolux_n116bge = { · line 868

Quoted 4 lines
drivers/gpu/drm/panel/panel-simple.c +4 -0
+	.vdisplay = 1080,
+	.vsync_start = 1080 + 2,
+	.vsync_end = 1080 + 2 + 4,
+	.vtotal = 1080 + 32,

Same for .vtotal here.

Thierry

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

#2 lore raw
Quoted 14 lines · Thierry Reding
Quoted 13 lines · Marek Vasut

From: Sean Cross <[email protected]>

The Innolux N133HSE panel is a 13.3" 1920x1080 panel that contains an integrated backlight, and connects via eDP.

It is used in the Kosagi Novena.

Cc Shawn Guo <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Thierry Reding <[email protected]>

---

Quoted 5 lines
Quoted 2 lines
 drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

This is missing a device tree binding document. Otherwise looks good, except one minor nit below.

Both fixed, will send V2 shortly. Thanks!

Best regards,
Marek Vasut
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel