Go to the documentation of this file.
19 #ifndef __ASM_ARM_W90X900_REGS_LDM_H
20 #define __ASM_ARM_W90X900_REGS_LDM_H
25 #define REG_LCM_DCCS (0x00)
27 #define LCM_DCCS_ENG_RST (1 << 0)
28 #define LCM_DCCS_VA_EN (1 << 1)
29 #define LCM_DCCS_OSD_EN (1 << 2)
30 #define LCM_DCCS_DISP_OUT_EN (1 << 3)
31 #define LCM_DCCS_DISP_INT_EN (1 << 4)
32 #define LCM_DCCS_CMD_ON (1 << 5)
33 #define LCM_DCCS_FIELD_INTR (1 << 6)
34 #define LCM_DCCS_SINGLE (1 << 7)
48 #define REG_LCM_DEV_CTRL (0x04)
73 #define LCM_DEV_CTRL_LCD_DDA (8)
74 #define LCM_DEV_CTRL_YUV2CCIR (16)
130 #define LCM_DEV_CTRL_CMD16 (29)
131 #define LCM_DEV_CTRL_CM16t18 (30)
132 #define LCM_DEV_CTRL_CMD_LOW (31)
135 #define REG_LCM_MPU_CMD (0x08)
138 #define REG_LCM_INT_CS (0x0c)
139 #define LCM_INT_CS_DISP_F_EN (1 << 0)
140 #define LCM_INT_CS_UNDERRUN_EN (1 << 1)
141 #define LCM_INT_CS_BUS_ERROR_INT (1 << 28)
142 #define LCM_INT_CS_UNDERRUN_INT (1 << 29)
143 #define LCM_INT_CS_DISP_F_STATUS (1 << 30)
144 #define LCM_INT_CS_DISP_F_INT (1 << 31)
147 #define REG_LCM_CRTC_SIZE (0x10)
148 #define LCM_CRTC_SIZE_VTTVAL(x) ((x) << 16)
149 #define LCM_CRTC_SIZE_HTTVAL(x) ((x) << 0)
152 #define REG_LCM_CRTC_DEND (0x14)
153 #define LCM_CRTC_DEND_VDENDVAL(x) ((x) << 16)
154 #define LCM_CRTC_DEND_HDENDVAL(x) ((x) << 0)
157 #define REG_LCM_CRTC_HR (0x18)
158 #define LCM_CRTC_HR_EVAL(x) ((x) << 16)
159 #define LCM_CRTC_HR_SVAL(x) ((x) << 0)
162 #define REG_LCM_CRTC_HSYNC (0x1C)
163 #define LCM_CRTC_HSYNC_SHIFTVAL(x) ((x) << 30)
164 #define LCM_CRTC_HSYNC_EVAL(x) ((x) << 16)
165 #define LCM_CRTC_HSYNC_SVAL(x) ((x) << 0)
168 #define REG_LCM_CRTC_VR (0x20)
169 #define LCM_CRTC_VR_EVAL(x) ((x) << 16)
170 #define LCM_CRTC_VR_SVAL(x) ((x) << 0)
173 #define REG_LCM_VA_BADDR0 (0x24)
176 #define REG_LCM_VA_BADDR1 (0x28)
179 #define REG_LCM_VA_FBCTRL (0x2C)
180 #define LCM_VA_FBCTRL_IO_REGION_HALF (1 << 28)
181 #define LCM_VA_FBCTRL_FIELD_DUAL (1 << 29)
182 #define LCM_VA_FBCTRL_START_BUF (1 << 30)
183 #define LCM_VA_FBCTRL_DB_EN (1 << 31)
186 #define REG_LCM_VA_SCALE (0x30)
187 #define LCM_VA_SCALE_XCOPY_INTERPOLATION (0 << 15)
188 #define LCM_VA_SCALE_XCOPY_DUPLICATION (1 << 15)
191 #define REG_LCM_VA_WIN (0x38)
194 #define REG_LCM_VA_STUFF (0x3C)
197 #define REG_LCM_OSD_WINS (0x40)
200 #define REG_LCM_OSD_WINE (0x44)
203 #define REG_LCM_OSD_BADDR (0x48)
206 #define REG_LCM_OSD_FBCTRL (0x4c)
209 #define REG_LCM_OSD_OVERLAY (0x50)
212 #define REG_LCM_OSD_CKEY (0x54)
215 #define REG_LCM_OSD_CMASK (0x58)
218 #define REG_LCM_OSD_SKIP1 (0x5C)
221 #define REG_LCM_OSD_SKIP2 (0x60)
224 #define REG_LCM_OSD_SCALE (0x64)
227 #define REG_LCM_MPU_VSYNC (0x68)
230 #define REG_LCM_HC_CTRL (0x6C)
233 #define REG_LCM_HC_POS (0x70)
236 #define REG_LCM_HC_WBCTRL (0x74)
239 #define REG_LCM_HC_BADDR (0x78)
242 #define REG_LCM_HC_COLOR0 (0x7C)
245 #define REG_LCM_HC_COLOR1 (0x80)
248 #define REG_LCM_HC_COLOR2 (0x84)
251 #define REG_LCM_HC_COLOR3 (0x88)