repo.or.cz
/
hh.org.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
hh.org updates
[hh.org.git]
/
arch
/
arm
/
mach-pxa
/
htcalpine
/
tsc2046_ts.h
blob
e4e371931ffc015d44317a4b0d51e41d043943ee
1
/*
2
* temporary TSC2046 touchscreen hack
3
*/
4
5
#ifndef _TSC2046_TS_H
6
#define _TSC2046_TS_H
7
8
struct
tsc2046_mach_info
{
9
int
port
;
10
int
clock
;
11
int
pwrbit_X
;
12
int
pwrbit_Y
;
13
int
irq
;
14
};
15
16
#define TSC2046_SAMPLE_X 0xd0
17
#define TSC2046_SAMPLE_Y 0x90
18
19
#endif