summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorSudhakar Manapati <smanap@codeaurora.org>2015-03-09 11:37:14 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:57:52 -0700
commit3c6435a9f53d923e00ab4cfcd7e77b1c6ec0c072 (patch)
treeabc1670b57001704c8ea0756196a2a4fec9a130b /include/linux/input
parentd23166718c77b586fec522c00b403b95200c43d7 (diff)
input: synaptics_dsx: Read touchscreen config-id during probe
Add support for reading configuration ID from the touch controller during probe and print it. This is required to identify if touch controller is programmed with correct touch firmware or not. Change-Id: I155f0392ae67e5f9b184b9cef2a7bbb7666be30d Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org> Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
Diffstat (limited to 'include/linux/input')
-rwxr-xr-xinclude/linux/input/synaptics_dsx_v2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/input/synaptics_dsx_v2.h b/include/linux/input/synaptics_dsx_v2.h
index fe293f5b99c7..4395f32f57a9 100755
--- a/include/linux/input/synaptics_dsx_v2.h
+++ b/include/linux/input/synaptics_dsx_v2.h
@@ -5,6 +5,7 @@
*
* Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com>
* Copyright (C) 2012 Scott Lin <scott.lin@tw.synaptics.com>
+ * Copyright (c) 2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -96,6 +97,7 @@ struct synaptics_dsx_board_data {
u32 disp_miny;
u32 disp_maxx;
u32 disp_maxy;
+ u32 config_id;
bool disable_gpios;
bool detect_device;
const char *fw_name;