Update v6.1 patches

Changes:
 - Big IPTS/ITHC update:
   - Update IPTS driver to its latest version. This switches the
     interface from a custom device interface to hidraw.
   - Include ITHC driver to support touchscreen and pen on newer
     generation devices.

   Note: Both require an updated IPTSd version.

 - Rebase onto 6.1.9

Links:
 - kernel: db042d7339
 - ipts: 8abe26863a
 - ithc: 55803a23ac
This commit is contained in:
Maximilian Luz 2023-02-01 18:41:44 +01:00
parent 51f8777da5
commit a33c303ba5
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
13 changed files with 4319 additions and 1500 deletions

View file

@ -25,12 +25,13 @@ CONFIG_CHARGER_SURFACE=m
CONFIG_SURFACE_HOTPLUG=m
#
# IPTS touchscreen
# IPTS and ITHC touchscreen
#
# This only enables the user interface for IPTS data.
# This only enables the user interface for IPTS/ITHC data.
# For the touchscreen to work, you need to install iptsd.
#
CONFIG_MISC_IPTS=m
CONFIG_HID_IPTS=m
CONFIG_HID_ITHC=m
#
# Cameras: IPU3

View file

@ -1,4 +1,4 @@
From e209bd87d08869950b9fbccb1b1a52ae46cca2ee Mon Sep 17 00:00:00 2001
From 23aa5e79237a32749fae59f6c57b72b91b3f7d8c Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Sun, 18 Oct 2020 16:42:44 +0900
Subject: [PATCH] (surface3-oemb) add DMI matches for Surface 3 with broken DMI

View file

@ -1,4 +1,4 @@
From 807126f1fee9adc792b657e503e2377c9474368f Mon Sep 17 00:00:00 2001
From 433c150583548550a4f7d70555327ad4841439f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 3 Nov 2020 13:28:04 +0100
Subject: [PATCH] mwifiex: Add quirk resetting the PCI bridge on MS Surface
@ -165,7 +165,7 @@ index d6ff964aec5b..5d30ae39d65e 100644
--
2.39.1
From f004292d23fe1371e1ce2c3e7782cc661164195c Mon Sep 17 00:00:00 2001
From 9213544f2bdb8da9f418603c0dec038b5f60827e Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Sun, 4 Oct 2020 00:11:49 +0900
Subject: [PATCH] mwifiex: pcie: disable bridge_d3 for Surface gen4+
@ -320,7 +320,7 @@ index 5d30ae39d65e..c14eb56eb911 100644
--
2.39.1
From 86af49b1d4ec2d7faae0a6f8798d11aa90215481 Mon Sep 17 00:00:00 2001
From 432e8b738082459dff82013f75145c9aa31ce4c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Thu, 25 Mar 2021 11:33:02 +0100
Subject: [PATCH] Bluetooth: btusb: Lower passive lescan interval on Marvell

View file

@ -1,4 +1,4 @@
From f22fbfa5abbca831ccbf4217adda1b8d50ee3954 Mon Sep 17 00:00:00 2001
From 06a33cf28d8fcd107f431bb6f6574cf7500156ff Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 27 Feb 2021 00:45:52 +0100
Subject: [PATCH] ath10k: Add module parameters to override board files

File diff suppressed because it is too large Load diff

1433
patches/6.1/0005-ithc.patch Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
From d290ffa5b652cbbf0f9d89fa284d5542286a285e Mon Sep 17 00:00:00 2001
From 5c5fa1a9414a4b1ae16bc7af5c0940b53257237e Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:20 +0100
Subject: [PATCH] platform/surface: aggregator: Improve documentation and
@ -289,7 +289,7 @@ index 45501b6e54e8..5c4ae1a26183 100644
--
2.39.1
From 9200b29dfce5ec28dba74373a4038c63b6e6feac Mon Sep 17 00:00:00 2001
From 13cf1fcdfafe787ff673f96e3fa8ce196c5c466e Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:21 +0100
Subject: [PATCH] platform/surface: aggregator: Add target and source IDs to
@ -486,7 +486,7 @@ index 2a2c17771d01..55cc61bba1da 100644
--
2.39.1
From 9279c3f3d6b2ae3efc9bf350837864df421b3c82 Mon Sep 17 00:00:00 2001
From 7558c159d840b408065804b66d740ff52fd3825c Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:22 +0100
Subject: [PATCH] platform/surface: aggregator_hub: Use target-ID enum instead
@ -529,7 +529,7 @@ index 43061514be38..62f27cdb6ca8 100644
--
2.39.1
From 3e63472ff80d775dc2bd204125371436f99c6b13 Mon Sep 17 00:00:00 2001
From b57521c09754e523fff0b1fce8a351d061380377 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:23 +0100
Subject: [PATCH] platform/surface: aggregator_tabletsw: Use target-ID enum
@ -581,7 +581,7 @@ index 27d95a6a7851..bd8cd453c393 100644
--
2.39.1
From 5e27e9534629b3867f6512b1d49f7d6622f538e5 Mon Sep 17 00:00:00 2001
From ac38b3ca24a7a17ec55fc364c992c06cdad8011c Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:24 +0100
Subject: [PATCH] platform/surface: dtx: Use target-ID enum instead of
@ -679,7 +679,7 @@ index ed36944467f9..0de76a784a35 100644
--
2.39.1
From ecf46d8a50f1ae2e66f1ae6951a9b28d73abca4e Mon Sep 17 00:00:00 2001
From a3658f509048591fcce462c4fa7a69030f5f2a2f Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:26 +0100
Subject: [PATCH] platform/surface: aggregator: Enforce use of target-ID enum
@ -915,7 +915,7 @@ index 46c45d1b6368..4da20b7a0ee5 100644
--
2.39.1
From 780e33c35efd2ae18ddeacf33dc4ed60f1d0975a Mon Sep 17 00:00:00 2001
From ce70c31c9612629949d933d5ba4086309a7b940f Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:27 +0100
Subject: [PATCH] platform/surface: aggregator_registry: Fix target-ID of
@ -970,7 +970,7 @@ index 023f126121d7..296f72d52e6a 100644
--
2.39.1
From 111516425f2a2cd0eef9265cfb70de21e97e7887 Mon Sep 17 00:00:00 2001
From d48e58e62f0cf34197267f1905b7f98259ca5a6e Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 20 Dec 2022 18:56:08 +0100
Subject: [PATCH] platform/surface: aggregator: Rename top-level request
@ -1517,7 +1517,7 @@ index 4da20b7a0ee5..1545e5567b15 100644
--
2.39.1
From 4f6ea2783dac3c33d2b20d5d640a37d446a78f3e Mon Sep 17 00:00:00 2001
From 60580e724335386ff17b69a9aaf4ef33866ce04f Mon Sep 17 00:00:00 2001
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Wed, 18 Jan 2023 11:38:23 +0200
Subject: [PATCH] platform/surface: Switch to use acpi_evaluate_dsm_typed()

View file

@ -1,4 +1,4 @@
From 530b9f4a9877371ee7979b6c7e5736f07a88dbc5 Mon Sep 17 00:00:00 2001
From 38dfeaed0a26f4fffa70427d5293df0d9a98df83 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 25 Jul 2020 17:19:53 +0200
Subject: [PATCH] i2c: acpi: Implement RawBytes read access
@ -110,7 +110,7 @@ index 4dd777cc0c89..b2338618163a 100644
--
2.39.1
From 289d008855c4a025e3a38a79f540417421b2b4fc Mon Sep 17 00:00:00 2001
From e24522a4e868a4c66f428692b49397e76e826936 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 13 Feb 2021 16:41:18 +0100
Subject: [PATCH] platform/surface: Add driver for Surface Book 1 dGPU switch

View file

@ -1,4 +1,4 @@
From 6c110e9561690e917329edf70cfb3cbdb821061b Mon Sep 17 00:00:00 2001
From befa0b86802aa90fcc2110ce98e15541aba3ecd0 Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
Date: Tue, 5 Oct 2021 00:05:09 +1100
Subject: [PATCH] Input: soc_button_array - support AMD variant Surface devices
@ -75,7 +75,7 @@ index 09489380afda..0f02411a60f1 100644
--
2.39.1
From 289c3004aa7582e0c4041fb12d433b277e0955ae Mon Sep 17 00:00:00 2001
From 27cc4fc20daad7b4eed075f4de363c9e0b9e8b7b Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
Date: Tue, 5 Oct 2021 00:22:57 +1100
Subject: [PATCH] platform/surface: surfacepro3_button: don't load on amd

View file

@ -1,4 +1,4 @@
From 0fea1fb65ab4117880dc921c3987c69b73d2e3bb Mon Sep 17 00:00:00 2001
From 508af47129c868010d1b5508be0aa98bae95ce41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Thu, 5 Nov 2020 13:09:45 +0100
Subject: [PATCH] hid/multitouch: Turn off Type Cover keyboard backlight when
@ -231,7 +231,7 @@ index 372cbdd223e0..fe849df6a948 100644
--
2.39.1
From b9590f3c749aa5b5ef0af36a03d653cc0a3493c4 Mon Sep 17 00:00:00 2001
From be35cf4ec5d2a0bd1a11c4539f38bae8e8bcd0da Mon Sep 17 00:00:00 2001
From: PJungkamp <p.jungkamp@gmail.com>
Date: Fri, 25 Feb 2022 12:04:25 +0100
Subject: [PATCH] hid/multitouch: Add support for surface pro type cover tablet

View file

@ -1,4 +1,4 @@
From bab23929e82b78566d2fdac13616155f8fb42538 Mon Sep 17 00:00:00 2001
From 64636abdc42f29ed3094d75fd8089f57dbae84df Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:56:57 +0200
Subject: [PATCH] ACPI: delay enumeration of devices with a _DEP pointing to an
@ -74,7 +74,7 @@ index dbfa58e799e2..ccbd3f8b523e 100644
--
2.39.1
From f4c96c247fb7d0c853d7ff996e673cfba4423891 Mon Sep 17 00:00:00 2001
From 0cafdc686d5a04558a617330b337fca92980cf74 Mon Sep 17 00:00:00 2001
From: zouxiaoh <xiaohong.zou@intel.com>
Date: Fri, 25 Jun 2021 08:52:59 +0800
Subject: [PATCH] iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs
@ -191,7 +191,7 @@ index 408c321b929a..6e58effbe12b 100644
--
2.39.1
From f89ff4f5168eadf316680bc1b392f8556e4e1576 Mon Sep 17 00:00:00 2001
From 9a06c70b9885d739c3764ffa59e67ec9cd2fc5fa Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 10 Oct 2021 20:57:02 +0200
Subject: [PATCH] platform/x86: int3472: Enable I2c daisy chain
@ -228,7 +228,7 @@ index 5b8d1a9620a5..6a0ff035cf20 100644
--
2.39.1
From af9dd99da0373d9002e94583832ecaf416e86016 Mon Sep 17 00:00:00 2001
From caffe75b60e8af020d64396acb89cdcd28dbd169 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 28 Oct 2021 21:55:16 +0100
Subject: [PATCH] media: i2c: Add driver for DW9719 VCM
@ -732,7 +732,7 @@ index 000000000000..180b04d2a6b3
--
2.39.1
From 9cda3dd05371ba1b2fec7ccf28784dea5f9851bb Mon Sep 17 00:00:00 2001
From 2d07ffa30cb8a59392ddd1ab3fb7eb3aa4b8e6b9 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 4 May 2022 23:21:45 +0100
Subject: [PATCH] media: ipu3-cio2: Move functionality from .complete() to
@ -847,7 +847,7 @@ index 390bd5ea3472..76339fb842bf 100644
--
2.39.1
From f0db2c63da4fd2cdbf63a19c16f8f7935518fcdf Mon Sep 17 00:00:00 2001
From 55a2a464abfbec441776437cd32022ffa83e3861 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 2 Jun 2022 22:15:56 +0100
Subject: [PATCH] media: ipu3-cio2: Re-add .complete() to ipu3-cio2
@ -890,7 +890,7 @@ index 76339fb842bf..eb7aa269ec2b 100644
--
2.39.1
From 4770fef6949ae8bebdce271ce33f0269ba4c13a1 Mon Sep 17 00:00:00 2001
From 097ca9da260a84635b794201337a531084338ebd Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 15 Jul 2022 23:48:00 +0200
Subject: [PATCH] drivers/media/i2c: Fix DW9719 dependencies

View file

@ -1,4 +1,4 @@
From 74c8d421521a5a1699b479cdcab3c58432b776dc Mon Sep 17 00:00:00 2001
From 956b57f8f337df7fd749cc2237be8f8175197927 Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
Date: Sat, 29 May 2021 17:47:38 +1000
Subject: [PATCH] ACPI: Add quirk for Surface Laptop 4 AMD missing irq 7
@ -65,7 +65,7 @@ index 907cc98b1938..0116d27b29ea 100644
--
2.39.1
From 0911f1d9e188e47e57819f667320cd865baef420 Mon Sep 17 00:00:00 2001
From 1dee97b90576853578e36fe5b55615f5428d7b6b Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 3 Jun 2021 14:04:26 +0200
Subject: [PATCH] ACPI: Add AMD 13" Surface Laptop 4 model to irq 7 override

View file

@ -1,4 +1,4 @@
From a5f2e7f9d7b7f6e831e229558f6fd39a6d82cf52 Mon Sep 17 00:00:00 2001
From 5e367b9e5bb01b82c19fe5de50aa5576f2daaf2a Mon Sep 17 00:00:00 2001
From: "Bart Groeneveld | GPX Solutions B.V" <bart@gpxbv.nl>
Date: Mon, 5 Dec 2022 16:08:46 +0100
Subject: [PATCH] acpi: allow usage of acpi_tad on HW-reduced platforms