aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/geode/video_gx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/geode/video_gx.h')
-rw-r--r--drivers/video/geode/video_gx.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/video/geode/video_gx.h b/drivers/video/geode/video_gx.h
index 238181a7d536..8f1e85bfa945 100644
--- a/drivers/video/geode/video_gx.h
+++ b/drivers/video/geode/video_gx.h
@@ -13,6 +13,11 @@
13 13
14extern struct geode_vid_ops gx_vid_ops; 14extern struct geode_vid_ops gx_vid_ops;
15 15
16/* GX Flatpanel control MSR */
17#define GX_VP_MSR_PAD_SELECT 0x2011
18#define GX_VP_PAD_SELECT_MASK 0x3FFFFFFF
19#define GX_VP_PAD_SELECT_TFT 0x1FFFFFFF
20
16/* Geode GX video processor registers */ 21/* Geode GX video processor registers */
17 22
18#define GX_DCFG 0x0008 23#define GX_DCFG 0x0008
@@ -36,9 +41,20 @@ extern struct geode_vid_ops gx_vid_ops;
36#define GX_MISC_A_PWRDN 0x00000800 41#define GX_MISC_A_PWRDN 0x00000800
37 42
38/* Geode GX flat panel display control registers */ 43/* Geode GX flat panel display control registers */
44
45#define GX_FP_PT1 0x0400
46#define GX_FP_PT1_VSIZE_MASK 0x7FF0000
47#define GX_FP_PT1_VSIZE_SHIFT 16
48
49#define GX_FP_PT2 0x408
50#define GX_FP_PT2_VSP (1 << 23)
51#define GX_FP_PT2_HSP (1 << 22)
52
39#define GX_FP_PM 0x410 53#define GX_FP_PM 0x410
40# define GX_FP_PM_P 0x01000000 54# define GX_FP_PM_P 0x01000000
41 55
56#define GX_FP_DFC 0x418
57
42/* Geode GX clock control MSRs */ 58/* Geode GX clock control MSRs */
43 59
44#define MSR_GLCP_SYS_RSTPLL 0x4c000014 60#define MSR_GLCP_SYS_RSTPLL 0x4c000014