mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 03:17:48 +00:00
1351e6e093
Separate out the Sharp Zaurus c7x0 series specific code from the Corgi backlight driver. Abstract model/machine specific functions to corgi_lcd.c via sharpsl.h This enables the driver to be used by the Zaurus cxx00 series. Signed-Off-by: Richard Purdie <rpurdie@rpsys.net> Cc: Vojtech Pavlik <vojtech@suse.cz> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
35 lines
637 B
C
35 lines
637 B
C
/*
|
|
* SharpSL SSP Driver
|
|
*/
|
|
|
|
struct corgissp_machinfo {
|
|
int port;
|
|
int cs_lcdcon;
|
|
int cs_ads7846;
|
|
int cs_max1111;
|
|
int clk_lcdcon;
|
|
int clk_ads7846;
|
|
int clk_max1111;
|
|
};
|
|
|
|
void corgi_ssp_set_machinfo(struct corgissp_machinfo *machinfo);
|
|
|
|
/*
|
|
* SharpSL Backlight
|
|
*/
|
|
|
|
void corgi_bl_set_intensity(int intensity);
|
|
void spitz_bl_set_intensity(int intensity);
|
|
void akita_bl_set_intensity(int intensity);
|
|
|
|
/*
|
|
* SharpSL Touchscreen Driver
|
|
*/
|
|
|
|
unsigned long corgi_get_hsync_len(void);
|
|
unsigned long spitz_get_hsync_len(void);
|
|
void corgi_put_hsync(void);
|
|
void spitz_put_hsync(void);
|
|
void corgi_wait_hsync(void);
|
|
void spitz_wait_hsync(void);
|