OMAP: DSS2: Support for UMSH-8173MD TFT panel
PATCH 1/1 OMAP: DSS2: Support for UMSH-8173MD TFT panel
--- 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
@@ -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
PATCH v2 1/1 OMAP: DSS2: Support for UMSH-8173MD TFT panel
---
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
@@ -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
Hi,
Quoted 6 lines · Daniel Mack
Signed-off-by Daniel Mack <[email protected]>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
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.
--- 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
@@ -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
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
Signed-off-by Daniel Mack <[email protected]>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@@ -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 {
Quoted 32 lines · Daniel Mack
This patch adds support for Microtip Technologies' UMSH-8173MD 800x480 RGB TFT panel. Tested with an OMAP3 board.
Signed-off-by Daniel Mack <[email protected]>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@@ -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
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.
Signed-off-by Daniel Mack <[email protected]>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@@ -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