From 73f883d7535351c611086913d5113b29a6710687 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 26 Aug 2022 21:42:46 +0200 Subject: [PATCH] Update v5.19 patches Changes: - Rebase onto v5.19.4 Links: - kernel: https://github.com/linux-surface/kernel/commit/8e33cd037d4a68a5feabf796ea0b61e4ec018eeb --- patches/5.19/0001-surface3-oemb.patch | 2 +- patches/5.19/0002-mwifiex.patch | 12 ++--- patches/5.19/0003-ath10k.patch | 2 +- patches/5.19/0004-ipts.patch | 6 +-- patches/5.19/0005-surface-sam.patch | 54 ++++++++++---------- patches/5.19/0006-surface-sam-over-hid.patch | 4 +- patches/5.19/0007-surface-button.patch | 4 +- patches/5.19/0008-surface-typecover.patch | 48 ++++++++--------- patches/5.19/0009-surface-gpe.patch | 2 +- patches/5.19/0010-cameras.patch | 14 ++--- patches/5.19/0011-amd-gpio.patch | 4 +- 11 files changed, 76 insertions(+), 76 deletions(-) diff --git a/patches/5.19/0001-surface3-oemb.patch b/patches/5.19/0001-surface3-oemb.patch index 89738ac08..04a2f7ff9 100644 --- a/patches/5.19/0001-surface3-oemb.patch +++ b/patches/5.19/0001-surface3-oemb.patch @@ -1,4 +1,4 @@ -From e05fbddb1b8c2bbe90773710990044a6fb9b79c7 Mon Sep 17 00:00:00 2001 +From 8136a73d16f53a779e97c368ab80d26885205d4b Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Sun, 18 Oct 2020 16:42:44 +0900 Subject: [PATCH] (surface3-oemb) add DMI matches for Surface 3 with broken DMI diff --git a/patches/5.19/0002-mwifiex.patch b/patches/5.19/0002-mwifiex.patch index 8559564a7..de41b53e2 100644 --- a/patches/5.19/0002-mwifiex.patch +++ b/patches/5.19/0002-mwifiex.patch @@ -1,4 +1,4 @@ -From 7eb35c6f97f044c02aa1d17f8baaa2977245ea2f Mon Sep 17 00:00:00 2001 +From 6089531f7c51fe0cea3bd6a8f0771e6e53ed4068 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Tue, 29 Sep 2020 17:32:22 +0900 Subject: [PATCH] mwifiex: pcie: add reset_wsid quirk for Surface 3 @@ -183,7 +183,7 @@ index 8ec4176d698f..25370c5a4f59 100644 -- 2.37.2 -From 6bd6dc5b6a12094bbd96807b5b6d7aab7dd6fe72 Mon Sep 17 00:00:00 2001 +From 049a6554fbbc067d9868381304fe31eafec54e78 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Wed, 30 Sep 2020 18:08:24 +0900 Subject: [PATCH] mwifiex: pcie: (OEMB) add quirk for Surface 3 with broken DMI @@ -245,7 +245,7 @@ index 563dd0d5ac79..32e2f000e57b 100644 -- 2.37.2 -From f2c9416e852236ef69047eaec524d21bedb5968d Mon Sep 17 00:00:00 2001 +From e57e1aaeb600e6ac0ada3d73083ba11369d37734 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Sun, 4 Oct 2020 00:11:49 +0900 Subject: [PATCH] mwifiex: pcie: disable bridge_d3 for Surface gen4+ @@ -400,7 +400,7 @@ index 25370c5a4f59..a1de111ad1db 100644 -- 2.37.2 -From a4d20b90be898a748472593439426f4960a85183 Mon Sep 17 00:00:00 2001 +From 789551567a6cf98e8ad0ffabcc70570e77919cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Tue, 3 Nov 2020 13:28:04 +0100 Subject: [PATCH] mwifiex: Add quirk resetting the PCI bridge on MS Surface @@ -567,7 +567,7 @@ index a1de111ad1db..0e429779bb04 100644 -- 2.37.2 -From d915cfc0e874102c523e9d696c8aa7b3610c6602 Mon Sep 17 00:00:00 2001 +From f22fcdf3ebd08bb02727db9dbb101199486b72fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Thu, 25 Mar 2021 11:33:02 +0100 Subject: [PATCH] Bluetooth: btusb: Lower passive lescan interval on Marvell @@ -645,7 +645,7 @@ index aaba2d737178..5d29e592cd34 100644 -- 2.37.2 -From fcda55cfade04a6c28891c9faf3e23c28eddd4e4 Mon Sep 17 00:00:00 2001 +From ba89cc0544c937b4429cbe410f5285beefb7c33c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Tue, 10 Nov 2020 12:49:56 +0100 Subject: [PATCH] mwifiex: Use non-posted PCI register writes diff --git a/patches/5.19/0003-ath10k.patch b/patches/5.19/0003-ath10k.patch index 094f3ea6b..4ae34b227 100644 --- a/patches/5.19/0003-ath10k.patch +++ b/patches/5.19/0003-ath10k.patch @@ -1,4 +1,4 @@ -From 7e5a7a5fdad5b351eb1e559c47689c59d50c53ba Mon Sep 17 00:00:00 2001 +From 30632c24ae7c8839dce9174016895849acd1f31a Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 27 Feb 2021 00:45:52 +0100 Subject: [PATCH] ath10k: Add module parameters to override board files diff --git a/patches/5.19/0004-ipts.patch b/patches/5.19/0004-ipts.patch index 7d40a259f..21df87da3 100644 --- a/patches/5.19/0004-ipts.patch +++ b/patches/5.19/0004-ipts.patch @@ -1,4 +1,4 @@ -From aa1356f50c7a2531216b17f2a5f4bb82a261dbd8 Mon Sep 17 00:00:00 2001 +From 008ca80c4bb8eff2cfc4dd3f35398c7c268be04b Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Thu, 30 Jul 2020 13:21:53 +0200 Subject: [PATCH] misc: mei: Add missing IPTS device IDs @@ -36,7 +36,7 @@ index 5435604327a7..1165ee4f5928 100644 -- 2.37.2 -From 4ca512b8978b24c5cf673cfd4f4df04328eabbca Mon Sep 17 00:00:00 2001 +From 1a47efd83fd677ac0c7cae35b07bdb172e87cee3 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Thu, 6 Aug 2020 11:20:41 +0200 Subject: [PATCH] misc: Add support for Intel Precise Touch & Stylus @@ -1501,7 +1501,7 @@ index 000000000000..53fb86a88f97 -- 2.37.2 -From 454fbf757af546353ef156730f1012fe5aed0a9c Mon Sep 17 00:00:00 2001 +From 19ab90bc51c085bc71e899446a67b62b91d42050 Mon Sep 17 00:00:00 2001 From: Liban Hannan Date: Tue, 12 Apr 2022 23:31:12 +0100 Subject: [PATCH] iommu: ipts: use IOMMU passthrough mode for IPTS diff --git a/patches/5.19/0005-surface-sam.patch b/patches/5.19/0005-surface-sam.patch index 47205d4f9..9ffb3dbfc 100644 --- a/patches/5.19/0005-surface-sam.patch +++ b/patches/5.19/0005-surface-sam.patch @@ -1,4 +1,4 @@ -From c6110239d00406e65a8189702a2e8fb9494f1b28 Mon Sep 17 00:00:00 2001 +From cf92a4b7a1b832df52b7eeb0dda93301585f1c48 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:36 +0200 Subject: [PATCH] platform/surface: aggregator: Allow is_ssam_device() to be @@ -55,7 +55,7 @@ index cc257097eb05..62b38b4487eb 100644 -- 2.37.2 -From fa4e77dc150efbb608efd1ee54ceff557e3ebab6 Mon Sep 17 00:00:00 2001 +From 2c8f02e379bb72001844a5b28cf64d12422ace76 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:37 +0200 Subject: [PATCH] platform/surface: aggregator: Allow devices to be marked as @@ -164,7 +164,7 @@ index 62b38b4487eb..6df7c8d4e50e 100644 -- 2.37.2 -From e3d8ba1a98ef364b5d49e74f22b443296004c2dd Mon Sep 17 00:00:00 2001 +From 868fe0887d5a461e122d4de8ab5e3c1a46b48f8e Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:38 +0200 Subject: [PATCH] platform/surface: aggregator: Allow notifiers to avoid @@ -460,7 +460,7 @@ index 6df7c8d4e50e..c418f7f2732d 100644 -- 2.37.2 -From 44128ef92d57fe2e3c99078c85fa91047fbb81f9 Mon Sep 17 00:00:00 2001 +From 7fa57f0161f316e0bae747d6005df8fd32559ed6 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:39 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Use client device @@ -512,7 +512,7 @@ index ce2bd88feeaa..9f630e890ff7 100644 -- 2.37.2 -From 9cd87ca382d8a7aee293bfdc788414e1b58088e2 Mon Sep 17 00:00:00 2001 +From c853aceabb717313981ae67332720018ab6ae9e6 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:40 +0200 Subject: [PATCH] power/supply: surface_charger: Use client device wrappers for @@ -556,7 +556,7 @@ index a060c36c7766..59182d55742d 100644 -- 2.37.2 -From faf6c119b16b39e516be3a8807ec2214cce5abc8 Mon Sep 17 00:00:00 2001 +From 1a00379b51768213cf69ff8bba0fc556396b3cb7 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:41 +0200 Subject: [PATCH] power/supply: surface_battery: Use client device wrappers for @@ -600,7 +600,7 @@ index 5ec2e6bb2465..540707882bb0 100644 -- 2.37.2 -From 0c02bd84d3fb383430e391fa9cf546c0779d2382 Mon Sep 17 00:00:00 2001 +From 8854eca00edf1d846266f5a70911206b95116ebf Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:42 +0200 Subject: [PATCH] HID: surface-hid: Add support for hot-removal @@ -714,7 +714,7 @@ index e46330b2e561..87637f813de2 100644 -- 2.37.2 -From 1778d54125b12c24de5f169bdaa9b12208d2d088 Mon Sep 17 00:00:00 2001 +From aae8af660b8ddf8cf1b9d91f02fddbaf12b27618 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:43 +0200 Subject: [PATCH] platform/surface: aggregator: Add comment for KIP subsystem @@ -755,7 +755,7 @@ index c3de43edcffa..26b95ec12733 100644 -- 2.37.2 -From fadce9be49b14d343bcebff0949a812655d79d7b Mon Sep 17 00:00:00 2001 +From c1180e31fe064fe3e45054cc722c3a4260c5a3db Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:44 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Generify subsystem hub @@ -1145,7 +1145,7 @@ index 9f630e890ff7..09cbeee2428b 100644 -- 2.37.2 -From 13ef6b4f19302c4e8dfbef3b32fb7266eb642f4b Mon Sep 17 00:00:00 2001 +From ae1e677f6babe2ca05a4262115f89d00f041eba7 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:45 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Change device ID for @@ -1189,7 +1189,7 @@ index 09cbeee2428b..b11ce87c7184 100644 -- 2.37.2 -From 5e90aac7571987b7602bf0a75067e711b2f17f16 Mon Sep 17 00:00:00 2001 +From 581483b9438c2f548d2d9aa42db0b1b9886412f0 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:46 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add KIP device hub @@ -1354,7 +1354,7 @@ index b11ce87c7184..f15cef60630f 100644 -- 2.37.2 -From 2579d101aee92421e9eaaba3fae6c8d6348208aa Mon Sep 17 00:00:00 2001 +From 6113e8deb4c9d72a7fb809cd17c05b6db18854c0 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 27 May 2022 04:34:47 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add support for @@ -1455,7 +1455,7 @@ index f15cef60630f..bf3303f1aa71 100644 -- 2.37.2 -From 5d32e60f8a483e845f1597adb2f4645c51e94676 Mon Sep 17 00:00:00 2001 +From ffb7b4cfe0e1ae0f3d8de827e9b699abd8b43352 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Fri, 10 Jun 2022 14:41:58 +0900 Subject: [PATCH] platform/surface: avoid flush_scheduled_work() usage @@ -1534,7 +1534,7 @@ index 7b758f8cc137..c0e12f0b9b79 100644 -- 2.37.2 -From 442b2b0242996c2d287619ef02b71d25c7103b92 Mon Sep 17 00:00:00 2001 +From c61fe02172d405255e1ee652d192ff2362219790 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 14 Jun 2022 21:41:17 +0200 Subject: [PATCH] platform/surface: aggregator: Reserve more event- and @@ -1756,7 +1756,7 @@ index 26b95ec12733..45501b6e54e8 100644 -- 2.37.2 -From a13260527cf9250a6c419594427d0983233ab722 Mon Sep 17 00:00:00 2001 +From f7d73074c25fe126d1f92aab16613f333dcfb443 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 24 Jun 2022 20:36:39 +0200 Subject: [PATCH] platform/surface: aggregator: Add helper macros for requests @@ -1969,7 +1969,7 @@ index c418f7f2732d..6cf7e80312d5 100644 -- 2.37.2 -From 23d2e2d44bd52c0a39eaa962aa571e5e057d165c Mon Sep 17 00:00:00 2001 +From 18696529f9b2326722e395ba0219b70c6b63f14f Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 24 Jun 2022 20:36:40 +0200 Subject: [PATCH] platform/surface: Add KIP/POS tablet-mode switch driver @@ -2701,7 +2701,7 @@ index 000000000000..596ca6c80681 -- 2.37.2 -From b0b63c71ca4cca6db6f01b20abf92ed87d32acbd Mon Sep 17 00:00:00 2001 +From 9fd7721c374ba1ca794373cc0e83e2bbd89c2e35 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 24 Jun 2022 20:36:41 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add support for tablet @@ -2754,7 +2754,7 @@ index bf3303f1aa71..8f249df673a4 100644 -- 2.37.2 -From 24b95921c99756179efb5382e88c2e40b27586ba Mon Sep 17 00:00:00 2001 +From a5821fb95515a38add07abe5c38819b28e57a8ee Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 24 Jun 2022 20:36:42 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add support for tablet @@ -2801,7 +2801,7 @@ index 8f249df673a4..f1c5905f1c16 100644 -- 2.37.2 -From 055fd9c3211fdbf97da67d52c000884a6abb7c74 Mon Sep 17 00:00:00 2001 +From 02165399da8dc82730cf6c94242dde36e0d34198 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 24 Jun 2022 22:57:58 +0200 Subject: [PATCH] platform/surface: aggregator: Move device registry helper @@ -3197,7 +3197,7 @@ index 6cf7e80312d5..46c45d1b6368 100644 -- 2.37.2 -From 822f031694f66f2ac28d88b8296462ab83be0e79 Mon Sep 17 00:00:00 2001 +From db121ba08884dddbb98faeed98885e49deb97c32 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 24 Jun 2022 22:57:59 +0200 Subject: [PATCH] platform/surface: aggregator: Move subsystem hub drivers to @@ -4087,7 +4087,7 @@ index c680792a037e..0cbb7f3a6b2d 100644 -- 2.37.2 -From d2a2ff8627b303e319809102e8c5269a43930146 Mon Sep 17 00:00:00 2001 +From dc12b0fce0c41cf44f77a2643c972409ae51e1d3 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 24 Jun 2022 22:58:00 +0200 Subject: [PATCH] platform/surface: Update copyright year of various drivers @@ -4409,7 +4409,7 @@ index 6373d3b5eb7f..fbf2e11fd6ce 100644 -- 2.37.2 -From f97db7a026de020482058d16c1df81406cde612d Mon Sep 17 00:00:00 2001 +From 39bb758fc49805d68c4ad2a21b6011cc54179676 Mon Sep 17 00:00:00 2001 From: Lukas Bulwahn Date: Wed, 13 Jul 2022 06:09:16 +0200 Subject: [PATCH] MAINTAINERS: repair file entry in MICROSOFT SURFACE @@ -4455,7 +4455,7 @@ index 55e80354a097..6772c9d0eccc 100644 -- 2.37.2 -From a706d9e160bcc1def0b534af9944ce5b578a2a22 Mon Sep 17 00:00:00 2001 +From 513b085315b459e555c4cc2d4b4202d232dd4b26 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 17 Jul 2022 14:07:35 +0200 Subject: [PATCH] platform/surface: tabletsw: Fix __le32 integer access @@ -4499,7 +4499,7 @@ index 596ca6c80681..27d95a6a7851 100644 -- 2.37.2 -From 71f6af10b4d95d6fa30e29339dc46518018d5cf3 Mon Sep 17 00:00:00 2001 +From 3dfe5611833768dcceacd578f4c8a7e1efdc32e1 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 8 Jul 2022 03:34:44 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add support for @@ -4531,7 +4531,7 @@ index d5655f6a4a41..93ab62eb393d 100644 -- 2.37.2 -From 7f8a1978ffa85d6597bc7569498fd85951fa7c65 Mon Sep 17 00:00:00 2001 +From 1135c744bf81e6b3528fcddf0b18fbc8353fe7ff Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 25 Jun 2022 20:42:00 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Rename HID device @@ -4604,7 +4604,7 @@ index 93ab62eb393d..7d82398f55b1 100644 -- 2.37.2 -From 1f3ee352e38c67f68b0f11574dda88e058c46887 Mon Sep 17 00:00:00 2001 +From c6b04410f5383e56f768071a02811eec38027af5 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 25 Jun 2022 20:52:47 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Rename HID device @@ -4697,7 +4697,7 @@ index 7d82398f55b1..9970f89b1411 100644 -- 2.37.2 -From 697c650c38c056a5a85ab5335269b10957721f77 Mon Sep 17 00:00:00 2001 +From 9aaa3d4912f9796d3658a8f035a23848dba33178 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 25 Jun 2022 20:54:59 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add HID devices for diff --git a/patches/5.19/0006-surface-sam-over-hid.patch b/patches/5.19/0006-surface-sam-over-hid.patch index 20c2f1b7c..a77783acc 100644 --- a/patches/5.19/0006-surface-sam-over-hid.patch +++ b/patches/5.19/0006-surface-sam-over-hid.patch @@ -1,4 +1,4 @@ -From 03f2abe0eb158e3ab26b5d5fc27ae4820c82b641 Mon Sep 17 00:00:00 2001 +From 2db7d4411f43d57e45672872465d05b091af1ca4 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 25 Jul 2020 17:19:53 +0200 Subject: [PATCH] i2c: acpi: Implement RawBytes read access @@ -110,7 +110,7 @@ index 08b561f0709d..d7c397bce0f0 100644 -- 2.37.2 -From eb8637ef70b526861a95071ab1e41f8b9d42f9c8 Mon Sep 17 00:00:00 2001 +From 1519f583848db6ea7fb0d648ef80c729760dd3f7 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 13 Feb 2021 16:41:18 +0100 Subject: [PATCH] platform/surface: Add driver for Surface Book 1 dGPU switch diff --git a/patches/5.19/0007-surface-button.patch b/patches/5.19/0007-surface-button.patch index 246e8113e..6ae898e56 100644 --- a/patches/5.19/0007-surface-button.patch +++ b/patches/5.19/0007-surface-button.patch @@ -1,4 +1,4 @@ -From 28370e564fdba60962bb36caed131930fedf99fd Mon Sep 17 00:00:00 2001 +From 12ca17de985a65027d9264486f2fec28cfbf039b Mon Sep 17 00:00:00 2001 From: Sachi King 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 480476121c01..36e1bf7b7a01 100644 -- 2.37.2 -From e79c0fb1ecd8ea8c3475350cec9ebfe34467578a Mon Sep 17 00:00:00 2001 +From 038c419cb0686e9bc79e0d7117e6c0ab620ed083 Mon Sep 17 00:00:00 2001 From: Sachi King Date: Tue, 5 Oct 2021 00:22:57 +1100 Subject: [PATCH] platform/surface: surfacepro3_button: don't load on amd diff --git a/patches/5.19/0008-surface-typecover.patch b/patches/5.19/0008-surface-typecover.patch index 2d251d443..77d4b5e82 100644 --- a/patches/5.19/0008-surface-typecover.patch +++ b/patches/5.19/0008-surface-typecover.patch @@ -1,4 +1,4 @@ -From 2f2a032ba2ac9e6e8b7d2c59df2eb97a5b967a95 Mon Sep 17 00:00:00 2001 +From 46cf30ad2214c8a50498d44c97fb0d98acdf31ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Thu, 5 Nov 2020 13:09:45 +0100 Subject: [PATCH] hid/multitouch: Turn off Type Cover keyboard backlight when @@ -34,7 +34,7 @@ Patchset: surface-typecover 1 file changed, 98 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c -index 6bb3890b0f2c..c28349e90156 100644 +index 2e72922e36f5..15f5f11c4b85 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -34,7 +34,10 @@ @@ -81,7 +81,7 @@ index 6bb3890b0f2c..c28349e90156 100644 }; static void mt_post_parse_default_settings(struct mt_device *td, -@@ -211,6 +220,7 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app); +@@ -212,6 +221,7 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app); #define MT_CLS_GOOGLE 0x0111 #define MT_CLS_RAZER_BLADE_STEALTH 0x0112 #define MT_CLS_SMART_TECH 0x0113 @@ -89,7 +89,7 @@ index 6bb3890b0f2c..c28349e90156 100644 #define MT_DEFAULT_MAXCONTACT 10 #define MT_MAX_MAXCONTACT 250 -@@ -386,6 +396,16 @@ static const struct mt_class mt_classes[] = { +@@ -396,6 +406,16 @@ static const struct mt_class mt_classes[] = { MT_QUIRK_CONTACT_CNT_ACCURATE | MT_QUIRK_SEPARATE_APP_REPORT, }, @@ -106,7 +106,7 @@ index 6bb3890b0f2c..c28349e90156 100644 { } }; -@@ -1695,6 +1715,69 @@ static void mt_expired_timeout(struct timer_list *t) +@@ -1706,6 +1726,69 @@ static void mt_expired_timeout(struct timer_list *t) clear_bit(MT_IO_FLAGS_RUNNING, &td->mt_io_flags); } @@ -176,7 +176,7 @@ index 6bb3890b0f2c..c28349e90156 100644 static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) { int ret, i; -@@ -1718,6 +1801,9 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) +@@ -1729,6 +1812,9 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) td->inputmode_value = MT_INPUTMODE_TOUCHSCREEN; hid_set_drvdata(hdev, td); @@ -186,7 +186,7 @@ index 6bb3890b0f2c..c28349e90156 100644 INIT_LIST_HEAD(&td->applications); INIT_LIST_HEAD(&td->reports); -@@ -1747,15 +1833,19 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) +@@ -1758,15 +1844,19 @@ static int mt_probe(struct hid_device *hdev, const struct hid_device_id *id) timer_setup(&td->release_timer, mt_expired_timeout, 0); ret = hid_parse(hdev); @@ -208,7 +208,7 @@ index 6bb3890b0f2c..c28349e90156 100644 ret = sysfs_create_group(&hdev->dev.kobj, &mt_attribute_group); if (ret) -@@ -1807,6 +1897,7 @@ static void mt_remove(struct hid_device *hdev) +@@ -1818,6 +1908,7 @@ static void mt_remove(struct hid_device *hdev) { struct mt_device *td = hid_get_drvdata(hdev); @@ -216,7 +216,7 @@ index 6bb3890b0f2c..c28349e90156 100644 del_timer_sync(&td->release_timer); sysfs_remove_group(&hdev->dev.kobj, &mt_attribute_group); -@@ -2180,6 +2271,11 @@ static const struct hid_device_id mt_devices[] = { +@@ -2191,6 +2282,11 @@ static const struct hid_device_id mt_devices[] = { MT_USB_DEVICE(USB_VENDOR_ID_XIROKU, USB_DEVICE_ID_XIROKU_CSR2) }, @@ -231,7 +231,7 @@ index 6bb3890b0f2c..c28349e90156 100644 -- 2.37.2 -From c61321ed6f726eeb277982775cbf49fc65539b07 Mon Sep 17 00:00:00 2001 +From 61e311a6ce7fc4c4005130e4b3cce203f7ded406 Mon Sep 17 00:00:00 2001 From: PJungkamp Date: Fri, 25 Feb 2022 12:04:25 +0100 Subject: [PATCH] hid/multitouch: Add support for surface pro type cover tablet @@ -260,7 +260,7 @@ Patchset: surface-typecover 1 file changed, 122 insertions(+), 26 deletions(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c -index c28349e90156..61142639be26 100644 +index 15f5f11c4b85..69202575ce19 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -76,6 +76,7 @@ MODULE_LICENSE("GPL"); @@ -280,7 +280,7 @@ index c28349e90156..61142639be26 100644 enum latency_mode { HID_LATENCY_NORMAL = 0, -@@ -398,6 +401,7 @@ static const struct mt_class mt_classes[] = { +@@ -408,6 +411,7 @@ static const struct mt_class mt_classes[] = { }, { .name = MT_CLS_WIN_8_MS_SURFACE_TYPE_COVER, .quirks = MT_QUIRK_HAS_TYPE_COVER_BACKLIGHT | @@ -288,7 +288,7 @@ index c28349e90156..61142639be26 100644 MT_QUIRK_ALWAYS_VALID | MT_QUIRK_IGNORE_DUPLICATES | MT_QUIRK_HOVERING | -@@ -1357,6 +1361,9 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, +@@ -1368,6 +1372,9 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, field->application != HID_CP_CONSUMER_CONTROL && field->application != HID_GD_WIRELESS_RADIO_CTLS && field->application != HID_GD_SYSTEM_MULTIAXIS && @@ -298,7 +298,7 @@ index c28349e90156..61142639be26 100644 !(field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && application->quirks & MT_QUIRK_ASUS_CUSTOM_UP)) return -1; -@@ -1384,6 +1391,21 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, +@@ -1395,6 +1402,21 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, return 1; } @@ -320,7 +320,7 @@ index c28349e90156..61142639be26 100644 if (rdata->is_mt_collection) return mt_touch_input_mapping(hdev, hi, field, usage, bit, max, application); -@@ -1405,6 +1427,7 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, +@@ -1416,6 +1438,7 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, { struct mt_device *td = hid_get_drvdata(hdev); struct mt_report_data *rdata; @@ -328,7 +328,7 @@ index c28349e90156..61142639be26 100644 rdata = mt_find_report_data(td, field->report); if (rdata && rdata->is_mt_collection) { -@@ -1412,6 +1435,19 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, +@@ -1423,6 +1446,19 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, return -1; } @@ -348,7 +348,7 @@ index c28349e90156..61142639be26 100644 /* let hid-core decide for the others */ return 0; } -@@ -1421,11 +1457,21 @@ static int mt_event(struct hid_device *hid, struct hid_field *field, +@@ -1432,11 +1468,21 @@ static int mt_event(struct hid_device *hid, struct hid_field *field, { struct mt_device *td = hid_get_drvdata(hid); struct mt_report_data *rdata; @@ -370,7 +370,7 @@ index c28349e90156..61142639be26 100644 return 0; } -@@ -1578,6 +1624,42 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app) +@@ -1589,6 +1635,42 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app) app->quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; } @@ -413,7 +413,7 @@ index c28349e90156..61142639be26 100644 static int mt_input_configured(struct hid_device *hdev, struct hid_input *hi) { struct mt_device *td = hid_get_drvdata(hdev); -@@ -1627,6 +1709,13 @@ static int mt_input_configured(struct hid_device *hdev, struct hid_input *hi) +@@ -1638,6 +1720,13 @@ static int mt_input_configured(struct hid_device *hdev, struct hid_input *hi) /* force BTN_STYLUS to allow tablet matching in udev */ __set_bit(BTN_STYLUS, hi->input->keybit); break; @@ -427,7 +427,7 @@ index c28349e90156..61142639be26 100644 default: suffix = "UNKNOWN"; break; -@@ -1715,30 +1804,6 @@ static void mt_expired_timeout(struct timer_list *t) +@@ -1726,30 +1815,6 @@ static void mt_expired_timeout(struct timer_list *t) clear_bit(MT_IO_FLAGS_RUNNING, &td->mt_io_flags); } @@ -458,7 +458,7 @@ index c28349e90156..61142639be26 100644 static void update_keyboard_backlight(struct hid_device *hdev, bool enabled) { struct usb_device *udev = hid_to_usb_dev(hdev); -@@ -1747,8 +1812,9 @@ static void update_keyboard_backlight(struct hid_device *hdev, bool enabled) +@@ -1758,8 +1823,9 @@ static void update_keyboard_backlight(struct hid_device *hdev, bool enabled) /* Wake up the device in case it's already suspended */ pm_runtime_get_sync(&udev->dev); @@ -470,7 +470,7 @@ index c28349e90156..61142639be26 100644 hid_err(hdev, "couldn't find backlight field\n"); goto out; } -@@ -1874,13 +1940,24 @@ static int mt_suspend(struct hid_device *hdev, pm_message_t state) +@@ -1885,13 +1951,24 @@ static int mt_suspend(struct hid_device *hdev, pm_message_t state) static int mt_reset_resume(struct hid_device *hdev) { @@ -495,7 +495,7 @@ index c28349e90156..61142639be26 100644 /* Some Elan legacy devices require SET_IDLE to be set on resume. * It should be safe to send it to other devices too. * Tested on 3M, Stantum, Cypress, Zytronic, eGalax, and Elan panels. */ -@@ -1889,6 +1966,10 @@ static int mt_resume(struct hid_device *hdev) +@@ -1900,6 +1977,10 @@ static int mt_resume(struct hid_device *hdev) mt_set_modes(hdev, HID_LATENCY_NORMAL, true, true); @@ -506,7 +506,7 @@ index c28349e90156..61142639be26 100644 return 0; } #endif -@@ -1896,6 +1977,21 @@ static int mt_resume(struct hid_device *hdev) +@@ -1907,6 +1988,21 @@ static int mt_resume(struct hid_device *hdev) static void mt_remove(struct hid_device *hdev) { struct mt_device *td = hid_get_drvdata(hdev); diff --git a/patches/5.19/0009-surface-gpe.patch b/patches/5.19/0009-surface-gpe.patch index cfd97ae01..a819efcbd 100644 --- a/patches/5.19/0009-surface-gpe.patch +++ b/patches/5.19/0009-surface-gpe.patch @@ -1,4 +1,4 @@ -From 0efe64d0de03fd6e0a8a2422859317b3e2546e1d Mon Sep 17 00:00:00 2001 +From a5bfc31f5a78d54ef1aad12ef12ec65242e539a4 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 21 Jul 2022 14:11:20 +0200 Subject: [PATCH] platform/surface: gpe: Add support for 13" Intel version of diff --git a/patches/5.19/0010-cameras.patch b/patches/5.19/0010-cameras.patch index dda420bce..e73d19d43 100644 --- a/patches/5.19/0010-cameras.patch +++ b/patches/5.19/0010-cameras.patch @@ -1,4 +1,4 @@ -From 2ac4dc245e2e3e3db7f63b18460313b1ccbf225a Mon Sep 17 00:00:00 2001 +From 0a3646496fbd99f59d21a0f4624b9bed7c4579ce Mon Sep 17 00:00:00 2001 From: Hans de Goede 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 762b61f67e6c..2c0f39a7f2a1 100644 -- 2.37.2 -From 5aa734fc5b9e2f9d32a3c666645161eafeb9c515 Mon Sep 17 00:00:00 2001 +From 04d11d2e49fd47c81ae37ee09acdbf2e485c0660 Mon Sep 17 00:00:00 2001 From: zouxiaoh 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 825b524e81f3..095d566c058f 100644 -- 2.37.2 -From 917de996a4209e88a71461c2c9e4643d9dc146f4 Mon Sep 17 00:00:00 2001 +From 9b1976c703584ca8302935993890825ae565253f Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Sun, 10 Oct 2021 20:57:02 +0200 Subject: [PATCH] platform/x86: int3472: Enable I2c daisy chain @@ -228,7 +228,7 @@ index 22f61b47f9e5..e1de1ff40bba 100644 -- 2.37.2 -From badd5ca959a4328713b4dff2e8354e62c134d4cb Mon Sep 17 00:00:00 2001 +From 5417703cd0d0c25b77ff62175cfa9f43d92aa10c Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 28 Oct 2021 21:55:16 +0100 Subject: [PATCH] media: i2c: Add driver for DW9719 VCM @@ -734,7 +734,7 @@ index 000000000000..8451c75b696b -- 2.37.2 -From 0f957b94bf7f54ad4edb1b977d559cdf658275aa Mon Sep 17 00:00:00 2001 +From b4539e8c7d09c19dac7d6622a3c31e4ee368b10f Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Wed, 4 May 2022 23:21:45 +0100 Subject: [PATCH] media: ipu3-cio2: Move functionality from .complete() to @@ -849,7 +849,7 @@ index dbdbdb648a0d..d0715144bf3e 100644 -- 2.37.2 -From bd8a836e2d9335ba885a5464cca6f12ae41800ce Mon Sep 17 00:00:00 2001 +From 97636fb45ffd69fdbe4106982169709bf03530fb Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 2 Jun 2022 22:15:56 +0100 Subject: [PATCH] media: ipu3-cio2: Re-add .complete() to ipu3-cio2 @@ -892,7 +892,7 @@ index d0715144bf3e..3a25dfc696b2 100644 -- 2.37.2 -From 6a5f8095d2104ba56791d87cd952dc10b30fa105 Mon Sep 17 00:00:00 2001 +From 2045d2e3f30af8b3fe7a18030b2bc366f4b1c24f Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 15 Jul 2022 23:48:00 +0200 Subject: [PATCH] drivers/media/i2c: Fix DW9719 dependencies diff --git a/patches/5.19/0011-amd-gpio.patch b/patches/5.19/0011-amd-gpio.patch index e7b1410f7..53d0da48f 100644 --- a/patches/5.19/0011-amd-gpio.patch +++ b/patches/5.19/0011-amd-gpio.patch @@ -1,4 +1,4 @@ -From 3f262a02abb0f45c67af1c45ae9ce73b9efebba6 Mon Sep 17 00:00:00 2001 +From 73bf1e7fc5e71751a6b747d5de20e565604522e6 Mon Sep 17 00:00:00 2001 From: Sachi King 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.37.2 -From 8d1521d571c9c2a4285c0843e7044321ff0858b6 Mon Sep 17 00:00:00 2001 +From 6bbad3dfd4d1a28db24ed3ce0a011a824fb2a2dd Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 3 Jun 2021 14:04:26 +0200 Subject: [PATCH] ACPI: Add AMD 13" Surface Laptop 4 model to irq 7 override