Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[deliverable/linux.git] / arch / arm / mach-integrator / cm.h
CommitLineData
1da177e4 1/*
fb61f862 2 * access the core module control register.
1da177e4 3 */
fb61f862 4u32 cm_get(void);
1da177e4
LT
5void cm_control(u32, u32);
6
bb4dbefe
LW
7struct device_node;
8void cm_init(void);
9void cm_clear_irqs(void);
b7ea032e 10
1da177e4
LT
11#define CM_CTRL_LED (1 << 0)
12#define CM_CTRL_nMBDET (1 << 1)
13#define CM_CTRL_REMAP (1 << 2)
1da177e4
LT
14
15/*
16 * Integrator/AP,PP2 specific
17 */
18#define CM_CTRL_HIGHVECTORS (1 << 4)
19#define CM_CTRL_BIGENDIAN (1 << 5)
20#define CM_CTRL_FASTBUS (1 << 6)
21#define CM_CTRL_SYNC (1 << 7)
22
23/*
24 * ARM926/946/966 Integrator/CP specific
25 */
26#define CM_CTRL_LCDBIASEN (1 << 8)
27#define CM_CTRL_LCDBIASUP (1 << 9)
28#define CM_CTRL_LCDBIASDN (1 << 10)
29#define CM_CTRL_LCDMUXSEL_MASK (7 << 11)
30#define CM_CTRL_LCDMUXSEL_GENLCD (1 << 11)
e6b9c1f8 31#define CM_CTRL_LCDMUXSEL_VGA565_TFT555 (2 << 11)
4774e226 32#define CM_CTRL_LCDMUXSEL_SHARPLCD (3 << 11)
e6b9c1f8 33#define CM_CTRL_LCDMUXSEL_VGA555_TFT555 (4 << 11)
1da177e4
LT
34#define CM_CTRL_LCDEN0 (1 << 14)
35#define CM_CTRL_LCDEN1 (1 << 15)
36#define CM_CTRL_STATIC1 (1 << 16)
37#define CM_CTRL_STATIC2 (1 << 17)
38#define CM_CTRL_STATIC (1 << 18)
39#define CM_CTRL_n24BITEN (1 << 19)
40#define CM_CTRL_EBIWP (1 << 20)
This page took 0.798242 seconds and 5 git commands to generate.