fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-arm / arch-pxa / sharpsl.h
1 /*
2  * SharpSL SSP Driver
3  */
4
5 unsigned long corgi_ssp_ads7846_putget(unsigned long);
6 unsigned long corgi_ssp_ads7846_get(void);
7 void corgi_ssp_ads7846_put(unsigned long data);
8 void corgi_ssp_ads7846_lock(void);
9 void corgi_ssp_ads7846_unlock(void);
10 void corgi_ssp_lcdtg_send (unsigned char adrs, unsigned char data);
11 void corgi_ssp_blduty_set(int duty);
12 int corgi_ssp_max1111_get(unsigned long data);
13
14 /*
15  * SharpSL Touchscreen Driver
16  */
17
18 struct corgits_machinfo {
19         unsigned long (*get_hsync_len)(void);
20         void (*put_hsync)(void);
21         void (*wait_hsync)(void);
22 };
23
24
25 /*
26  * SharpSL Backlight
27  */
28 struct corgibl_machinfo {
29         int max_intensity;
30         int default_intensity;
31         int limit_mask;
32         void (*set_bl_intensity)(int intensity);
33 };
34 extern void corgibl_limit_intensity(int limit);
35
36
37 /*
38  * SharpSL Battery/PM Driver
39  */
40 extern void sharpsl_battery_kick(void);