Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
[sfrench/cifs-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         void (*set_bl_intensity)(int intensity);
31 };
32 extern void corgibl_limit_intensity(int limit);
33
34
35 /*
36  * SharpSL Battery/PM Driver
37  */
38 extern void sharpsl_battery_kick(void);