blob: 94cb4982af82e473d7a6985a53c4e8c9dcabd2f2 [file] [log] [blame]
Richard Purdie50a5de42005-09-13 01:25:30 -07001/*
2 * SharpSL SSP Driver
3 */
4
5unsigned long corgi_ssp_ads7846_putget(unsigned long);
6unsigned long corgi_ssp_ads7846_get(void);
7void corgi_ssp_ads7846_put(unsigned long data);
8void corgi_ssp_ads7846_lock(void);
9void corgi_ssp_ads7846_unlock(void);
10void corgi_ssp_lcdtg_send (unsigned char adrs, unsigned char data);
11void corgi_ssp_blduty_set(int duty);
12int corgi_ssp_max1111_get(unsigned long data);
Richard Purdie9fc78962005-09-13 01:25:32 -070013
14/*
15 * SharpSL Touchscreen Driver
16 */
17
18struct corgits_machinfo {
19 unsigned long (*get_hsync_len)(void);
20 void (*put_hsync)(void);
21 void (*wait_hsync)(void);
22};
Richard Purdie1351e6e2005-09-13 01:25:33 -070023
Richard Purdie078abcf2005-11-10 17:42:29 +000024
Richard Purdie1351e6e2005-09-13 01:25:33 -070025/*
26 * SharpSL Backlight
27 */
Richard Purdie1351e6e2005-09-13 01:25:33 -070028struct corgibl_machinfo {
29 int max_intensity;
Richard Purdie2c0f5fb2006-03-31 02:31:51 -080030 int default_intensity;
31 int limit_mask;
Richard Purdie1351e6e2005-09-13 01:25:33 -070032 void (*set_bl_intensity)(int intensity);
33};
Richard Purdie078abcf2005-11-10 17:42:29 +000034extern void corgibl_limit_intensity(int limit);
Richard Purdie1351e6e2005-09-13 01:25:33 -070035
Richard Purdie078abcf2005-11-10 17:42:29 +000036
37/*
38 * SharpSL Battery/PM Driver
39 */
40extern void sharpsl_battery_kick(void);