Skip to contentSkip to conversation

OMAP: DSS2: Support for UMSH-8173MD TFT panel

PATCH Superseded Daniel Mack 2 participants 7 messages Dec 16, 2011 – Jan 3, 2012 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP: DSS2: Support for UMSH-8173MD TFT panel

Cc Tomi Valkeinen <[email protected]>
Cc Florian Tobias Schandinat <[email protected]>
---
 drivers/video/omap2/displays/panel-generic-dpi.c |   25 ++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
drivers/video/omap2/displays/panel-generic-dpi.c +25 -0
index 519c47d..8ce72ca 100644
@@ -297,6 +297,31 @@ static struct panel_config generic_dpi_panels[] = {
 
 		.name			= "apollon",
 	},
+
+	/* Microtips Technologies - UMSH-8173MD */
+	{
+		{
+			.x_res		= 800,
+			.y_res		= 480,
+
+			.pixel_clock	= 34560,
+
+			.hsw		= 13,
+			.hfp		= 101,
+			.hbp		= 101,
+
+			.vsw		= 23,
+			.vfp		= 1,
+			.vbp		= 1,
+		},
+		.acbi			= 0x0,
+		.acb			= 0x1,
+		.config			= OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
+					  OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
+		.power_on_delay		= 100,
+		.power_off_delay	= 0,
+		.name			= "UMSH-8173MD",
+	},
 };
 
 struct panel_drv_data {
Signature · 1 line
1.7.7.4
#1 lore raw

PATCH v2 1/1 OMAP: DSS2: Support for UMSH-8173MD TFT panel

Cc Tomi Valkeinen <[email protected]>
Cc Florian Tobias Schandinat <[email protected]>

---

v2 is a resent with ".power_on_delay" and ".acb" values corrected.

 drivers/video/omap2/displays/panel-generic-dpi.c |   25 ++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
drivers/video/omap2/displays/panel-generic-dpi.c +25 -0
index 519c47d..cbcf164 100644
@@ -297,6 +297,31 @@ static struct panel_config generic_dpi_panels[] = {
 
 		.name			= "apollon",
 	},
+
+	/* Microtips Technologies - UMSH-8173MD */
+	{
+		{
+			.x_res		= 800,
+			.y_res		= 480,
+
+			.pixel_clock	= 34560,
+
+			.hsw		= 13,
+			.hfp		= 101,
+			.hbp		= 101,
+
+			.vsw		= 23,
+			.vfp		= 1,
+			.vbp		= 1,
+		},
+		.acbi			= 0x0,
+		.acb			= 0x0,
+		.config			= OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
+					  OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
+		.power_on_delay		= 0,
+		.power_off_delay	= 0,
+		.name			= "UMSH-8173MD",
+	},
 };
 
 struct panel_drv_data {
Signature · 1 line
1.7.7.4
#2 lore raw

Hi,

Quoted 6 lines · Daniel Mack
Cc Tomi Valkeinen <[email protected]>
Cc Florian Tobias Schandinat <[email protected]>

---

v2 is a resent with ".power_on_delay" and ".acb" values corrected.

The code itself is fine, but please provide a commit description. Patches should always have a commit description, even if the patch is trivial and the desc would be more or less the same as the subject.

Tomi

#3 lore raw

PATCH v3 1/1 OMAP: DSS2: Support for UMSH-8173MD TFT panel

This patch adds support for Microtip Technologies' UMSH-8173MD 800x480 RGB TFT panel. Tested with an OMAP3 board.

Cc Tomi Valkeinen <[email protected]>
Cc Florian Tobias Schandinat <[email protected]>
---
 drivers/video/omap2/displays/panel-generic-dpi.c |   25 ++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
drivers/video/omap2/displays/panel-generic-dpi.c +25 -0
index 519c47d..cbcf164 100644
@@ -297,6 +297,31 @@ static struct panel_config generic_dpi_panels[] = {
 
 		.name			= "apollon",
 	},
+
+	/* Microtips Technologies - UMSH-8173MD */
+	{
+		{
+			.x_res		= 800,
+			.y_res		= 480,
+
+			.pixel_clock	= 34560,
+
+			.hsw		= 13,
+			.hfp		= 101,
+			.hbp		= 101,
+
+			.vsw		= 23,
+			.vfp		= 1,
+			.vbp		= 1,
+		},
+		.acbi			= 0x0,
+		.acb			= 0x0,
+		.config			= OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
+					  OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
+		.power_on_delay		= 0,
+		.power_off_delay	= 0,
+		.name			= "UMSH-8173MD",
+	},
 };
 
 struct panel_drv_data {
Signature · 1 line
1.7.7.4
#4 lore raw
Quoted 2 lines · Daniel Mack

This patch adds support for Microtip Technologies' UMSH-8173MD 800x480 RGB TFT panel. Tested with an OMAP3 board.

Does this version appear more suitable?

Thanks,
Daniel

Quoted 44 lines
Cc Tomi Valkeinen <[email protected]>
Cc Florian Tobias Schandinat <[email protected]>
---
 drivers/video/omap2/displays/panel-generic-dpi.c |   25 ++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
drivers/video/omap2/displays/panel-generic-dpi.c +25 -0
index 519c47d..cbcf164 100644
@@ -297,6 +297,31 @@ static struct panel_config generic_dpi_panels[] = {
 
 		.name			= "apollon",
 	},
+
+	/* Microtips Technologies - UMSH-8173MD */
+	{
+		{
+			.x_res		= 800,
+			.y_res		= 480,
+
+			.pixel_clock	= 34560,
+
+			.hsw		= 13,
+			.hfp		= 101,
+			.hbp		= 101,
+
+			.vsw		= 23,
+			.vfp		= 1,
+			.vbp		= 1,
+		},
+		.acbi			= 0x0,
+		.acb			= 0x0,
+		.config			= OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
+					  OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
+		.power_on_delay		= 0,
+		.power_off_delay	= 0,
+		.name			= "UMSH-8173MD",
+	},
 };
 
 struct panel_drv_data {
#5 lore raw
In reply to Daniel Mack
Quoted 32 lines · Daniel Mack

This patch adds support for Microtip Technologies' UMSH-8173MD 800x480 RGB TFT panel. Tested with an OMAP3 board.

Cc Tomi Valkeinen <[email protected]>
Cc Florian Tobias Schandinat <[email protected]>
---
 drivers/video/omap2/displays/panel-generic-dpi.c |   25 ++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
drivers/video/omap2/displays/panel-generic-dpi.c +14 -0
index 519c47d..cbcf164 100644
@@ -297,6 +297,31 @@ static struct panel_config generic_dpi_panels[] = {
 
 		.name			= "apollon",
 	},
+
+	/* Microtips Technologies - UMSH-8173MD */
+	{
+		{
+			.x_res		= 800,
+			.y_res		= 480,
+
+			.pixel_clock	= 34560,
+
+			.hsw		= 13,
+			.hfp		= 101,
+			.hbp		= 101,
+
+			.vsw		= 23,

drivers/video/omap2/displays/panel-generic-dpi.c static struct panel_config generic_dpi_panels[] = { · line 323

Quoted 10 lines
drivers/video/omap2/displays/panel-generic-dpi.c +10 -0
+			.vfp		= 1,
+			.vbp		= 1,
+		},
+		.acbi			= 0x0,
+		.acb			= 0x0,
+		.config			= OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
+					  OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
+		.power_on_delay		= 0,
+		.power_off_delay	= 0,
+		.name			= "UMSH-8173MD",

Looks fine, except the panel name is not in line with the other panel names. I suggest "microtips_umsh_8173md". I can apply the patch and make the change if you are ok with the name.

Tomi

#6 lore raw
Quoted 39 lines · Tomi Valkeinen
Quoted 38 lines · Daniel Mack

This patch adds support for Microtip Technologies' UMSH-8173MD 800x480 RGB TFT panel. Tested with an OMAP3 board.

Cc Tomi Valkeinen <[email protected]>
Cc Florian Tobias Schandinat <[email protected]>
---
 drivers/video/omap2/displays/panel-generic-dpi.c |   25 ++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
drivers/video/omap2/displays/panel-generic-dpi.c +20 -0
index 519c47d..cbcf164 100644
@@ -297,6 +297,31 @@ static struct panel_config generic_dpi_panels[] = {
 
 		.name			= "apollon",
 	},
+
+	/* Microtips Technologies - UMSH-8173MD */
+	{
+		{
+			.x_res		= 800,
+			.y_res		= 480,
+
+			.pixel_clock	= 34560,
+
+			.hsw		= 13,
+			.hfp		= 101,
+			.hbp		= 101,
+
+			.vsw		= 23,
+			.vfp		= 1,
+			.vbp		= 1,
+		},
+		.acbi			= 0x0,
+		.acb			= 0x0,
+		.config			= OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS |
Quoted 8 lines

drivers/video/omap2/displays/panel-generic-dpi.c static struct panel_config generic_dpi_panels[] = { · line 323

Quoted 4 lines
drivers/video/omap2/displays/panel-generic-dpi.c +4 -0
+					  OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC,
+		.power_on_delay		= 0,
+		.power_off_delay	= 0,
+		.name			= "UMSH-8173MD",

Looks fine, except the panel name is not in line with the other panel names. I suggest "microtips_umsh_8173md". I can apply the patch and make the change if you are ok with the name.

Yes, please do! :)

Thanks,
Daniel