aboutsummaryrefslogtreecommitdiff
path: root/vgasrc/geodevga.h
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2012-10-01 14:02:44 +0200
committerKevin O'Connor <kevin@koconnor.net>2012-10-07 22:04:27 -0400
commit5506376f8b8e0a50109c17c90b1b68242a1288c6 (patch)
tree4680742d53d7a3e681b0a6202505b17f58392802 /vgasrc/geodevga.h
parent119ece9b8212790f4c99e60c38e5d4a96841f35e (diff)
downloadseabios-hppa-5506376f8b8e0a50109c17c90b1b68242a1288c6.zip
seabios-hppa-5506376f8b8e0a50109c17c90b1b68242a1288c6.tar.gz
seabios-hppa-5506376f8b8e0a50109c17c90b1b68242a1288c6.tar.bz2
geodevga: Add some basic flat panel defines
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'vgasrc/geodevga.h')
-rw-r--r--vgasrc/geodevga.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vgasrc/geodevga.h b/vgasrc/geodevga.h
index 0fc8cfe..8fee0a8 100644
--- a/vgasrc/geodevga.h
+++ b/vgasrc/geodevga.h
@@ -47,6 +47,11 @@
#define VP_DCFG 0x8
#define VP_MISC 0x50
+/* FP REG OFFSET */
+#define FP_PT1 0x00
+#define FP_PT2 0x08
+#define FP_PM 0x10
+
/* DC bits */
#define DC_DISPLAY_CFG_VGAE (1 << 7)
@@ -61,6 +66,10 @@
#define VP_DCFG_CRT_SKEW (1 << 16)
#define VP_DCFG_BYP_BOTH (1 << 0)
+/* FP bits */
+#define FP_PM_P (1 << 24) /* panel power ctl */
+#define FP_PT2_SCRC (1 << 27) /* panel shift clock retrace activity ctl */
+
/* Mask */
#define DC_CFG_MSK 0xf000a6