blob: 3b1d4a72d4d1f08f43058e2a428939ba4b484cdd [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 {
Richard Purdieca4d6cf2008-01-02 01:09:54 +010019 unsigned long (*get_hsync_invperiod)(void);
Richard Purdie9fc78962005-09-13 01:25:32 -070020 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 Purdie078abcf2005-11-10 17:42:29 +000028extern void corgibl_limit_intensity(int limit);
Richard Purdie1351e6e2005-09-13 01:25:33 -070029
Richard Purdie078abcf2005-11-10 17:42:29 +000030
31/*
32 * SharpSL Battery/PM Driver
33 */
34extern void sharpsl_battery_kick(void);