summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-pxa/sharpsl.h
blob: 94cb4982af82e473d7a6985a53c4e8c9dcabd2f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * SharpSL SSP Driver
 */

unsigned long corgi_ssp_ads7846_putget(unsigned long);
unsigned long corgi_ssp_ads7846_get(void);
void corgi_ssp_ads7846_put(unsigned long data);
void corgi_ssp_ads7846_lock(void);
void corgi_ssp_ads7846_unlock(void);
void corgi_ssp_lcdtg_send (unsigned char adrs, unsigned char data);
void corgi_ssp_blduty_set(int duty);
int corgi_ssp_max1111_get(unsigned long data);

/*
 * SharpSL Touchscreen Driver
 */

struct corgits_machinfo {
	unsigned long (*get_hsync_len)(void);
	void (*put_hsync)(void);
	void (*wait_hsync)(void);
};


/*
 * SharpSL Backlight
 */
struct corgibl_machinfo {
	int max_intensity;
	int default_intensity;
	int limit_mask;
	void (*set_bl_intensity)(int intensity);
};
extern void corgibl_limit_intensity(int limit);


/*
 * SharpSL Battery/PM Driver
 */
extern void sharpsl_battery_kick(void);
OpenPOWER on IntegriCloud