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 { |
| 19 | unsigned long (*get_hsync_len)(void); |
| 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 | 1351e6e | 2005-09-13 01:25:33 -0700 | [diff] [blame] | 28 | struct corgibl_machinfo { |
| 29 | int max_intensity; |
Richard Purdie | 2c0f5fb | 2006-03-31 02:31:51 -0800 | [diff] [blame] | 30 | int default_intensity; |
| 31 | int limit_mask; |
Richard Purdie | 1351e6e | 2005-09-13 01:25:33 -0700 | [diff] [blame] | 32 | void (*set_bl_intensity)(int intensity); |
| 33 | }; |
Richard Purdie | 078abcf | 2005-11-10 17:42:29 +0000 | [diff] [blame] | 34 | extern void corgibl_limit_intensity(int limit); |
Richard Purdie | 1351e6e | 2005-09-13 01:25:33 -0700 | [diff] [blame] | 35 | |
Richard Purdie | 078abcf | 2005-11-10 17:42:29 +0000 | [diff] [blame] | 36 | |
| 37 | /* |
| 38 | * SharpSL Battery/PM Driver |
| 39 | */ |
| 40 | extern void sharpsl_battery_kick(void); |