summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2003-08-19 22:27:29 +0100
committerRussell King <rmk@flint.arm.linux.org.uk>2003-08-19 22:27:29 +0100
commit4cf9be2cb219f90e8440262917443fe73df86c06 (patch)
tree5a82cdb2453e2a1e7a31d99be2da427d101a6140 /include/asm-arm
parent095be2b5cb33e2cd102ff571bcb4e19faebbed2a (diff)
[ARM] Add missing IM-PD1 header file.
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/arch-integrator/impd1.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/asm-arm/arch-integrator/impd1.h b/include/asm-arm/arch-integrator/impd1.h
new file mode 100644
index 000000000000..178fbac02795
--- /dev/null
+++ b/include/asm-arm/arch-integrator/impd1.h
@@ -0,0 +1,19 @@
+#define IMPD1_OSC1 0x00
+#define IMPD1_OSC2 0x04
+#define IMPD1_LOCK 0x08
+#define IMPD1_LEDS 0x0c
+#define IMPD1_INT 0x10
+#define IMPD1_SW 0x14
+#define IMPD1_CTRL 0x18
+
+#define IMPD1_CTRL_DISP_LCD (0 << 0)
+#define IMPD1_CTRL_DISP_VGA (1 << 0)
+#define IMPD1_CTRL_DISP_LCD1 (2 << 0)
+#define IMPD1_CTRL_DISP_ENABLE (1 << 2)
+#define IMPD1_CTRL_DISP_MASK (7 << 0)
+
+struct device;
+
+void impd1_set_vco(struct device *dev, int vconr, unsigned long period);
+void impd1_tweak_control(struct device *dev, u32 mask, u32 val);
+