summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/mach-integrator/impd1.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/mach-integrator/impd1.h')
-rw-r--r--kernel/arch/arm/mach-integrator/impd1.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/arch/arm/mach-integrator/impd1.h b/kernel/arch/arm/mach-integrator/impd1.h
new file mode 100644
index 000000000..76de4dc9b
--- /dev/null
+++ b/kernel/arch/arm/mach-integrator/impd1.h
@@ -0,0 +1,14 @@
+#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_tweak_control(struct device *dev, u32 mask, u32 val);