Skip to content

Commit 9d07a0b

Browse files
author
Jingoo Han
committed
video: s3c-fb: move the address definitions for VIDTCON registers
The address definitions for VIDTCON registers are moved to right place. Signed-off-by: Jingoo Han <jg1.han@samsung.com>
1 parent 36ff8d5 commit 9d07a0b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎include/video/samsung_fimd.h‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116

117117
/* VIDTCON0 */
118118

119+
#define VIDTCON0 (0x10)
119120
#define VIDTCON0_VBPDE_MASK (0xff << 24)
120121
#define VIDTCON0_VBPDE_SHIFT (24)
121122
#define VIDTCON0_VBPDE_LIMIT (0xff)
@@ -138,6 +139,7 @@
138139

139140
/* VIDTCON1 */
140141

142+
#define VIDTCON1 (0x14)
141143
#define VIDTCON1_VFPDE_MASK (0xff << 24)
142144
#define VIDTCON1_VFPDE_SHIFT (24)
143145
#define VIDTCON1_VFPDE_LIMIT (0xff)
@@ -158,6 +160,7 @@
158160
#define VIDTCON1_HSPW_LIMIT (0xff)
159161
#define VIDTCON1_HSPW(_x) ((_x) << 0)
160162

163+
#define VIDTCON2 (0x18)
161164
#define VIDTCON2 (0x18)
162165
#define VIDTCON2_LINEVAL_E(_x) ((((_x) & 0x800) >> 11) << 23)
163166
#define VIDTCON2_LINEVAL_MASK (0x7ff << 11)
@@ -405,11 +408,6 @@
405408
#define S3C_FB_MAX_WIN (5) /* number of hardware windows available. */
406409
#define VIDCON1_FSTATUS_EVEN (1 << 15)
407410

408-
/* Video timing controls */
409-
#define VIDTCON0 (0x10)
410-
#define VIDTCON1 (0x14)
411-
#define VIDTCON2 (0x18)
412-
413411
/* OSD1 and OSD4 do not have register D */
414412

415413
#define VIDOSD_BASE (0x40)

0 commit comments

Comments
 (0)