summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/sentelic.h
diff options
context:
space:
mode:
authorTai-hwa Liang <avatar@sentelic.com>2012-05-07 17:45:58 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-05-11 05:39:04 +0200
commitd3132c5c95507d570987712d037d184c637171bb (patch)
treed670f31f02b10a0f3bc0194c3937d8cf89694940 /drivers/input/mouse/sentelic.h
parentInput: tl6040-vibra - Device Tree support (diff)
downloadlinux-d3132c5c95507d570987712d037d184c637171bb.tar.xz
linux-d3132c5c95507d570987712d037d184c637171bb.zip
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 334de19e5ddb..aa697ece405b 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 */