|
@@ -1,4 +1,4 @@
|
|
|
-From 503f194c91971b94a7a558e8108fa82b26c0d375 Mon Sep 17 00:00:00 2001
|
|
|
+From 3aab2704247a7ebd2acc49c6843aebddc67f3f20 Mon Sep 17 00:00:00 2001
|
|
|
From: Dorian Stoll <dorian.stoll@tmsp.io>
|
|
|
Date: Mon, 27 Jan 2020 21:16:20 +0100
|
|
|
Subject: [PATCH 7/7] ipts
|
|
@@ -29,7 +29,7 @@ Subject: [PATCH 7/7] ipts
|
|
|
.../input/touchscreen/ipts/protocol/payload.h | 47 ++++
|
|
|
.../touchscreen/ipts/protocol/responses.h | 62 ++++
|
|
|
.../touchscreen/ipts/protocol/singletouch.h | 17 ++
|
|
|
- .../input/touchscreen/ipts/protocol/stylus.h | 51 ++++
|
|
|
+ .../input/touchscreen/ipts/protocol/stylus.h | 52 ++++
|
|
|
drivers/input/touchscreen/ipts/receiver.c | 265 ++++++++++++++++++
|
|
|
drivers/input/touchscreen/ipts/receiver.h | 8 +
|
|
|
drivers/input/touchscreen/ipts/resources.c | 131 +++++++++
|
|
@@ -41,7 +41,7 @@ Subject: [PATCH 7/7] ipts
|
|
|
drivers/misc/mei/hw-me-regs.h | 2 +
|
|
|
drivers/misc/mei/pci-me.c | 2 +
|
|
|
include/uapi/linux/input.h | 1 +
|
|
|
- 37 files changed, 1734 insertions(+)
|
|
|
+ 37 files changed, 1735 insertions(+)
|
|
|
create mode 100644 drivers/input/touchscreen/ipts/Kconfig
|
|
|
create mode 100644 drivers/input/touchscreen/ipts/Makefile
|
|
|
create mode 100644 drivers/input/touchscreen/ipts/context.h
|
|
@@ -1215,10 +1215,10 @@ index 000000000000..bf9912ee2af4
|
|
|
+#endif /* _IPTS_PROTOCOL_SINGLETOUCH_H_ */
|
|
|
diff --git a/drivers/input/touchscreen/ipts/protocol/stylus.h b/drivers/input/touchscreen/ipts/protocol/stylus.h
|
|
|
new file mode 100644
|
|
|
-index 000000000000..1ae63c49bc07
|
|
|
+index 000000000000..950850b365df
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/input/touchscreen/ipts/protocol/stylus.h
|
|
|
-@@ -0,0 +1,51 @@
|
|
|
+@@ -0,0 +1,52 @@
|
|
|
+/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
+
|
|
|
+#ifndef _IPTS_PROTOCOL_STYLUS_H_
|
|
@@ -1252,11 +1252,12 @@ index 000000000000..1ae63c49bc07
|
|
|
+} __packed;
|
|
|
+
|
|
|
+struct ipts_stylus_report_data_no_tilt {
|
|
|
++ u8 reserved[4];
|
|
|
+ u8 mode;
|
|
|
+ u16 x;
|
|
|
+ u16 y;
|
|
|
+ u16 pressure;
|
|
|
-+ u8 reserved[5];
|
|
|
++ u8 reserved2;
|
|
|
+} __packed;
|
|
|
+
|
|
|
+#define IPTS_STYLUS_REPORT_MODE_PROX BIT(0)
|
|
@@ -2069,5 +2070,5 @@ index 9a61c28ed3ae..47fc20975245 100644
|
|
|
/*
|
|
|
* MT_TOOL types
|
|
|
--
|
|
|
-2.25.1
|
|
|
+2.26.0
|
|
|
|