summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/sentelic.h
diff options
context:
space:
mode:
authorTai-hwa Liang <avatar@sentelic.com>2012-05-07 15:45:58 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-05-11 03:39:04 (GMT)
commitd3132c5c95507d570987712d037d184c637171bb (patch)
treed670f31f02b10a0f3bc0194c3937d8cf89694940 /drivers/input/mouse/sentelic.h
parent9ac7b1a36c729ce88eee7370da3c9992d7b40590 (diff)
downloadlinux-fsl-qoriq-d3132c5c95507d570987712d037d184c637171bb.tar.xz
Input: sentelic - report device's production serial number
Hardware since Cx supports an unique identity (used to identify OEM vendors and released lot number) which is very helpful for diagnostic purpose. This revision tries to make it as a part of driver boot up message. Whilst here, also bumping fsp_drv_ver to acknowledge recent addition of absolute coordinates output. Signed-off-by: Tai-hwa Liang <avatar@sentelic.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/sentelic.h')
-rw-r--r--drivers/input/mouse/sentelic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/input/mouse/sentelic.h b/drivers/input/mouse/sentelic.h
index 334de19..aa697ec 100644
--- a/drivers/input/mouse/sentelic.h
+++ b/drivers/input/mouse/sentelic.h
@@ -65,6 +65,14 @@
#define FSP_BIT_SWC1_GST_GRP1 BIT(6)
#define FSP_BIT_SWC1_BX_COMPAT BIT(7)
+#define FSP_PAGE_0B (0x0b)
+#define FSP_PAGE_82 (0x82)
+#define FSP_PAGE_DEFAULT FSP_PAGE_82
+
+#define FSP_REG_SN0 (0x40)
+#define FSP_REG_SN1 (0x41)
+#define FSP_REG_SN2 (0x42)
+
/* Finger-sensing Pad packet formating related definitions */
/* absolute packet type */