]> git.neil.brown.name Git - history.git/commitdiff
[ARM] Add missing IM-PD1 header file.
authorRussell King <rmk@flint.arm.linux.org.uk>
Tue, 19 Aug 2003 21:27:29 +0000 (22:27 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Tue, 19 Aug 2003 21:27:29 +0000 (22:27 +0100)
include/asm-arm/arch-integrator/impd1.h [new file with mode: 0644]

diff --git a/include/asm-arm/arch-integrator/impd1.h b/include/asm-arm/arch-integrator/impd1.h
new file mode 100644 (file)
index 0000000..178fbac
--- /dev/null
@@ -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);
+