input: tsc2007: Specify max/min coordinates from platform data
Provides flexibility to specify max/min x and y coordinates from platform data. Useful in cases where the TS controller reports coordinates at an offset from the predefined min/max values (0 and 4096 respectively). Change-Id: Ia93a8940078aa5960d1d900ac56b0b3354c82e40 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
This commit is contained in:
committed by
Stephen Boyd
parent
00883c63af
commit
b5a1434021
@@ -13,6 +13,10 @@ struct tsc2007_platform_data {
|
||||
int fuzzx; /* fuzz factor for X, Y and pressure axes */
|
||||
int fuzzy;
|
||||
int fuzzz;
|
||||
u16 min_x;
|
||||
u16 min_y;
|
||||
u16 max_x;
|
||||
u16 max_y;
|
||||
unsigned long irq_flags;
|
||||
bool invert_x;
|
||||
bool invert_y;
|
||||
|
||||
Reference in New Issue
Block a user