ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-integrator / impd1.h
1 #define IMPD1_OSC1      0x00
2 #define IMPD1_OSC2      0x04
3 #define IMPD1_LOCK      0x08
4 #define IMPD1_LEDS      0x0c
5 #define IMPD1_INT       0x10
6 #define IMPD1_SW        0x14
7 #define IMPD1_CTRL      0x18
8
9 #define IMPD1_CTRL_DISP_LCD     (0 << 0)
10 #define IMPD1_CTRL_DISP_VGA     (1 << 0)
11 #define IMPD1_CTRL_DISP_LCD1    (2 << 0)
12 #define IMPD1_CTRL_DISP_ENABLE  (1 << 2)
13 #define IMPD1_CTRL_DISP_MASK    (7 << 0)
14
15 struct device;
16
17 void impd1_set_vco(struct device *dev, int vconr, unsigned long period);
18 void impd1_tweak_control(struct device *dev, u32 mask, u32 val);
19