From cb2122042f64cabdb1304e01501f6d983c2726c4 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 19 Aug 2022 23:01:07 +0200 Subject: [PATCH] Update v5.19 patches Changes: - Rebase onto v5.19.2 Links: - kernel: https://github.com/linux-surface/kernel/commit/8e33cd037d4a68a5feabf796ea0b61e4ec018eeb --- patches/5.19/0001-surface3-oemb.patch | 4 +- patches/5.19/0002-mwifiex.patch | 28 ++-- patches/5.19/0003-ath10k.patch | 4 +- patches/5.19/0004-ipts.patch | 12 +- patches/5.19/0005-surface-sam.patch | 120 +++++++++--------- patches/5.19/0006-surface-sam-over-hid.patch | 8 +- patches/5.19/0007-surface-button.patch | 8 +- patches/5.19/0008-surface-typecover.patch | 8 +- patches/5.19/0009-surface-battery.patch | 48 ------- ...rface-gpe.patch => 0009-surface-gpe.patch} | 4 +- ...{0011-cameras.patch => 0010-cameras.patch} | 34 ++--- ...012-amd-gpio.patch => 0011-amd-gpio.patch} | 8 +- 12 files changed, 119 insertions(+), 167 deletions(-) delete mode 100644 patches/5.19/0009-surface-battery.patch rename patches/5.19/{0010-surface-gpe.patch => 0009-surface-gpe.patch} (95%) rename patches/5.19/{0011-cameras.patch => 0010-cameras.patch} (97%) rename patches/5.19/{0012-amd-gpio.patch => 0011-amd-gpio.patch} (95%) diff --git a/patches/5.19/0001-surface3-oemb.patch b/patches/5.19/0001-surface3-oemb.patch index cd404d88b..89738ac08 100644 --- a/patches/5.19/0001-surface3-oemb.patch +++ b/patches/5.19/0001-surface3-oemb.patch @@ -1,4 +1,4 @@ -From 078652a47159f114689add6f373abe0a02300e7c Mon Sep 17 00:00:00 2001 +From e05fbddb1b8c2bbe90773710990044a6fb9b79c7 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 @@ -97,5 +97,5 @@ index 6beb00858c33..d82d77387a0a 100644 }; -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0002-mwifiex.patch b/patches/5.19/0002-mwifiex.patch index 682e40c05..8559564a7 100644 --- a/patches/5.19/0002-mwifiex.patch +++ b/patches/5.19/0002-mwifiex.patch @@ -1,4 +1,4 @@ -From a087da4bad9b7086225e6fff700eae152bdb2c46 Mon Sep 17 00:00:00 2001 +From 7eb35c6f97f044c02aa1d17f8baaa2977245ea2f 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 @@ -181,9 +181,9 @@ index 8ec4176d698f..25370c5a4f59 100644 int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev); +int mwifiex_pcie_reset_wsid_quirk(struct pci_dev *pdev); -- -2.37.1 +2.37.2 -From 6622e6f29f2b917800149cd0e985bb4cc6b770ae Mon Sep 17 00:00:00 2001 +From 6bd6dc5b6a12094bbd96807b5b6d7aab7dd6fe72 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 @@ -243,9 +243,9 @@ index 563dd0d5ac79..32e2f000e57b 100644 }; -- -2.37.1 +2.37.2 -From b2dc31fd5137b8dab8ded67498d6f2b80f1f9414 Mon Sep 17 00:00:00 2001 +From f2c9416e852236ef69047eaec524d21bedb5968d 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+ @@ -398,9 +398,9 @@ index 25370c5a4f59..a1de111ad1db 100644 void mwifiex_initialize_quirks(struct pcie_service_card *card); int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev); -- -2.37.1 +2.37.2 -From 35c1eccdf85145abda992d57ae3c234baeaa9044 Mon Sep 17 00:00:00 2001 +From a4d20b90be898a748472593439426f4960a85183 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 @@ -565,9 +565,9 @@ index a1de111ad1db..0e429779bb04 100644 void mwifiex_initialize_quirks(struct pcie_service_card *card); int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev); -- -2.37.1 +2.37.2 -From 4968cdbd71a2ec9c99134afd1dbba3d9ee74509e Mon Sep 17 00:00:00 2001 +From d915cfc0e874102c523e9d696c8aa7b3610c6602 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 @@ -603,7 +603,7 @@ Patchset: mwifiex 1 file changed, 15 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c -index e25fcd49db70..a3cca97825d4 100644 +index aaba2d737178..5d29e592cd34 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -63,6 +63,7 @@ static struct usb_driver btusb_driver; @@ -622,7 +622,7 @@ index e25fcd49db70..a3cca97825d4 100644 /* Intel Bluetooth devices */ { USB_DEVICE(0x8087, 0x0025), .driver_info = BTUSB_INTEL_COMBINED }, -@@ -3788,6 +3790,19 @@ static int btusb_probe(struct usb_interface *intf, +@@ -3803,6 +3805,19 @@ static int btusb_probe(struct usb_interface *intf, if (id->driver_info & BTUSB_MARVELL) hdev->set_bdaddr = btusb_set_bdaddr_marvell; @@ -643,9 +643,9 @@ index e25fcd49db70..a3cca97825d4 100644 (id->driver_info & BTUSB_MEDIATEK)) { hdev->setup = btusb_mtk_setup; -- -2.37.1 +2.37.2 -From 0d94f1f3c699a1fbdb41061a36c66fb9a1de2b57 Mon Sep 17 00:00:00 2001 +From fcda55cfade04a6c28891c9faf3e23c28eddd4e4 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 @@ -700,5 +700,5 @@ index 24bcd22a2618..b4ad0113a035 100644 } -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0003-ath10k.patch b/patches/5.19/0003-ath10k.patch index e868d0107..094f3ea6b 100644 --- a/patches/5.19/0003-ath10k.patch +++ b/patches/5.19/0003-ath10k.patch @@ -1,4 +1,4 @@ -From 112363a0024d309f1a42e5c701916b86a71d3efb Mon Sep 17 00:00:00 2001 +From 7e5a7a5fdad5b351eb1e559c47689c59d50c53ba 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 @@ -117,5 +117,5 @@ index 688177453b07..e400a0318838 100644 ret = firmware_request_nowarn(&fw, filename, ar->dev); ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot fw request '%s': %d\n", -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0004-ipts.patch b/patches/5.19/0004-ipts.patch index 6f690dad1..7d40a259f 100644 --- a/patches/5.19/0004-ipts.patch +++ b/patches/5.19/0004-ipts.patch @@ -1,4 +1,4 @@ -From b2398457116838b9da2c1f280bafa6defb8ece9a Mon Sep 17 00:00:00 2001 +From aa1356f50c7a2531216b17f2a5f4bb82a261dbd8 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 @@ -34,9 +34,9 @@ index 5435604327a7..1165ee4f5928 100644 {MEI_PCI_DEVICE(MEI_DEV_ID_TGP_LP, MEI_ME_PCH15_CFG)}, -- -2.37.1 +2.37.2 -From 095b1ba9131f883f3583800fe39d940f17ae1bac Mon Sep 17 00:00:00 2001 +From 4ca512b8978b24c5cf673cfd4f4df04328eabbca 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 @@ -1499,9 +1499,9 @@ index 000000000000..53fb86a88f97 + +#endif /* _IPTS_UAPI_H_ */ -- -2.37.1 +2.37.2 -From aa4bc1e5db020eca7a889b3328d593573cb06928 Mon Sep 17 00:00:00 2001 +From 454fbf757af546353ef156730f1012fe5aed0a9c 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 @@ -1599,5 +1599,5 @@ index 5c0dce78586a..825b524e81f3 100644 { if (risky_device(dev)) -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0005-surface-sam.patch b/patches/5.19/0005-surface-sam.patch index dab4f4530..47205d4f9 100644 --- a/patches/5.19/0005-surface-sam.patch +++ b/patches/5.19/0005-surface-sam.patch @@ -1,4 +1,4 @@ -From 0a7622f7cd89a2a850caab7794f6a640dee4a5e8 Mon Sep 17 00:00:00 2001 +From c6110239d00406e65a8189702a2e8fb9494f1b28 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 @@ -53,9 +53,9 @@ index cc257097eb05..62b38b4487eb 100644 * to_ssam_device() - Casts the given device to a SSAM client device. * @d: The device to cast. -- -2.37.1 +2.37.2 -From 59ccf6b69fdd0e03572a3e72bf5d16bb93279ab8 Mon Sep 17 00:00:00 2001 +From fa4e77dc150efbb608efd1ee54ceff557e3ebab6 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 @@ -162,9 +162,9 @@ index 62b38b4487eb..6df7c8d4e50e 100644 * ssam_device_get() - Increment reference count of SSAM client device. * @sdev: The device to increment the reference count of. -- -2.37.1 +2.37.2 -From f245465a0ede2e4b52cf058caaf043e14065370b Mon Sep 17 00:00:00 2001 +From e3d8ba1a98ef364b5d49e74f22b443296004c2dd 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 @@ -458,9 +458,9 @@ index 6df7c8d4e50e..c418f7f2732d 100644 + #endif /* _LINUX_SURFACE_AGGREGATOR_DEVICE_H */ -- -2.37.1 +2.37.2 -From 75e02994d3a8b2cd245918f9e5087b17d287f17e Mon Sep 17 00:00:00 2001 +From 44128ef92d57fe2e3c99078c85fa91047fbb81f9 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 @@ -510,9 +510,9 @@ index ce2bd88feeaa..9f630e890ff7 100644 ssam_remove_clients(&sdev->dev); } -- -2.37.1 +2.37.2 -From 47c31518e1c63bfa6d1c8dfec5db080f1ceb8749 Mon Sep 17 00:00:00 2001 +From 9cd87ca382d8a7aee293bfdc788414e1b58088e2 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 @@ -554,9 +554,9 @@ index a060c36c7766..59182d55742d 100644 static const struct spwr_psy_properties spwr_psy_props_adp1 = { -- -2.37.1 +2.37.2 -From c588c883700fd3dd5cb03de059f15746651327fa Mon Sep 17 00:00:00 2001 +From faf6c119b16b39e516be3a8807ec2214cce5abc8 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 @@ -598,9 +598,9 @@ index 5ec2e6bb2465..540707882bb0 100644 } -- -2.37.1 +2.37.2 -From 678945c668057fb32298231e4c6ce14a1cbacb6b Mon Sep 17 00:00:00 2001 +From 0c02bd84d3fb383430e391fa9cf546c0779d2382 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 @@ -712,9 +712,9 @@ index e46330b2e561..87637f813de2 100644 return shid->ops.output_report(shid, reportnum, buf, len); -- -2.37.1 +2.37.2 -From 9797970d6472dec59e7cdeb112ef406e6a14a201 Mon Sep 17 00:00:00 2001 +From 1778d54125b12c24de5f169bdaa9b12208d2d088 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 @@ -753,9 +753,9 @@ index c3de43edcffa..26b95ec12733 100644 SSAM_SSH_TC_BLD = 0x10, SSAM_SSH_TC_BAS = 0x11, /* Detachment system (Surface Book 2/3). */ -- -2.37.1 +2.37.2 -From 50b9b6d1d3d557a736d113724e4689af80510948 Mon Sep 17 00:00:00 2001 +From fadce9be49b14d343bcebff0949a812655d79d7b 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 @@ -1143,9 +1143,9 @@ index 9f630e890ff7..09cbeee2428b 100644 }; -- -2.37.1 +2.37.2 -From c74992ea392a3a93d52871413c3a2f97df2051f9 Mon Sep 17 00:00:00 2001 +From 13ef6b4f19302c4e8dfbef3b32fb7266eb642f4b 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 @@ -1187,9 +1187,9 @@ index 09cbeee2428b..b11ce87c7184 100644 }; -- -2.37.1 +2.37.2 -From 7fffe2d6e96ec095bd559fbc18739755f6245619 Mon Sep 17 00:00:00 2001 +From 5e90aac7571987b7602bf0a75067e711b2f17f16 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 @@ -1352,9 +1352,9 @@ index b11ce87c7184..f15cef60630f 100644 platform_driver_unregister(&ssam_platform_hub_driver); } -- -2.37.1 +2.37.2 -From c0f82811a24c4a1b5efb26bb80fb0667dd5ce4d0 Mon Sep 17 00:00:00 2001 +From 2579d101aee92421e9eaaba3fae6c8d6348208aa 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 @@ -1453,9 +1453,9 @@ index f15cef60630f..bf3303f1aa71 100644 }; -- -2.37.1 +2.37.2 -From ef9a5571a61a0c66a7ee9f5405fe0093e05dcd30 Mon Sep 17 00:00:00 2001 +From 5d32e60f8a483e845f1597adb2f4645c51e94676 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 @@ -1532,9 +1532,9 @@ index 7b758f8cc137..c0e12f0b9b79 100644 MODULE_AUTHOR("Maximilian Luz "); MODULE_DESCRIPTION("Surface ACPI Notify driver for Surface System Aggregator Module"); -- -2.37.1 +2.37.2 -From 99089941381fc15d506ac273527e758eed824bfd Mon Sep 17 00:00:00 2001 +From 442b2b0242996c2d287619ef02b71d25c7103b92 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 @@ -1754,9 +1754,9 @@ index 26b95ec12733..45501b6e54e8 100644 -- -2.37.1 +2.37.2 -From 318b0e7587fb5b3849089ea7bc84835383f22029 Mon Sep 17 00:00:00 2001 +From a13260527cf9250a6c419594427d0983233ab722 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 @@ -1967,9 +1967,9 @@ index c418f7f2732d..6cf7e80312d5 100644 /* -- Helpers for client-device notifiers. ---------------------------------- */ -- -2.37.1 +2.37.2 -From 512045cafc726b6ed25380f9e8da1a03d54b468b Mon Sep 17 00:00:00 2001 +From 23d2e2d44bd52c0a39eaa962aa571e5e057d165c 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 @@ -2097,10 +2097,10 @@ index 000000000000..74cd9d754e60 + must not rely on this list of states being exhaustive and + gracefully handle unknown states. diff --git a/MAINTAINERS b/MAINTAINERS -index 64379c699903..11b84de77ab8 100644 +index 08620b9a44fc..773eb8387f4a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS -@@ -13304,6 +13304,12 @@ F: drivers/scsi/smartpqi/smartpqi*.[ch] +@@ -13299,6 +13299,12 @@ F: drivers/scsi/smartpqi/smartpqi*.[ch] F: include/linux/cciss*.h F: include/uapi/linux/cciss*.h @@ -2699,9 +2699,9 @@ index 000000000000..596ca6c80681 +MODULE_DESCRIPTION("Tablet mode switch driver for Surface devices using the Surface Aggregator Module"); +MODULE_LICENSE("GPL"); -- -2.37.1 +2.37.2 -From b4980b9b4fea5724a15e45584f45b5d3280cc530 Mon Sep 17 00:00:00 2001 +From b0b63c71ca4cca6db6f01b20abf92ed87d32acbd 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 @@ -2752,9 +2752,9 @@ index bf3303f1aa71..8f249df673a4 100644 }; -- -2.37.1 +2.37.2 -From 0961eab47ed4dce567fd3ffd8be1573f9569282d Mon Sep 17 00:00:00 2001 +From 24b95921c99756179efb5382e88c2e40b27586ba 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 @@ -2799,9 +2799,9 @@ index 8f249df673a4..f1c5905f1c16 100644 &ssam_node_hid_tid1_penstash, &ssam_node_hid_tid1_touchpad, -- -2.37.1 +2.37.2 -From 725529e652ccbc578cd2f6e453cc86bb3294f2d4 Mon Sep 17 00:00:00 2001 +From 055fd9c3211fdbf97da67d52c000884a6abb7c74 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 @@ -3195,9 +3195,9 @@ index 6cf7e80312d5..46c45d1b6368 100644 /* -- Helpers for client-device requests. ----------------------------------- */ -- -2.37.1 +2.37.2 -From d3e38dda072f2cfa87b8074b4efe1dfc006345c9 Mon Sep 17 00:00:00 2001 +From 822f031694f66f2ac28d88b8296462ab83be0e79 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 @@ -3224,10 +3224,10 @@ Patchset: surface-sam create mode 100644 drivers/platform/surface/surface_aggregator_hub.c diff --git a/MAINTAINERS b/MAINTAINERS -index 11b84de77ab8..a29042434d9e 100644 +index 773eb8387f4a..55e80354a097 100644 --- a/MAINTAINERS +++ b/MAINTAINERS -@@ -13381,6 +13381,12 @@ F: include/linux/surface_acpi_notify.h +@@ -13376,6 +13376,12 @@ F: include/linux/surface_acpi_notify.h F: include/linux/surface_aggregator/ F: include/uapi/linux/surface_aggregator/ @@ -4085,9 +4085,9 @@ index c680792a037e..0cbb7f3a6b2d 100644 MODULE_AUTHOR("Maximilian Luz "); MODULE_DESCRIPTION("Device-registry for Surface System Aggregator Module"); -- -2.37.1 +2.37.2 -From 114e28179e83a80f1128056b7d91cc151b24f6ad Mon Sep 17 00:00:00 2001 +From d2a2ff8627b303e319809102e8c5269a43930146 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 @@ -4407,9 +4407,9 @@ index 6373d3b5eb7f..fbf2e11fd6ce 100644 #include -- -2.37.1 +2.37.2 -From a73e0c964ed06bc1294ab0862a6b795fcf73911d Mon Sep 17 00:00:00 2001 +From f97db7a026de020482058d16c1df81406cde612d 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 @@ -4440,10 +4440,10 @@ Patchset: surface-sam 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS -index a29042434d9e..c967eb4675b7 100644 +index 55e80354a097..6772c9d0eccc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS -@@ -13308,7 +13308,7 @@ MICROSOFT SURFACE AGGREGATOR TABLET-MODE SWITCH +@@ -13303,7 +13303,7 @@ MICROSOFT SURFACE AGGREGATOR TABLET-MODE SWITCH M: Maximilian Luz L: platform-driver-x86@vger.kernel.org S: Maintained @@ -4453,9 +4453,9 @@ index a29042434d9e..c967eb4675b7 100644 MICROSOFT SURFACE BATTERY AND AC DRIVERS M: Maximilian Luz -- -2.37.1 +2.37.2 -From 0ba68391040ba804f381cf1e80fed98ff9810016 Mon Sep 17 00:00:00 2001 +From a706d9e160bcc1def0b534af9944ce5b578a2a22 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 @@ -4497,9 +4497,9 @@ index 596ca6c80681..27d95a6a7851 100644 *source_id = get_unaligned_le32(&sources.id[0]); return 0; -- -2.37.1 +2.37.2 -From ff91dba8ef6eab54f9025cd35d52028cb75cbf3e Mon Sep 17 00:00:00 2001 +From 71f6af10b4d95d6fa30e29339dc46518018d5cf3 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 @@ -4529,9 +4529,9 @@ index d5655f6a4a41..93ab62eb393d 100644 { "MSHW0123", (unsigned long)ssam_node_group_sls }, -- -2.37.1 +2.37.2 -From e399ffd43d7419256f29b8834211ed6685f6ca2d Mon Sep 17 00:00:00 2001 +From 7f8a1978ffa85d6597bc7569498fd85951fa7c65 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 @@ -4602,9 +4602,9 @@ index 93ab62eb393d..7d82398f55b1 100644 }; -- -2.37.1 +2.37.2 -From 1d687b69d2e5eadb47710d4cc2b811a130787120 Mon Sep 17 00:00:00 2001 +From 1f3ee352e38c67f68b0f11574dda88e058c46887 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 @@ -4695,9 +4695,9 @@ index 7d82398f55b1..9970f89b1411 100644 }; -- -2.37.1 +2.37.2 -From 89fac2c107f3738bb8a67144827d35ab3e2d92eb Mon Sep 17 00:00:00 2001 +From 697c650c38c056a5a85ab5335269b10957721f77 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 @@ -4731,5 +4731,5 @@ index 9970f89b1411..585911020cea 100644 }; -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0006-surface-sam-over-hid.patch b/patches/5.19/0006-surface-sam-over-hid.patch index cf2ae8faa..20c2f1b7c 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 155fdf1df300409bfc1536e135759d34fae35304 Mon Sep 17 00:00:00 2001 +From 03f2abe0eb158e3ab26b5d5fc27ae4820c82b641 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 @@ -108,9 +108,9 @@ index 08b561f0709d..d7c397bce0f0 100644 dev_warn(&adapter->dev, "protocol 0x%02x not supported for client 0x%02x\n", accessor_type, client->addr); -- -2.37.1 +2.37.2 -From cbe209d65b48663c40abdf82c7c5d668df442094 Mon Sep 17 00:00:00 2001 +From eb8637ef70b526861a95071ab1e41f8b9d42f9c8 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 @@ -331,5 +331,5 @@ index 000000000000..8b816ed8f35c +MODULE_DESCRIPTION("Discrete GPU Power-Switch for Surface Book 1"); +MODULE_LICENSE("GPL"); -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0007-surface-button.patch b/patches/5.19/0007-surface-button.patch index 23c4a5ca2..246e8113e 100644 --- a/patches/5.19/0007-surface-button.patch +++ b/patches/5.19/0007-surface-button.patch @@ -1,4 +1,4 @@ -From b4993715b5baeaf0f9bad2e5f7633f2d7c6dd4b8 Mon Sep 17 00:00:00 2001 +From 28370e564fdba60962bb36caed131930fedf99fd 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 @@ -73,9 +73,9 @@ index 480476121c01..36e1bf7b7a01 100644 /* -- -2.37.1 +2.37.2 -From 0abe57af1226e43b82a5e65f65ab791ff7e1e71a Mon Sep 17 00:00:00 2001 +From e79c0fb1ecd8ea8c3475350cec9ebfe34467578a 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 @@ -145,5 +145,5 @@ index 242fb690dcaf..30eea54dbb47 100644 -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0008-surface-typecover.patch b/patches/5.19/0008-surface-typecover.patch index 66014f149..2d251d443 100644 --- a/patches/5.19/0008-surface-typecover.patch +++ b/patches/5.19/0008-surface-typecover.patch @@ -1,4 +1,4 @@ -From 450c62edbdd074441f6f2e57d7cc0fa08a274a36 Mon Sep 17 00:00:00 2001 +From 2f2a032ba2ac9e6e8b7d2c59df2eb97a5b967a95 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 @@ -229,9 +229,9 @@ index 6bb3890b0f2c..c28349e90156 100644 { .driver_data = MT_CLS_GOOGLE, HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY, USB_VENDOR_ID_GOOGLE, -- -2.37.1 +2.37.2 -From 726b2dcdf1c82585355518446ca7b812604a3b37 Mon Sep 17 00:00:00 2001 +From c61321ed6f726eeb277982775cbf49fc65539b07 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 @@ -529,5 +529,5 @@ index c28349e90156..61142639be26 100644 unregister_pm_notifier(&td->pm_notifier); del_timer_sync(&td->release_timer); -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0009-surface-battery.patch b/patches/5.19/0009-surface-battery.patch deleted file mode 100644 index e560092a9..000000000 --- a/patches/5.19/0009-surface-battery.patch +++ /dev/null @@ -1,48 +0,0 @@ -From d080c0c82936fd7721d7b57cd7a48e9fc2f573c0 Mon Sep 17 00:00:00 2001 -From: Maximilian Luz -Date: Wed, 25 May 2022 14:20:10 +0200 -Subject: [PATCH] HID: hid-input: add Surface Go battery quirk - -Similar to the Surface Go (1), the (Elantech) touchscreen/digitizer in -the Surface Go 2 mistakenly reports the battery of the stylus. Instead -of over the touchsreen device, battery information is provided via -bluetooth and the touchscreen device reports an empty battery. - -Apply the HID_BATTERY_QUIRK_IGNORE quirk to to ignore this battery and -prevent the erroneous low battery warnings. - -Signed-off-by: Maximilian Luz -Patchset: surface-battery ---- - drivers/hid/hid-ids.h | 1 + - drivers/hid/hid-input.c | 2 ++ - 2 files changed, 3 insertions(+) - -diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h -index d9eb676abe96..9c4e92a9c646 100644 ---- a/drivers/hid/hid-ids.h -+++ b/drivers/hid/hid-ids.h -@@ -413,6 +413,7 @@ - #define USB_DEVICE_ID_ASUS_UX550VE_TOUCHSCREEN 0x2544 - #define USB_DEVICE_ID_ASUS_UX550_TOUCHSCREEN 0x2706 - #define I2C_DEVICE_ID_SURFACE_GO_TOUCHSCREEN 0x261A -+#define I2C_DEVICE_ID_SURFACE_GO2_TOUCHSCREEN 0x2A1C - - #define USB_VENDOR_ID_ELECOM 0x056e - #define USB_DEVICE_ID_ELECOM_BM084 0x0061 -diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c -index c6b27aab9041..48c1c02c69f4 100644 ---- a/drivers/hid/hid-input.c -+++ b/drivers/hid/hid-input.c -@@ -381,6 +381,8 @@ static const struct hid_device_id hid_battery_quirks[] = { - HID_BATTERY_QUIRK_IGNORE }, - { HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_SURFACE_GO_TOUCHSCREEN), - HID_BATTERY_QUIRK_IGNORE }, -+ { HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_SURFACE_GO2_TOUCHSCREEN), -+ HID_BATTERY_QUIRK_IGNORE }, - {} - }; - --- -2.37.1 - diff --git a/patches/5.19/0010-surface-gpe.patch b/patches/5.19/0009-surface-gpe.patch similarity index 95% rename from patches/5.19/0010-surface-gpe.patch rename to patches/5.19/0009-surface-gpe.patch index a7e325599..cfd97ae01 100644 --- a/patches/5.19/0010-surface-gpe.patch +++ b/patches/5.19/0009-surface-gpe.patch @@ -1,4 +1,4 @@ -From 7f275e2a793b9878ad4fea60ce4f857e012dc464 Mon Sep 17 00:00:00 2001 +From 0efe64d0de03fd6e0a8a2422859317b3e2546e1d 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 @@ -39,5 +39,5 @@ index 27365cbe1ee9..c219b840d491 100644 .ident = "Surface Laptop Studio", .matches = { -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0011-cameras.patch b/patches/5.19/0010-cameras.patch similarity index 97% rename from patches/5.19/0011-cameras.patch rename to patches/5.19/0010-cameras.patch index c16656a8b..dda420bce 100644 --- a/patches/5.19/0011-cameras.patch +++ b/patches/5.19/0010-cameras.patch @@ -1,4 +1,4 @@ -From b1695f491b209fed475663802411b83beaef1a41 Mon Sep 17 00:00:00 2001 +From 2ac4dc245e2e3e3db7f63b18460313b1ccbf225a 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 @@ -72,9 +72,9 @@ index 762b61f67e6c..2c0f39a7f2a1 100644 * Do not enumerate devices with enumeration_by_parent flag set as * they will be enumerated by their respective parents. -- -2.37.1 +2.37.2 -From 26234d5e448a43d01da8555b7e1fd8c2cecd1321 Mon Sep 17 00:00:00 2001 +From 5aa734fc5b9e2f9d32a3c666645161eafeb9c515 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 @@ -189,9 +189,9 @@ index 825b524e81f3..095d566c058f 100644 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x9D3E, quirk_iommu_ipts); -- -2.37.1 +2.37.2 -From 5554608114331d9b088353fbe407749444e7c1a0 Mon Sep 17 00:00:00 2001 +From 917de996a4209e88a71461c2c9e4643d9dc146f4 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 @@ -226,9 +226,9 @@ index 22f61b47f9e5..e1de1ff40bba 100644 return 0; -- -2.37.1 +2.37.2 -From 4684d8a03463ebf1d2b85094f11cb7ac9ba6f1c3 Mon Sep 17 00:00:00 2001 +From badd5ca959a4328713b4dff2e8354e62c134d4cb 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 @@ -247,7 +247,7 @@ Patchset: cameras create mode 100644 drivers/media/i2c/dw9719.c diff --git a/MAINTAINERS b/MAINTAINERS -index c967eb4675b7..92ae23d4e27a 100644 +index 6772c9d0eccc..a639e7ff0402 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6163,6 +6163,13 @@ T: git git://linuxtv.org/media_tree.git @@ -265,7 +265,7 @@ index c967eb4675b7..92ae23d4e27a 100644 M: Dongchun Zhu L: linux-media@vger.kernel.org diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig -index 2b20aa6c37b1..49d1c59334e3 100644 +index c926e5d43820..5c245f642ae3 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -806,6 +806,17 @@ config VIDEO_DW9714 @@ -732,9 +732,9 @@ index 000000000000..8451c75b696b +MODULE_DESCRIPTION("DW9719 VCM Driver"); +MODULE_LICENSE("GPL"); -- -2.37.1 +2.37.2 -From 9480734a6ad3d5d296e475a811ff42da0a5b3394 Mon Sep 17 00:00:00 2001 +From 0f957b94bf7f54ad4edb1b977d559cdf658275aa 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 @@ -847,9 +847,9 @@ index dbdbdb648a0d..d0715144bf3e 100644 static int cio2_parse_firmware(struct cio2_device *cio2) -- -2.37.1 +2.37.2 -From b286de979999d9415c2e1919e02e213ee654742f Mon Sep 17 00:00:00 2001 +From bd8a836e2d9335ba885a5464cca6f12ae41800ce 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 @@ -890,9 +890,9 @@ index d0715144bf3e..3a25dfc696b2 100644 static int cio2_parse_firmware(struct cio2_device *cio2) -- -2.37.1 +2.37.2 -From d7c45282141834a8d539e87575a6082ce7da624e Mon Sep 17 00:00:00 2001 +From 6a5f8095d2104ba56791d87cd952dc10b30fa105 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 @@ -906,7 +906,7 @@ Patchset: cameras 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig -index 49d1c59334e3..d3f27554a1e3 100644 +index 5c245f642ae3..50ea62e63784 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -808,7 +808,7 @@ config VIDEO_DW9714 @@ -919,5 +919,5 @@ index 49d1c59334e3..d3f27554a1e3 100644 select VIDEO_V4L2_SUBDEV_API select V4L2_ASYNC -- -2.37.1 +2.37.2 diff --git a/patches/5.19/0012-amd-gpio.patch b/patches/5.19/0011-amd-gpio.patch similarity index 95% rename from patches/5.19/0012-amd-gpio.patch rename to patches/5.19/0011-amd-gpio.patch index 3ef3b2c37..e7b1410f7 100644 --- a/patches/5.19/0012-amd-gpio.patch +++ b/patches/5.19/0011-amd-gpio.patch @@ -1,4 +1,4 @@ -From b04835b46c5126b87c7098a0a1a0cdbdf6c28c74 Mon Sep 17 00:00:00 2001 +From 3f262a02abb0f45c67af1c45ae9ce73b9efebba6 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 @@ -63,9 +63,9 @@ index 907cc98b1938..0116d27b29ea 100644 mp_config_acpi_legacy_irqs(); -- -2.37.1 +2.37.2 -From 8e33cd037d4a68a5feabf796ea0b61e4ec018eeb Mon Sep 17 00:00:00 2001 +From 8d1521d571c9c2a4285c0843e7044321ff0858b6 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 @@ -105,5 +105,5 @@ index 0116d27b29ea..af102c6f8e5b 100644 }; -- -2.37.1 +2.37.2