Ver código fonte

Update v5.17 patches

Changes:
 - Rebase onto v5.17.12

Links:
 - kernel: https://github.com/linux-surface/kernel/commit/509898fcf7f7b041dc5240f412b1e12f5e7cce39
Maximilian Luz 3 anos atrás
pai
commit
8284404362

+ 1 - 1
patches/5.17/0001-surface3-oemb.patch

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

+ 6 - 6
patches/5.17/0002-mwifiex.patch

@@ -1,4 +1,4 @@
-From 8d5bbcb596dc777e691b738c90fdde519d5ff70b Mon Sep 17 00:00:00 2001
+From 19866bafd47f0f23cafcbaa36d3704fdd2d91478 Mon Sep 17 00:00:00 2001
 From: Tsuchiya Yuto <kitakar@gmail.com>
 From: Tsuchiya Yuto <kitakar@gmail.com>
 Date: Tue, 29 Sep 2020 17:32:22 +0900
 Date: Tue, 29 Sep 2020 17:32:22 +0900
 Subject: [PATCH] mwifiex: pcie: add reset_wsid quirk for Surface 3
 Subject: [PATCH] mwifiex: pcie: add reset_wsid quirk for Surface 3
@@ -183,7 +183,7 @@ index 8ec4176d698f..25370c5a4f59 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From aa1d32ead69fc367cfe67296dda751a5e40b342f Mon Sep 17 00:00:00 2001
+From 5b01e55f42486bcb624d1f5112776666bcc3a6bc Mon Sep 17 00:00:00 2001
 From: Tsuchiya Yuto <kitakar@gmail.com>
 From: Tsuchiya Yuto <kitakar@gmail.com>
 Date: Wed, 30 Sep 2020 18:08:24 +0900
 Date: Wed, 30 Sep 2020 18:08:24 +0900
 Subject: [PATCH] mwifiex: pcie: (OEMB) add quirk for Surface 3 with broken DMI
 Subject: [PATCH] mwifiex: pcie: (OEMB) add quirk for Surface 3 with broken DMI
@@ -245,7 +245,7 @@ index 563dd0d5ac79..32e2f000e57b 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 4ac41e0c2d8fe11f20a5f79a0bfe0f56db7a5f2e Mon Sep 17 00:00:00 2001
+From 1c9c613349938cefcab7f0708bb7c903f3360913 Mon Sep 17 00:00:00 2001
 From: Tsuchiya Yuto <kitakar@gmail.com>
 From: Tsuchiya Yuto <kitakar@gmail.com>
 Date: Sun, 4 Oct 2020 00:11:49 +0900
 Date: Sun, 4 Oct 2020 00:11:49 +0900
 Subject: [PATCH] mwifiex: pcie: disable bridge_d3 for Surface gen4+
 Subject: [PATCH] mwifiex: pcie: disable bridge_d3 for Surface gen4+
@@ -400,7 +400,7 @@ index 25370c5a4f59..a1de111ad1db 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From bfcc84af31034dbdd24013dc9a26abe285b40f6c Mon Sep 17 00:00:00 2001
+From a8e7e1a857d60c54c06718b56330a7badef33352 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
 Date: Tue, 3 Nov 2020 13:28:04 +0100
 Date: Tue, 3 Nov 2020 13:28:04 +0100
 Subject: [PATCH] mwifiex: Add quirk resetting the PCI bridge on MS Surface
 Subject: [PATCH] mwifiex: Add quirk resetting the PCI bridge on MS Surface
@@ -567,7 +567,7 @@ index a1de111ad1db..0e429779bb04 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 58c6afc494c4e3b99d616ecbcaaae4fc2a2793f3 Mon Sep 17 00:00:00 2001
+From baa0dd51c06f609427009e6699992c51b8bdbf61 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
 Date: Thu, 25 Mar 2021 11:33:02 +0100
 Date: Thu, 25 Mar 2021 11:33:02 +0100
 Subject: [PATCH] Bluetooth: btusb: Lower passive lescan interval on Marvell
 Subject: [PATCH] Bluetooth: btusb: Lower passive lescan interval on Marvell
@@ -645,7 +645,7 @@ index 42234d5f602d..72202a744564 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 2fca431e32e851a81ec218ef3dc87563d7cd0e68 Mon Sep 17 00:00:00 2001
+From 24ce0f7c9df9af0f20672db5140a4eff1e9def7b Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
 Date: Tue, 10 Nov 2020 12:49:56 +0100
 Date: Tue, 10 Nov 2020 12:49:56 +0100
 Subject: [PATCH] mwifiex: Use non-posted PCI register writes
 Subject: [PATCH] mwifiex: Use non-posted PCI register writes

+ 1 - 1
patches/5.17/0003-ath10k.patch

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

+ 3 - 3
patches/5.17/0004-ipts.patch

@@ -1,4 +1,4 @@
-From e2a9cc1c420b8f9584c85914b6b8c8cb38b2fecc Mon Sep 17 00:00:00 2001
+From c829f6576ba9c6a56f5c3112bd1c17f639d04fa0 Mon Sep 17 00:00:00 2001
 From: Dorian Stoll <dorian.stoll@tmsp.io>
 From: Dorian Stoll <dorian.stoll@tmsp.io>
 Date: Thu, 30 Jul 2020 13:21:53 +0200
 Date: Thu, 30 Jul 2020 13:21:53 +0200
 Subject: [PATCH] misc: mei: Add missing IPTS device IDs
 Subject: [PATCH] misc: mei: Add missing IPTS device IDs
@@ -36,7 +36,7 @@ index a738253dbd05..4e1c3fe09e53 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From c7d40fe3f9a803b17f8529caa7bc4b58c0a2e66a Mon Sep 17 00:00:00 2001
+From e0f1927b5f31b397c35c7ce8d4d2fca856a2fb1a Mon Sep 17 00:00:00 2001
 From: Dorian Stoll <dorian.stoll@tmsp.io>
 From: Dorian Stoll <dorian.stoll@tmsp.io>
 Date: Thu, 6 Aug 2020 11:20:41 +0200
 Date: Thu, 6 Aug 2020 11:20:41 +0200
 Subject: [PATCH] misc: Add support for Intel Precise Touch & Stylus
 Subject: [PATCH] misc: Add support for Intel Precise Touch & Stylus
@@ -1501,7 +1501,7 @@ index 000000000000..53fb86a88f97
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From af203d5ea529b8d75dfcb53b993bd7c060d258a2 Mon Sep 17 00:00:00 2001
+From 5f7235918c23e2ae8d52ed8321188d1e740635c2 Mon Sep 17 00:00:00 2001
 From: Liban Hannan <liban.p@gmail.com>
 From: Liban Hannan <liban.p@gmail.com>
 Date: Tue, 12 Apr 2022 23:31:12 +0100
 Date: Tue, 12 Apr 2022 23:31:12 +0100
 Subject: [PATCH] iommu: ipts: use IOMMU passthrough mode for IPTS
 Subject: [PATCH] iommu: ipts: use IOMMU passthrough mode for IPTS

+ 17 - 17
patches/5.17/0005-surface-sam.patch

@@ -1,4 +1,4 @@
-From a992351b539f71c2d037d717d09052d2a7c454fc Mon Sep 17 00:00:00 2001
+From cfbd9e854148e4aef9d7eacd91e477aa0b9bcd87 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Tue, 8 Jun 2021 00:24:47 +0200
 Date: Tue, 8 Jun 2021 00:24:47 +0200
 Subject: [PATCH] platform/surface: aggregator: Allow devices to be marked as
 Subject: [PATCH] platform/surface: aggregator: Allow devices to be marked as
@@ -104,7 +104,7 @@ index cc257097eb05..491aa7e9f4bc 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 8c9b27fdeb07fd4c83bb0d9d79776f21640d39d6 Mon Sep 17 00:00:00 2001
+From 68636afb10b85c770c083a0d8a606140de8e2bd8 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Tue, 8 Jun 2021 00:48:22 +0200
 Date: Tue, 8 Jun 2021 00:48:22 +0200
 Subject: [PATCH] platform/surface: aggregator: Allow notifiers to avoid
 Subject: [PATCH] platform/surface: aggregator: Allow notifiers to avoid
@@ -397,7 +397,7 @@ index 491aa7e9f4bc..ad245c6b00d0 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 9c5a46d6a755d4c9546f44a4e13ef5a92bc98b2d Mon Sep 17 00:00:00 2001
+From bf3ce7f3d4c4e03ba411076640c64037703de563 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Tue, 8 Jun 2021 01:20:49 +0200
 Date: Tue, 8 Jun 2021 01:20:49 +0200
 Subject: [PATCH] platform/surface: aggregator_registry: Use client device
 Subject: [PATCH] platform/surface: aggregator_registry: Use client device
@@ -446,7 +446,7 @@ index ce2bd88feeaa..9f630e890ff7 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 86e1009150f92b4e756f6be81e80d45a42a9d497 Mon Sep 17 00:00:00 2001
+From 1df738bdc62b8dede679fe40d700f3459aeabf8a Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Thu, 28 Oct 2021 03:37:06 +0200
 Date: Thu, 28 Oct 2021 03:37:06 +0200
 Subject: [PATCH] power/supply: surface_charger: Use client device wrappers for
 Subject: [PATCH] power/supply: surface_charger: Use client device wrappers for
@@ -486,7 +486,7 @@ index a060c36c7766..59182d55742d 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 033434def6261f801001c8d76b4a525b33b77372 Mon Sep 17 00:00:00 2001
+From 4fa22a4b83fe1712465ad5704279e99818df352b Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Thu, 28 Oct 2021 03:38:09 +0200
 Date: Thu, 28 Oct 2021 03:38:09 +0200
 Subject: [PATCH] power/supply: surface_battery: Use client device wrappers for
 Subject: [PATCH] power/supply: surface_battery: Use client device wrappers for
@@ -526,7 +526,7 @@ index 5ec2e6bb2465..540707882bb0 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 2971cc213e3adb104ac7de5a0feff4237a255166 Mon Sep 17 00:00:00 2001
+From 50ee1b5c193edbd0847cb05935e214cd2a8b155c Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Tue, 8 Jun 2021 01:33:02 +0200
 Date: Tue, 8 Jun 2021 01:33:02 +0200
 Subject: [PATCH] HID: surface-hid: Add support for hot-removal
 Subject: [PATCH] HID: surface-hid: Add support for hot-removal
@@ -637,7 +637,7 @@ index e46330b2e561..87637f813de2 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From f579f070fff7d5245cc08e08f888e2522ac62024 Mon Sep 17 00:00:00 2001
+From cd4830779d38118c24a3e283eb635eed4a0a3628 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Sun, 31 Oct 2021 12:34:08 +0100
 Date: Sun, 31 Oct 2021 12:34:08 +0100
 Subject: [PATCH] platform/surface: aggregator: Add comment for KIP subsystem
 Subject: [PATCH] platform/surface: aggregator: Add comment for KIP subsystem
@@ -675,7 +675,7 @@ index c3de43edcffa..26b95ec12733 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 8102d2904cbbddf212983a946dcbd3612dde060a Mon Sep 17 00:00:00 2001
+From e0fcff75e59b8ff26b5e43261b06aa4085050f5b Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 29 Apr 2022 22:42:32 +0200
 Date: Fri, 29 Apr 2022 22:42:32 +0200
 Subject: [PATCH] platform/surface: aggregator_registry: Generify subsystem hub
 Subject: [PATCH] platform/surface: aggregator_registry: Generify subsystem hub
@@ -1062,7 +1062,7 @@ index 9f630e890ff7..09cbeee2428b 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 54a66b25ae897b15bb5bb5d5f4d930f3332f7c3f Mon Sep 17 00:00:00 2001
+From 08227344c68758847616975c97c2aa0df84d92c4 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 29 Apr 2022 23:02:06 +0200
 Date: Fri, 29 Apr 2022 23:02:06 +0200
 Subject: [PATCH] platform/surface: aggregator_registry: Add KIP device hub
 Subject: [PATCH] platform/surface: aggregator_registry: Add KIP device hub
@@ -1224,7 +1224,7 @@ index 09cbeee2428b..1e60435c7cce 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 6a2326ef63c3ac8b8dc45c6efee6933f649a1618 Mon Sep 17 00:00:00 2001
+From 659f4e03f100549c158da7005d8118db301eb57e Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Wed, 27 Oct 2021 22:33:03 +0200
 Date: Wed, 27 Oct 2021 22:33:03 +0200
 Subject: [PATCH] platform/surface: aggregator_registry: Add support for
 Subject: [PATCH] platform/surface: aggregator_registry: Add support for
@@ -1322,7 +1322,7 @@ index 1e60435c7cce..ab69669316bd 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 97b2239771769f3d843c72d143e7d683a7472700 Mon Sep 17 00:00:00 2001
+From adfed3e858e7716288f43dbba2e8f791e6dfda77 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Tue, 8 Jun 2021 03:19:20 +0200
 Date: Tue, 8 Jun 2021 03:19:20 +0200
 Subject: [PATCH] platform/surface: Add KIP tablet-mode switch
 Subject: [PATCH] platform/surface: Add KIP tablet-mode switch
@@ -1666,7 +1666,7 @@ index 000000000000..27371da71ef2
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 58cb6fbb1b2613b195cdc7adfb7261888028e3c9 Mon Sep 17 00:00:00 2001
+From 6b33da5c3b92b570908b1047b47b93d48980a4f3 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Wed, 27 Oct 2021 22:33:03 +0200
 Date: Wed, 27 Oct 2021 22:33:03 +0200
 Subject: [PATCH] platform/surface: aggregator_registry: Add support for tablet
 Subject: [PATCH] platform/surface: aggregator_registry: Add support for tablet
@@ -1716,7 +1716,7 @@ index ab69669316bd..c666392d4a9a 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From a330b47584598d3b8c4e80993787d7e5f1a1784e Mon Sep 17 00:00:00 2001
+From c4b68648f214854a73a4f1d1442f83b2269880ad Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Sat, 21 May 2022 00:30:46 +0200
 Date: Sat, 21 May 2022 00:30:46 +0200
 Subject: [PATCH] platform/surface: aggregator: Move device registry helper
 Subject: [PATCH] platform/surface: aggregator: Move device registry helper
@@ -2105,7 +2105,7 @@ index ad245c6b00d0..6ae110e830b4 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From cefc65cdcead1c23ab8a793d8a3779fed1e6f86d Mon Sep 17 00:00:00 2001
+From e053bb305e35af3074f8c7775ea7826bfb51e677 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Sat, 21 May 2022 00:39:56 +0200
 Date: Sat, 21 May 2022 00:39:56 +0200
 Subject: [PATCH] platform/surface: aggregator: Move subsystem hub drivers to
 Subject: [PATCH] platform/surface: aggregator: Move subsystem hub drivers to
@@ -2966,7 +2966,7 @@ index 3261c8141841..11b51aa9ea73 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From e2d2b665e1877096405e8c6b84922880d4bb795b Mon Sep 17 00:00:00 2001
+From 9b4bce884b68c87f3375b6120ba1428b31ceb6a6 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Sat, 21 May 2022 00:51:05 +0200
 Date: Sat, 21 May 2022 00:51:05 +0200
 Subject: [PATCH] platform/surface: aggregator: Be consistent with hub device
 Subject: [PATCH] platform/surface: aggregator: Be consistent with hub device
@@ -3028,7 +3028,7 @@ index 11b51aa9ea73..cee7121e7fa6 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 525b0a215a224a430766886ae4f382f5684095f2 Mon Sep 17 00:00:00 2001
+From 25809d9c6361dfcc0c2e6e3125aa803b595cb8fd Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Sat, 21 May 2022 00:57:40 +0200
 Date: Sat, 21 May 2022 00:57:40 +0200
 Subject: [PATCH] platform/surface: Update copyright year of various drivers
 Subject: [PATCH] platform/surface: Update copyright year of various drivers
@@ -3306,7 +3306,7 @@ index 1203b9a82993..ed36944467f9 100644
  
  
  #include <linux/fs.h>
  #include <linux/fs.h>
 diff --git a/drivers/platform/surface/surface_gpe.c b/drivers/platform/surface/surface_gpe.c
 diff --git a/drivers/platform/surface/surface_gpe.c b/drivers/platform/surface/surface_gpe.c
-index c1775db29efb..b7e48ba100b6 100644
+index ec66fde28e75..27365cbe1ee9 100644
 --- a/drivers/platform/surface/surface_gpe.c
 --- a/drivers/platform/surface/surface_gpe.c
 +++ b/drivers/platform/surface/surface_gpe.c
 +++ b/drivers/platform/surface/surface_gpe.c
 @@ -4,7 +4,7 @@
 @@ -4,7 +4,7 @@

+ 2 - 2
patches/5.17/0006-surface-sam-over-hid.patch

@@ -1,4 +1,4 @@
-From 25d1faa2928596cc4902653225e57741688730a4 Mon Sep 17 00:00:00 2001
+From fd3c7e238c204bc2541b42ce90ed65f4b54e9873 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Sat, 25 Jul 2020 17:19:53 +0200
 Date: Sat, 25 Jul 2020 17:19:53 +0200
 Subject: [PATCH] i2c: acpi: Implement RawBytes read access
 Subject: [PATCH] i2c: acpi: Implement RawBytes read access
@@ -110,7 +110,7 @@ index 85ed4c1d4924..942c1c9a4ea5 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 2ec19064dafe6c2150f2fab606ad38fcfdc757d0 Mon Sep 17 00:00:00 2001
+From bbb0778286ea9dd4f3251460e118620d8c63abf0 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Sat, 13 Feb 2021 16:41:18 +0100
 Date: Sat, 13 Feb 2021 16:41:18 +0100
 Subject: [PATCH] platform/surface: Add driver for Surface Book 1 dGPU switch
 Subject: [PATCH] platform/surface: Add driver for Surface Book 1 dGPU switch

+ 4 - 4
patches/5.17/0008-surface-button.patch → patches/5.17/0007-surface-button.patch

@@ -1,4 +1,4 @@
-From 0e6a0910bdec9c3b4d9658207c7b2cde6d86d375 Mon Sep 17 00:00:00 2001
+From b4df6df9a28e81efa99ae2fb8b5de57ea7af3749 Mon Sep 17 00:00:00 2001
 From: Sachi King <nakato@nakato.io>
 From: Sachi King <nakato@nakato.io>
 Date: Tue, 5 Oct 2021 00:05:09 +1100
 Date: Tue, 5 Oct 2021 00:05:09 +1100
 Subject: [PATCH] Input: soc_button_array - support AMD variant Surface devices
 Subject: [PATCH] Input: soc_button_array - support AMD variant Surface devices
@@ -75,7 +75,7 @@ index cb6ec59a045d..4e8944f59def 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 6224cf2d064ad98e8aa6153be11cbee3fc760cdc Mon Sep 17 00:00:00 2001
+From 24136f82654cea9a20b1972e3207d0b6f48deeaf Mon Sep 17 00:00:00 2001
 From: Sachi King <nakato@nakato.io>
 From: Sachi King <nakato@nakato.io>
 Date: Tue, 5 Oct 2021 00:22:57 +1100
 Date: Tue, 5 Oct 2021 00:22:57 +1100
 Subject: [PATCH] platform/surface: surfacepro3_button: don't load on amd
 Subject: [PATCH] platform/surface: surfacepro3_button: don't load on amd
@@ -147,7 +147,7 @@ index 242fb690dcaf..30eea54dbb47 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From a8a665d668c8b626813a8fefe5c2be602fdabf31 Mon Sep 17 00:00:00 2001
+From 65e816a170ba874045d0cf2bb9ec6d45e9ec28c5 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede@redhat.com>
 From: Hans de Goede <hdegoede@redhat.com>
 Date: Thu, 24 Feb 2022 12:02:40 +0100
 Date: Thu, 24 Feb 2022 12:02:40 +0100
 Subject: [PATCH] Input: soc_button_array - add support for Microsoft Surface 3
 Subject: [PATCH] Input: soc_button_array - add support for Microsoft Surface 3
@@ -250,7 +250,7 @@ index 4e8944f59def..f044c731c6a9 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 0e038f31633b889e5c4bd8b888fac74a69ac3b0f Mon Sep 17 00:00:00 2001
+From 069c2f2d2438b0f689c550d6f1e45c66b85d10c0 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede@redhat.com>
 From: Hans de Goede <hdegoede@redhat.com>
 Date: Thu, 24 Feb 2022 12:02:41 +0100
 Date: Thu, 24 Feb 2022 12:02:41 +0100
 Subject: [PATCH] platform/surface: Remove Surface 3 Button driver
 Subject: [PATCH] platform/surface: Remove Surface 3 Button driver

+ 0 - 37
patches/5.17/0007-surface-gpe.patch

@@ -1,37 +0,0 @@
-From fa15e994d04fdd10bc3b0201d27574206ba44662 Mon Sep 17 00:00:00 2001
-From: Maximilian Luz <luzmaximilian@gmail.com>
-Date: Wed, 27 Oct 2021 00:56:11 +0200
-Subject: [PATCH] platform/surface: gpe: Add support for Surface Pro 8
-
-The new Surface Pro 8 uses GPEs for lid events as well. Add an entry for
-that so that the lid can be used to wake the device. Note that this is a
-device with a keyboard type cover, where this acts as the "lid".
-
-Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
-Patchset: surface-gpe
----
- drivers/platform/surface/surface_gpe.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/drivers/platform/surface/surface_gpe.c b/drivers/platform/surface/surface_gpe.c
-index b7e48ba100b6..27365cbe1ee9 100644
---- a/drivers/platform/surface/surface_gpe.c
-+++ b/drivers/platform/surface/surface_gpe.c
-@@ -99,6 +99,14 @@ static const struct dmi_system_id dmi_lid_device_table[] = {
- 		},
- 		.driver_data = (void *)lid_device_props_l4D,
- 	},
-+	{
-+		.ident = "Surface Pro 8",
-+		.matches = {
-+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
-+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Surface Pro 8"),
-+		},
-+		.driver_data = (void *)lid_device_props_l4B,
-+	},
- 	{
- 		.ident = "Surface Book 1",
- 		.matches = {
--- 
-2.36.1
-

+ 2 - 2
patches/5.17/0009-surface-typecover.patch → patches/5.17/0008-surface-typecover.patch

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

+ 2 - 2
patches/5.17/0010-surface-battery.patch → patches/5.17/0009-surface-battery.patch

@@ -1,4 +1,4 @@
-From 93fa65ace198e7abaa1a27e42f3ebcf509022902 Mon Sep 17 00:00:00 2001
+From 74f6cdf32a442f7f76e259a9e7de8314da949fc2 Mon Sep 17 00:00:00 2001
 From: Werner Sembach <wse@tuxedocomputers.com>
 From: Werner Sembach <wse@tuxedocomputers.com>
 Date: Wed, 27 Apr 2022 17:40:53 +0200
 Date: Wed, 27 Apr 2022 17:40:53 +0200
 Subject: [PATCH] ACPI: battery: Make "not-charging" the default on no charging
 Subject: [PATCH] ACPI: battery: Make "not-charging" the default on no charging
@@ -81,7 +81,7 @@ index dc208f5f5a1f..306513fec1e1 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From a29f2ab8670becc07a56ccdfe3a7a1fe64730803 Mon Sep 17 00:00:00 2001
+From 1e3fec36f879a1579b39db1b992fb00cb6be776b Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Wed, 25 May 2022 14:20:10 +0200
 Date: Wed, 25 May 2022 14:20:10 +0200
 Subject: [PATCH] HID: hid-input: add Surface Go battery quirk
 Subject: [PATCH] HID: hid-input: add Surface Go battery quirk

+ 10 - 10
patches/5.17/0011-cameras.patch → patches/5.17/0010-cameras.patch

@@ -1,4 +1,4 @@
-From bab798deb7e8defbe4a0f5bb02e6254a3261c21c Mon Sep 17 00:00:00 2001
+From a9bd80248d39da75c8627efb91bac60e826bb0d1 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede@redhat.com>
 From: Hans de Goede <hdegoede@redhat.com>
 Date: Sun, 10 Oct 2021 20:56:57 +0200
 Date: Sun, 10 Oct 2021 20:56:57 +0200
 Subject: [PATCH] ACPI: delay enumeration of devices with a _DEP pointing to an
 Subject: [PATCH] ACPI: delay enumeration of devices with a _DEP pointing to an
@@ -74,7 +74,7 @@ index c82b1bfa1c3d..2227625202aa 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From afc8f21e4250f6ff57c9385be877943253491d94 Mon Sep 17 00:00:00 2001
+From c19077230d9cfedda6112872f099bb9026ccd321 Mon Sep 17 00:00:00 2001
 From: zouxiaoh <xiaohong.zou@intel.com>
 From: zouxiaoh <xiaohong.zou@intel.com>
 Date: Fri, 25 Jun 2021 08:52:59 +0800
 Date: Fri, 25 Jun 2021 08:52:59 +0800
 Subject: [PATCH] iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs
 Subject: [PATCH] iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs
@@ -191,7 +191,7 @@ index a91eed82bb39..0d16c6bf0e0b 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 997c2b1f0237bc456dc61e869e78a4487bca07d9 Mon Sep 17 00:00:00 2001
+From ae888d27e7c03329bf9bf0e56abbbfcb1a42fb56 Mon Sep 17 00:00:00 2001
 From: Daniel Scally <djrscally@gmail.com>
 From: Daniel Scally <djrscally@gmail.com>
 Date: Sun, 10 Oct 2021 20:57:02 +0200
 Date: Sun, 10 Oct 2021 20:57:02 +0200
 Subject: [PATCH] platform/x86: int3472: Enable I2c daisy chain
 Subject: [PATCH] platform/x86: int3472: Enable I2c daisy chain
@@ -228,7 +228,7 @@ index 22f61b47f9e5..e1de1ff40bba 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From c3c397ab746342288b4299b452c3ae2fd615be44 Mon Sep 17 00:00:00 2001
+From 9d5079944d4c405f9fe0906f00de3bf1e808138e Mon Sep 17 00:00:00 2001
 From: Daniel Scally <djrscally@gmail.com>
 From: Daniel Scally <djrscally@gmail.com>
 Date: Thu, 28 Oct 2021 21:55:16 +0100
 Date: Thu, 28 Oct 2021 21:55:16 +0100
 Subject: [PATCH] media: i2c: Add driver for DW9719 VCM
 Subject: [PATCH] media: i2c: Add driver for DW9719 VCM
@@ -734,7 +734,7 @@ index 000000000000..8451c75b696b
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 49bf34135d89166093cfea5f817e5ac6862b0ccf Mon Sep 17 00:00:00 2001
+From 78ee649f9b24ed79163b1bf37f0f49437c36a22e Mon Sep 17 00:00:00 2001
 From: Daniel Scally <djrscally@gmail.com>
 From: Daniel Scally <djrscally@gmail.com>
 Date: Mon, 13 Dec 2021 22:38:17 +0000
 Date: Mon, 13 Dec 2021 22:38:17 +0000
 Subject: [PATCH] media: entity: Skip non-data links in graph iteration
 Subject: [PATCH] media: entity: Skip non-data links in graph iteration
@@ -769,7 +769,7 @@ index b411f9796191..d0563ee4b28b 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 84e122d9c2fa461ce17b61989b5676c695a07fba Mon Sep 17 00:00:00 2001
+From ed44ccd329ae40244c0fb5856158fad04ea4308b Mon Sep 17 00:00:00 2001
 From: Daniel Scally <djrscally@gmail.com>
 From: Daniel Scally <djrscally@gmail.com>
 Date: Mon, 13 Dec 2021 22:53:09 +0000
 Date: Mon, 13 Dec 2021 22:53:09 +0000
 Subject: [PATCH] media: media.h: Add new media link type
 Subject: [PATCH] media: media.h: Add new media link type
@@ -853,7 +853,7 @@ index 200fa8462b90..afbae7213d35 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From b9085eecf59dc89d1b82337697e455b31cdd4e1c Mon Sep 17 00:00:00 2001
+From 4882889617a5e11426c8d73fc5ce7f7f4f635772 Mon Sep 17 00:00:00 2001
 From: Daniel Scally <djrscally@gmail.com>
 From: Daniel Scally <djrscally@gmail.com>
 Date: Mon, 13 Dec 2021 22:36:31 +0000
 Date: Mon, 13 Dec 2021 22:36:31 +0000
 Subject: [PATCH] media: entity: Add link_type_name() helper
 Subject: [PATCH] media: entity: Add link_type_name() helper
@@ -908,7 +908,7 @@ index d0563ee4b28b..1a7d0a4fb9e8 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 6f6547dac5f877a7c07c0f947167d3af109888fb Mon Sep 17 00:00:00 2001
+From 709261700d7eeafede148830032d1f431e5f9560 Mon Sep 17 00:00:00 2001
 From: Daniel Scally <djrscally@gmail.com>
 From: Daniel Scally <djrscally@gmail.com>
 Date: Mon, 13 Dec 2021 22:54:10 +0000
 Date: Mon, 13 Dec 2021 22:54:10 +0000
 Subject: [PATCH] media: entity: Add support for ancillary links
 Subject: [PATCH] media: entity: Add support for ancillary links
@@ -985,7 +985,7 @@ index fea489f03d57..2a58defc4886 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From eb85a0a2c18d5596e996322286ffb1bcc326443c Mon Sep 17 00:00:00 2001
+From 752b3148742da9919294c1f2f5d0e49ccc8d53c5 Mon Sep 17 00:00:00 2001
 From: Daniel Scally <djrscally@gmail.com>
 From: Daniel Scally <djrscally@gmail.com>
 Date: Fri, 26 Nov 2021 22:55:50 +0000
 Date: Fri, 26 Nov 2021 22:55:50 +0000
 Subject: [PATCH] media: v4l2-async: Create links during
 Subject: [PATCH] media: v4l2-async: Create links during
@@ -1058,7 +1058,7 @@ index 0404267f1ae4..436bd6900fd8 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From 613f354f08b44f7e0909c7ffde8f9ce69c81acc8 Mon Sep 17 00:00:00 2001
+From cdb86642d604bc85f5ae0ab51125a40ee9d387c4 Mon Sep 17 00:00:00 2001
 From: Daniel Scally <djrscally@gmail.com>
 From: Daniel Scally <djrscally@gmail.com>
 Date: Wed, 4 May 2022 23:21:45 +0100
 Date: Wed, 4 May 2022 23:21:45 +0100
 Subject: [PATCH] media: ipu3-cio2: Move functionality from .complete() to
 Subject: [PATCH] media: ipu3-cio2: Move functionality from .complete() to

+ 2 - 2
patches/5.17/0012-amd-gpio.patch → patches/5.17/0011-amd-gpio.patch

@@ -1,4 +1,4 @@
-From cdc9fb2f64ebffa0f587d9dcebb5070703a784a3 Mon Sep 17 00:00:00 2001
+From bbc2dd4f1fb37c351678cbf34352a3397791f11f Mon Sep 17 00:00:00 2001
 From: Sachi King <nakato@nakato.io>
 From: Sachi King <nakato@nakato.io>
 Date: Sat, 29 May 2021 17:47:38 +1000
 Date: Sat, 29 May 2021 17:47:38 +1000
 Subject: [PATCH] ACPI: Add quirk for Surface Laptop 4 AMD missing irq 7
 Subject: [PATCH] ACPI: Add quirk for Surface Laptop 4 AMD missing irq 7
@@ -65,7 +65,7 @@ index 0d01e7f5078c..2b06cf5f2b1f 100644
 -- 
 -- 
 2.36.1
 2.36.1
 
 
-From fceaab89173a0d9d3e55d3b90e06c15ca4f04cc7 Mon Sep 17 00:00:00 2001
+From 0b03e105df69036b376d471915a284a9c1e86c3d Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Thu, 3 Jun 2021 14:04:26 +0200
 Date: Thu, 3 Jun 2021 14:04:26 +0200
 Subject: [PATCH] ACPI: Add AMD 13" Surface Laptop 4 model to irq 7 override
 Subject: [PATCH] ACPI: Add AMD 13" Surface Laptop 4 model to irq 7 override