]> Pileus Git - ~andy/linux/commitdiff
video: s3c-fb: move the address definitions for VIDTCON registers
authorJingoo Han <jg1.han@samsung.com>
Tue, 25 Sep 2012 06:48:20 +0000 (15:48 +0900)
committerJingoo Han <jg1.han@samsung.com>
Mon, 26 Nov 2012 04:35:34 +0000 (13:35 +0900)
The address definitions for VIDTCON registers are moved to right
place.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
include/video/samsung_fimd.h

index bd0a04e478eb6d3f725d3bb138f149a18acf43c5..bc22f3ccb7b1dbb452821f6cc9793f4b8c7748bc 100644 (file)
 
 /* VIDTCON0 */
 
+#define VIDTCON0                               (0x10)
 #define VIDTCON0_VBPDE_MASK                    (0xff << 24)
 #define VIDTCON0_VBPDE_SHIFT                   (24)
 #define VIDTCON0_VBPDE_LIMIT                   (0xff)
 
 /* VIDTCON1 */
 
+#define VIDTCON1                               (0x14)
 #define VIDTCON1_VFPDE_MASK                    (0xff << 24)
 #define VIDTCON1_VFPDE_SHIFT                   (24)
 #define VIDTCON1_VFPDE_LIMIT                   (0xff)
 #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)
 #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)