Commit | Line | Data |
---|---|---|
08dbd0f8 | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
4065d1e7 JMC |
2 | /* |
3 | * Header file for: | |
4 | * Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers. | |
5 | * For use with Cypress Txx3xx parts. | |
6 | * Supported parts include: | |
7 | * CY8CTST341 | |
8 | * CY8CTMA340 | |
9 | * | |
10 | * Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc. | |
11 | * Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org> | |
12 | * | |
4065d1e7 | 13 | * Contact Cypress Semiconductor at www.cypress.com (kev@cypress.com) |
4065d1e7 JMC |
14 | */ |
15 | #ifndef _CYTTSP_H_ | |
16 | #define _CYTTSP_H_ | |
17 | ||
18 | #define CY_SPI_NAME "cyttsp-spi" | |
19 | #define CY_I2C_NAME "cyttsp-i2c" | |
20 | /* Active Power state scanning/processing refresh interval */ | |
21 | #define CY_ACT_INTRVL_DFLT 0x00 /* ms */ | |
22 | /* touch timeout for the Active power */ | |
23 | #define CY_TCH_TMOUT_DFLT 0xFF /* ms */ | |
24 | /* Low Power state scanning/processing refresh interval */ | |
25 | #define CY_LP_INTRVL_DFLT 0x0A /* ms */ | |
26 | /* Active distance in pixels for a gesture to be reported */ | |
27 | #define CY_ACT_DIST_DFLT 0xF8 /* pixels */ | |
28 | ||
4065d1e7 | 29 | #endif /* _CYTTSP_H_ */ |