BACKPORT: HID: multitouch: add quirks to enable Lenovo X12 trackpoint

This applies the similar quirks used by previous generation devices
such as X1 tablet for X12 tablet, so that the trackpoint and buttons
can work.

This patch was applied and tested working on 5.17.1 .

Cc: stable@vger.kernel.org # 5.8+ given that it relies on 40d5bb87377a
Signed-off-by: Tao Jin <tao-j@outlook.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/CO6PR03MB6241CB276FCDC7F4CEDC34F6E1E29@CO6PR03MB6241.namprd03.prod.outlook.com
(cherry picked from commit 95cd2cdc88c755dcd0a58b951faeb77742c733a4)

Conflicts:
   drivers/hid/hid-multitouch.c
Context conflicts.

BUG=b:335414032
TEST=tmp

Change-Id: I7f1bb9e59a6f9ec13652bfa0e7409627e1d777a5
Signed-off-by: seobrien <seobrien@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5497933
Reviewed-by: Kenneth Albanowski <kenalba@google.com>
2 files changed