projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c735b9
)
VIDEO: add macro to set LCD size for DSS driver
author
Stefano Babic
<sbabic@denx.de>
Tue, 16 Oct 2012 04:07:05 +0000
(
04:07
+0000)
committer
Tom Rini
<trini@ti.com>
Thu, 25 Oct 2012 18:30:49 +0000
(11:30 -0700)
Signed-off-by: Stefano Babic <sbabic@denx.de>
Acked-by: Anatolij Gustschin <agust@denx.de>
arch/arm/include/asm/arch-omap3/dss.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-omap3/dss.h
b/arch/arm/include/asm/arch-omap3/dss.h
index
54add4b
..
ffaffbb
100644
(file)
--- a/
arch/arm/include/asm/arch-omap3/dss.h
+++ b/
arch/arm/include/asm/arch-omap3/dss.h
@@
-190,6
+190,7
@@
struct panel_config {
#define PANEL_TIMING_H(bp, fp, sw) (DSS_HBP(bp) | DSS_HFP(fp) | DSS_HSW(sw))
#define PANEL_TIMING_V(bp, fp, sw) (DSS_VBP(bp) | DSS_VFP(fp) | DSS_VSW(sw))
+#define PANEL_LCD_SIZE(xres, yres) ((yres - 1) << 16 | (xres - 1))
/* Generic DSS Functions */
void omap3_dss_venc_config(const struct venc_regs *venc_cfg,