Go to the documentation of this file.
10 #define DCON_REG_MODE 1
12 #define MODE_PASSTHRU (1<<0)
13 #define MODE_SLEEP (1<<1)
14 #define MODE_SLEEP_AUTO (1<<2)
15 #define MODE_BL_ENABLE (1<<3)
16 #define MODE_BLANK (1<<4)
17 #define MODE_CSWIZZLE (1<<5)
18 #define MODE_COL_AA (1<<6)
19 #define MODE_MONO_LUMA (1<<7)
20 #define MODE_SCAN_INT (1<<8)
21 #define MODE_CLOCKDIV (1<<9)
22 #define MODE_DEBUG (1<<14)
23 #define MODE_SELFTEST (1<<15)
25 #define DCON_REG_HRES 2
26 #define DCON_REG_HTOTAL 3
27 #define DCON_REG_HSYNC_WIDTH 4
28 #define DCON_REG_VRES 5
29 #define DCON_REG_VTOTAL 6
30 #define DCON_REG_VSYNC_WIDTH 7
31 #define DCON_REG_TIMEOUT 8
32 #define DCON_REG_SCAN_INT 9
33 #define DCON_REG_BRIGHT 10
37 #define DCONSTAT_SCANINT 0
38 #define DCONSTAT_SCANINT_DCON 1
39 #define DCONSTAT_DISPLAYLOAD 2
40 #define DCONSTAT_MISSED 3
44 #define DCON_SOURCE_DCON 0
45 #define DCON_SOURCE_CPU 1
94 #ifdef CONFIG_FB_OLPC_DCON_1
98 #ifdef CONFIG_FB_OLPC_DCON_1_5