diff options
| author | Xiaohui Tao <xtao@nvidia.com> | 2013-09-18 17:16:15 -0400 |
|---|---|---|
| committer | David Pu <dpu@nvidia.com> | 2017-07-27 19:09:19 -0400 |
| commit | 2cbf183d2aa74f4c451a3f864fb7010f9c291b28 (patch) | |
| tree | 70db532b8242f7b90f4092629a4c45a76336c318 /include/linux/spi | |
| parent | 20e98814e2f3d4e31a27d1ee2a821473216f1402 (diff) | |
input: touch: raydium: v60.6 code drop
a. Checkpatch done (Bug ID 1368132)
b. Fix 3.3V control issue (Bug ID 1354253, 1348628) as the attached pictures. The 3.3V is turned off in LP0 mode.
c. Refine suspend/resume timing issue (Bug ID 1359713, 1288233, 1283537)
Bug 1368132
Bug 1354253
Bug 1348628
Bug 1359713
Bug 1288233
Bug 1283537
Change-Id: I639d311b51e4bd7feffcc904caa34370ab52e505
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/276340
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'include/linux/spi')
| -rw-r--r-- | include/linux/spi/rm31080a_ctrl.h | 2 | ||||
| -rw-r--r-- | include/linux/spi/rm31080a_ts.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/spi/rm31080a_ctrl.h b/include/linux/spi/rm31080a_ctrl.h index 93df0bd74..ae8892215 100644 --- a/include/linux/spi/rm31080a_ctrl.h +++ b/include/linux/spi/rm31080a_ctrl.h | |||
| @@ -44,7 +44,7 @@ int rm_tch_ctrl_scan_start(void); | |||
| 44 | void rm_tch_ctrl_wait_for_scan_finish(void); | 44 | void rm_tch_ctrl_wait_for_scan_finish(void); |
| 45 | 45 | ||
| 46 | void rm_tch_ctrl_init(void); | 46 | void rm_tch_ctrl_init(void); |
| 47 | unsigned char rm_tch_ctrl_get_idle_mode (unsigned char *p); | 47 | unsigned char rm_tch_ctrl_get_idle_mode(unsigned char *p); |
| 48 | void rm_tch_ctrl_set_parameter(void *arg); | 48 | void rm_tch_ctrl_set_parameter(void *arg); |
| 49 | void rm_set_repeat_times(u8 u8Times); | 49 | void rm_set_repeat_times(u8 u8Times); |
| 50 | #endif /*_RM31080A_CTRL_H_*/ | 50 | #endif /*_RM31080A_CTRL_H_*/ |
diff --git a/include/linux/spi/rm31080a_ts.h b/include/linux/spi/rm31080a_ts.h index 4cac12937..607594354 100644 --- a/include/linux/spi/rm31080a_ts.h +++ b/include/linux/spi/rm31080a_ts.h | |||
| @@ -160,13 +160,13 @@ | |||
| 160 | * NOTE: Need to sync with HAL | 160 | * NOTE: Need to sync with HAL |
| 161 | ***************************************************************************/ | 161 | ***************************************************************************/ |
| 162 | 162 | ||
| 163 | typedef struct { | 163 | struct rm_touch_event { |
| 164 | unsigned char ucTouchCount; | 164 | unsigned char ucTouchCount; |
| 165 | unsigned char ucID[RM_TS_MAX_POINTS]; | 165 | unsigned char ucID[RM_TS_MAX_POINTS]; |
| 166 | unsigned short usX[RM_TS_MAX_POINTS]; | 166 | unsigned short usX[RM_TS_MAX_POINTS]; |
| 167 | unsigned short usY[RM_TS_MAX_POINTS]; | 167 | unsigned short usY[RM_TS_MAX_POINTS]; |
| 168 | unsigned short usZ[RM_TS_MAX_POINTS]; | 168 | unsigned short usZ[RM_TS_MAX_POINTS]; |
| 169 | } rm_touch_event; | 169 | }; |
| 170 | 170 | ||
| 171 | struct rm_spi_ts_platform_data { | 171 | struct rm_spi_ts_platform_data { |
| 172 | int gpio_reset; | 172 | int gpio_reset; |
