projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a3a4fc
)
MLK-16158-5 video: fbdev: adv7535: refine low refresh settings
author
Fancy Fang
<chen.fang@nxp.com>
Tue, 8 Aug 2017 06:34:36 +0000
(14:34 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:28 +0000
(15:36 -0500)
Use the 'refresh' in video mode to determine to set
low refresh config for adv7535 wheter or not.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
drivers/video/fbdev/mxc/adv7535.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/mxc/adv7535.c
b/drivers/video/fbdev/mxc/adv7535.c
index
c232810
..
f47378f
100644
(file)
--- a/
drivers/video/fbdev/mxc/adv7535.c
+++ b/
drivers/video/fbdev/mxc/adv7535.c
@@
-216,7
+216,8
@@
static int adv7535_vmode_cfg(struct adv7535_info *info)
#ifdef CONFIG_FB_IMX64
/* low refresh rate */
- adv7535_write_reg(0x4A, 0x8C);
+ if (fb_vmode->refresh < 50)
+ adv7535_write_reg(0x4A, 0x8C);
#else
adv7535_write_reg(0x17, 0x60); /* VS & HS Low Polarity, DE disabled */
#endif