* [PATCH] fbdev: da8xx-fb: fix videomodes of lcd panels
@ 2016-02-29 13:12 Sushaanth Srirangapathi
2016-02-29 16:30 ` Tomi Valkeinen
0 siblings, 1 reply; 2+ messages in thread
From: Sushaanth Srirangapathi @ 2016-02-29 13:12 UTC (permalink / raw)
To: Jean-Christophe Plagniol-Villard, Tomi Valkeinen
Cc: Sekhar Nori, linux-fbdev, linux-kernel, linux-omap,
Sushaanth Srirangapathi
Commit 028cd86b794f4a ("video: da8xx-fb: fix the polarities of the
hsync/vsync pulse") fixes polarities of HSYNC/VSYNC pulse but
forgot to update known_lcd_panels[] which had sync values
according to old logic. This breaks LCD at least on DA850 EVM.
This patch fixes this issue and I have tested this for panel
"Sharp_LK043T1DG01" using DA850 EVM board.
Fixes: 028cd86b794f4a ("video: da8xx-fb: fix the polarities of the
hsync/vsync pulse")
Signed-off-by: Sushaanth Srirangapathi <sushaanth.s@ti.com>
---
drivers/video/fbdev/da8xx-fb.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/video/fbdev/da8xx-fb.c b/drivers/video/fbdev/da8xx-fb.c
index 6b2a06d..d8d583d 100644
--- a/drivers/video/fbdev/da8xx-fb.c
+++ b/drivers/video/fbdev/da8xx-fb.c
@@ -209,8 +209,7 @@ static struct fb_videomode known_lcd_panels[] = {
.lower_margin = 2,
.hsync_len = 0,
.vsync_len = 0,
- .sync = FB_SYNC_CLK_INVERT |
- FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
+ .sync = FB_SYNC_CLK_INVERT,
},
/* Sharp LK043T1DG01 */
[1] = {
@@ -224,7 +223,7 @@ static struct fb_videomode known_lcd_panels[] = {
.lower_margin = 2,
.hsync_len = 41,
.vsync_len = 10,
- .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
+ .sync = 0,
.flag = 0,
},
[2] = {
@@ -239,7 +238,7 @@ static struct fb_videomode known_lcd_panels[] = {
.lower_margin = 10,
.hsync_len = 10,
.vsync_len = 10,
- .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
+ .sync = 0,
.flag = 0,
},
[3] = {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fbdev: da8xx-fb: fix videomodes of lcd panels
2016-02-29 13:12 [PATCH] fbdev: da8xx-fb: fix videomodes of lcd panels Sushaanth Srirangapathi
@ 2016-02-29 16:30 ` Tomi Valkeinen
0 siblings, 0 replies; 2+ messages in thread
From: Tomi Valkeinen @ 2016-02-29 16:30 UTC (permalink / raw)
To: Sushaanth Srirangapathi, Jean-Christophe Plagniol-Villard
Cc: Sekhar Nori, linux-fbdev, linux-kernel, linux-omap
[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]
On 29/02/16 15:12, Sushaanth Srirangapathi wrote:
> Commit 028cd86b794f4a ("video: da8xx-fb: fix the polarities of the
> hsync/vsync pulse") fixes polarities of HSYNC/VSYNC pulse but
> forgot to update known_lcd_panels[] which had sync values
> according to old logic. This breaks LCD at least on DA850 EVM.
>
> This patch fixes this issue and I have tested this for panel
> "Sharp_LK043T1DG01" using DA850 EVM board.
>
> Fixes: 028cd86b794f4a ("video: da8xx-fb: fix the polarities of the
> hsync/vsync pulse")
> Signed-off-by: Sushaanth Srirangapathi <sushaanth.s@ti.com>
> ---
> drivers/video/fbdev/da8xx-fb.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
Thanks, queued for 4.6.
Tomi
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-29 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 13:12 [PATCH] fbdev: da8xx-fb: fix videomodes of lcd panels Sushaanth Srirangapathi
2016-02-29 16:30 ` Tomi Valkeinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox