Skip to content

Commit

Permalink
video: s3c-fb: move the address definitions for VIDTCON registers
Browse files Browse the repository at this point in the history
The address definitions for VIDTCON registers are moved to right
place.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
  • Loading branch information
Jingoo Han committed Nov 26, 2012
1 parent 36ff8d5 commit 9d07a0b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions include/video/samsung_fimd.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@

/* VIDTCON0 */

#define VIDTCON0 (0x10)
#define VIDTCON0_VBPDE_MASK (0xff << 24)
#define VIDTCON0_VBPDE_SHIFT (24)
#define VIDTCON0_VBPDE_LIMIT (0xff)
Expand All @@ -138,6 +139,7 @@

/* VIDTCON1 */

#define VIDTCON1 (0x14)
#define VIDTCON1_VFPDE_MASK (0xff << 24)
#define VIDTCON1_VFPDE_SHIFT (24)
#define VIDTCON1_VFPDE_LIMIT (0xff)
Expand All @@ -158,6 +160,7 @@
#define VIDTCON1_HSPW_LIMIT (0xff)
#define VIDTCON1_HSPW(_x) ((_x) << 0)

#define VIDTCON2 (0x18)
#define VIDTCON2 (0x18)
#define VIDTCON2_LINEVAL_E(_x) ((((_x) & 0x800) >> 11) << 23)
#define VIDTCON2_LINEVAL_MASK (0x7ff << 11)
Expand Down Expand Up @@ -405,11 +408,6 @@
#define S3C_FB_MAX_WIN (5) /* number of hardware windows available. */
#define VIDCON1_FSTATUS_EVEN (1 << 15)

/* Video timing controls */
#define VIDTCON0 (0x10)
#define VIDTCON1 (0x14)
#define VIDTCON2 (0x18)

/* OSD1 and OSD4 do not have register D */

#define VIDOSD_BASE (0x40)
Expand Down

0 comments on commit 9d07a0b

Please sign in to comment.