diff options
| author | Alex Chen <alchen@nvidia.com> | 2014-02-09 23:35:51 -0500 |
|---|---|---|
| committer | David Pu <dpu@nvidia.com> | 2017-07-27 19:09:19 -0400 |
| commit | 47cfd27ee80c5db2b20aae4e664f3cdb53746f91 (patch) | |
| tree | 77620c1036cf6e507d6d2d9a26c797068fb1a74b /include/linux | |
| parent | b022fb8b09d4e8719b6d345fc4de3dd6d009712a (diff) | |
input: touch: Raydium: v61.9 code drop
[1] fix resume timing issue
[2] Touch/Stylus performance improvement
[3] Add new parameter file for TP 15.6" project (CES demo purpose)
[4] Refine return value definition in kernel driver
[5] Separate the flag for identifying queue flushed in kernel driver
[6] fix resume issue on v61.8
bug 1450642
bug 1447702
bug 1443387
bug 1438889
bug 1429239
bug 1372937
Change-Id: Ie709bc89c88f23be6839f03c4c8b8db556c2d477
Signed-off-by: Alex Chen <alchen@nvidia.com>
Reviewed-on: http://git-master/r/365297
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/spi/rm31080a_ts.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/linux/spi/rm31080a_ts.h b/include/linux/spi/rm31080a_ts.h index b780d3145..7ab9834bd 100644 --- a/include/linux/spi/rm31080a_ts.h +++ b/include/linux/spi/rm31080a_ts.h | |||
| @@ -20,10 +20,12 @@ | |||
| 20 | * DO NOT MODIFY | 20 | * DO NOT MODIFY |
| 21 | * NOTE: Need to sync with HAL | 21 | * NOTE: Need to sync with HAL |
| 22 | ***************************************************************************/ | 22 | ***************************************************************************/ |
| 23 | #define OK 1 | 23 | #define RETURN_OK 0 |
| 24 | #define FAIL 0 | 24 | #define RETURN_FAIL 1 |
| 25 | #define DEBUG_DRIVER 0x01 | 25 | #define TRUE 1 |
| 26 | #define DEBUG_DRIVER_REGISTER 0x02 | 26 | #define FALSE 0 |
| 27 | #define DEBUG_DRIVER 0x01 | ||
| 28 | #define DEBUG_DRIVER_REGISTER 0x02 | ||
| 27 | 29 | ||
| 28 | #define RM_IOCTL_REPORT_POINT 0x1001 | 30 | #define RM_IOCTL_REPORT_POINT 0x1001 |
| 29 | #define RM_IOCTL_SET_HAL_PID 0x1002 | 31 | #define RM_IOCTL_SET_HAL_PID 0x1002 |
| @@ -34,6 +36,7 @@ | |||
| 34 | #define RM_IOCTL_READ_RAW_DATA 0x1007 | 36 | #define RM_IOCTL_READ_RAW_DATA 0x1007 |
| 35 | #define RM_IOCTL_SET_PARAMETER 0x100A | 37 | #define RM_IOCTL_SET_PARAMETER 0x100A |
| 36 | #define RM_IOCTL_SET_VARIABLE 0x1010 | 38 | #define RM_IOCTL_SET_VARIABLE 0x1010 |
| 39 | |||
| 37 | #define RM_VARIABLE_SELF_TEST_RESULT 0x01 | 40 | #define RM_VARIABLE_SELF_TEST_RESULT 0x01 |
| 38 | #define RM_VARIABLE_SCRIBER_FLAG 0x02 | 41 | #define RM_VARIABLE_SCRIBER_FLAG 0x02 |
| 39 | #define RM_VARIABLE_AUTOSCAN_FLAG 0x03 | 42 | #define RM_VARIABLE_AUTOSCAN_FLAG 0x03 |
| @@ -54,6 +57,7 @@ | |||
| 54 | #define RM_IOCTL_GET_SACN_MODE 0x1012 | 57 | #define RM_IOCTL_GET_SACN_MODE 0x1012 |
| 55 | #define RM_IOCTL_SET_KRL_TBL 0x1013 | 58 | #define RM_IOCTL_SET_KRL_TBL 0x1013 |
| 56 | #define RM_IOCTL_WATCH_DOG 0x1014 | 59 | #define RM_IOCTL_WATCH_DOG 0x1014 |
| 60 | #define RM_IOCTL_SET_BASELINE 0x1015 | ||
| 57 | 61 | ||
| 58 | #define RM_INPUT_RESOLUTION_X 4096 | 62 | #define RM_INPUT_RESOLUTION_X 4096 |
| 59 | #define RM_INPUT_RESOLUTION_Y 4096 | 63 | #define RM_INPUT_RESOLUTION_Y 4096 |
| @@ -120,6 +124,7 @@ | |||
| 120 | #define KRL_INDEX_RM_SETREPTIME 11 | 124 | #define KRL_INDEX_RM_SETREPTIME 11 |
| 121 | #define KRL_INDEX_RM_NSPARA 12 | 125 | #define KRL_INDEX_RM_NSPARA 12 |
| 122 | #define KRL_INDEX_RM_SLOWSCANB 13 | 126 | #define KRL_INDEX_RM_SLOWSCANB 13 |
| 127 | #define KRL_INDEX_RM_WRITE_IMG 14 | ||
| 123 | 128 | ||
| 124 | #define KRL_SIZE_SET_IDLE 128 | 129 | #define KRL_SIZE_SET_IDLE 128 |
| 125 | #define KRL_SIZE_PAUSE_AUTO 64 | 130 | #define KRL_SIZE_PAUSE_AUTO 64 |
| @@ -135,6 +140,7 @@ | |||
| 135 | #define KRL_SIZE_RM_WAITSCANOK 32 | 140 | #define KRL_SIZE_RM_WAITSCANOK 32 |
| 136 | #define KRL_SIZE_RM_SETREPTIME 32 | 141 | #define KRL_SIZE_RM_SETREPTIME 32 |
| 137 | #define KRL_SIZE_RM_NS_PARA 64 | 142 | #define KRL_SIZE_RM_NS_PARA 64 |
| 143 | #define KRL_SIZE_RM_WRITE_IMAGE 64 | ||
| 138 | 144 | ||
| 139 | #define KRL_TBL_FIELD_POS_LEN_H 0 | 145 | #define KRL_TBL_FIELD_POS_LEN_H 0 |
| 140 | #define KRL_TBL_FIELD_POS_LEN_L 1 | 146 | #define KRL_TBL_FIELD_POS_LEN_L 1 |
| @@ -184,6 +190,10 @@ | |||
| 184 | #define KRL_SUB_CMD_TIMER_QU 0x01 | 190 | #define KRL_SUB_CMD_TIMER_QU 0x01 |
| 185 | 191 | ||
| 186 | #define KRL_CMD_READ_IMG 0x60 | 192 | #define KRL_CMD_READ_IMG 0x60 |
| 193 | #define KRL_CMD_WRITE_IMG 0x61 | ||
| 194 | |||
| 195 | #define KRL_CMD_DUMMY 0xFF | ||
| 196 | |||
| 187 | 197 | ||
| 188 | /*************************************************************************** | 198 | /*************************************************************************** |
| 189 | * DO NOT MODIFY - Kernel Command Set | 199 | * DO NOT MODIFY - Kernel Command Set |
