Richard Purdie | 50a5de4 | 2005-09-13 01:25:30 -0700 | [diff] [blame] | 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); |
Richard Purdie | 9fc7896 | 2005-09-13 01:25:32 -0700 | [diff] [blame] | 13 | |
| 14 | /* |
| 15 | * SharpSL Touchscreen Driver |
| 16 | */ |
| 17 | |
| 18 | struct corgits_machinfo { |
Richard Purdie | ca4d6cf | 2008-01-02 01:09:54 +0100 | [diff] [blame] | 19 | unsigned long (*get_hsync_invperiod)(void); |
Richard Purdie | 9fc7896 | 2005-09-13 01:25:32 -0700 | [diff] [blame] | 20 | void (*put_hsync)(void); |
| 21 | void (*wait_hsync)(void); |
| 22 | }; |
Richard Purdie | 1351e6e | 2005-09-13 01:25:33 -0700 | [diff] [blame] | 23 | |
Richard Purdie | 078abcf | 2005-11-10 17:42:29 +0000 | [diff] [blame] | 24 | |
Richard Purdie | 1351e6e | 2005-09-13 01:25:33 -0700 | [diff] [blame] | 25 | /* |
| 26 | * SharpSL Backlight |
| 27 | */ |
Richard Purdie | 078abcf | 2005-11-10 17:42:29 +0000 | [diff] [blame] | 28 | extern void corgibl_limit_intensity(int limit); |
Richard Purdie | 1351e6e | 2005-09-13 01:25:33 -0700 | [diff] [blame] | 29 | |
Richard Purdie | 078abcf | 2005-11-10 17:42:29 +0000 | [diff] [blame] | 30 | |
| 31 | /* |
| 32 | * SharpSL Battery/PM Driver |
| 33 | */ |
| 34 | extern void sharpsl_battery_kick(void); |