From 74d139874ce244201518b7ddfb96f94a4458b041 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Sun, 23 Jul 2023 18:03:25 +0200 Subject: [PATCH] Update v6.1 patches Changes: - Update IPTS - Fix swapped parameters in EDS v2 Links: - kernel: https://github.com/linux-surface/kernel/commit/aa90b074f62489a346e57f81ef083c68249081f3 - IPTS: https://github.com/linux-surface/intel-precise-touch/commit/4b5c013d0140c47e4a009adf9a053a45bb0532a3 --- patches/6.1/0004-ipts.patch | 33 +++++++++++++++++++++ patches/6.1/0005-ithc.patch | 4 +-- patches/6.1/0006-surface-sam.patch | 28 ++++++++--------- patches/6.1/0007-surface-sam-over-hid.patch | 4 +-- patches/6.1/0008-surface-button.patch | 4 +-- patches/6.1/0009-surface-typecover.patch | 6 ++-- patches/6.1/0010-surface-shutdown.patch | 2 +- patches/6.1/0011-surface-gpe.patch | 2 +- patches/6.1/0012-cameras.patch | 16 +++++----- patches/6.1/0013-amd-gpio.patch | 4 +-- patches/6.1/0014-rtc.patch | 2 +- 11 files changed, 69 insertions(+), 36 deletions(-) diff --git a/patches/6.1/0004-ipts.patch b/patches/6.1/0004-ipts.patch index 304cae0d7..a8055a7c6 100644 --- a/patches/6.1/0004-ipts.patch +++ b/patches/6.1/0004-ipts.patch @@ -4467,3 +4467,36 @@ index e835b460aa79..7c5cbafdb279 100644 -- 2.41.0 +From fecb83e5e79527e0e6d32baa9342f661321d8e46 Mon Sep 17 00:00:00 2001 +From: Dorian Stoll +Date: Sun, 23 Jul 2023 17:55:15 +0200 +Subject: [PATCH] Update IPTS from module repo + +Changes: + * Fix swapped parameters in EDS v2 + +Based on https://github.com/linux-surface/intel-precise-touch/commit/4b5c013d0140c47e4a009adf9a053a45bb0532a3 + +Signed-off-by: Dorian Stoll +Patchset: ipts +--- + drivers/hid/ipts/eds2.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/hid/ipts/eds2.c b/drivers/hid/ipts/eds2.c +index 7c5cbafdb279..198dc65d7887 100644 +--- a/drivers/hid/ipts/eds2.c ++++ b/drivers/hid/ipts/eds2.c +@@ -138,7 +138,7 @@ int ipts_eds2_raw_request(struct ipts_context *ipts, u8 *buffer, size_t size, u8 + return -EIO; + + if (request_type == HID_REQ_GET_REPORT) +- return ipts_eds2_get_feature(ipts, buffer, report_id, size, feedback_type); ++ return ipts_eds2_get_feature(ipts, buffer, size, report_id, feedback_type); + else +- return ipts_eds2_set_feature(ipts, buffer, report_id, size, feedback_type); ++ return ipts_eds2_set_feature(ipts, buffer, size, report_id, feedback_type); + } +-- +2.41.0 + diff --git a/patches/6.1/0005-ithc.patch b/patches/6.1/0005-ithc.patch index b881d4a9e..d7a902fa4 100644 --- a/patches/6.1/0005-ithc.patch +++ b/patches/6.1/0005-ithc.patch @@ -1,4 +1,4 @@ -From 616477e9e23066e39ad187a0a63aae59fd9f1546 Mon Sep 17 00:00:00 2001 +From c88187622cfff2b8ce75ac3e11b2efc6184e48fd Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Sun, 11 Dec 2022 12:03:38 +0100 Subject: [PATCH] iommu: intel: Disable source id verification for ITHC @@ -39,7 +39,7 @@ index 5962bb5027d0..86fa129d10d4 100644 -- 2.41.0 -From a38ba46b1e3e72acc35baff38764092955aec033 Mon Sep 17 00:00:00 2001 +From a2b04fd81925f1613a3db6a303eb137589f8f298 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Sun, 11 Dec 2022 12:10:54 +0100 Subject: [PATCH] hid: Add support for Intel Touch Host Controller diff --git a/patches/6.1/0006-surface-sam.patch b/patches/6.1/0006-surface-sam.patch index f2bba66ff..eb1f0dd67 100644 --- a/patches/6.1/0006-surface-sam.patch +++ b/patches/6.1/0006-surface-sam.patch @@ -1,4 +1,4 @@ -From 4674a51ebc8199d87e5cd4225f1bf8812e64185f Mon Sep 17 00:00:00 2001 +From 0cee5fe37a2aa4a0f9589d33e4015be7d40ac199 Mon Sep 17 00:00:00 2001 From: Maximilian Luz 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.41.0 -From b2be8f00c0442dda90e03bf1808125f27c195c3b Mon Sep 17 00:00:00 2001 +From 614e9906b55cc94b3daaa2dccce6dc583e509b2c Mon Sep 17 00:00:00 2001 From: Maximilian Luz 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.41.0 -From 3f93139051fc56fe5da46ed4cd5bd93549411d6a Mon Sep 17 00:00:00 2001 +From 2fc4deee40a60bd6bf7f9cc23ab3ed693e7bde42 Mon Sep 17 00:00:00 2001 From: Maximilian Luz 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.41.0 -From cb055e834b58074e3d9c711e1c1568bb789e1f5e Mon Sep 17 00:00:00 2001 +From b18ed0927d76b3cdeb46d19bf0ab537398fad57d Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 2 Dec 2022 23:33:23 +0100 Subject: [PATCH] platform/surface: aggregator_tabletsw: Use target-ID enum @@ -581,7 +581,7 @@ index af8b547cffdc..c8ecbdbb516c 100644 -- 2.41.0 -From 22748ca19202aad290d372cd005cdb0f229c4b94 Mon Sep 17 00:00:00 2001 +From 7b080bb2497fd84be7d67a3df9a2b064ce08d685 Mon Sep 17 00:00:00 2001 From: Maximilian Luz 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.41.0 -From adcfdaf1e308d7171cfc72a5af1fb08ec3b7016f Mon Sep 17 00:00:00 2001 +From 6357e4792cdc2db097878268c58ce55b9c762bd6 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 2 Dec 2022 23:33:25 +0100 Subject: [PATCH] HID: surface-hid: Use target-ID enum instead of hard-coding @@ -713,7 +713,7 @@ index 0635341bc517..42933bf3e925 100644 -- 2.41.0 -From d9aaa490d3a1ae015e3b90061645ef365113b52e Mon Sep 17 00:00:00 2001 +From a6fde5a5e64c027ecb1c09c09fe9ac477f8e16f4 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 2 Dec 2022 23:33:26 +0100 Subject: [PATCH] platform/surface: aggregator: Enforce use of target-ID enum @@ -949,7 +949,7 @@ index 46c45d1b6368..4da20b7a0ee5 100644 -- 2.41.0 -From 1b4bbbead59a3c6d5d46e17f489035786e0432e0 Mon Sep 17 00:00:00 2001 +From 698516013781e684f68ebbeefc7e68c4b18c34ce Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 2 Dec 2022 23:33:27 +0100 Subject: [PATCH] platform/surface: aggregator_registry: Fix target-ID of @@ -1004,7 +1004,7 @@ index 023f126121d7..296f72d52e6a 100644 -- 2.41.0 -From ff686f722cb6a83ef9a30d8b9d1c74cffbbf0e84 Mon Sep 17 00:00:00 2001 +From 207cea16da19bacb9124f8aa7e64fddcfbebd317 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 20 Dec 2022 18:56:08 +0100 Subject: [PATCH] platform/surface: aggregator: Rename top-level request @@ -1551,7 +1551,7 @@ index 4da20b7a0ee5..1545e5567b15 100644 -- 2.41.0 -From f6661b3f8385e320560ada232f3b3add903e8e12 Mon Sep 17 00:00:00 2001 +From 1481d98b49bc9bd577956e12b524e7aa5d8ccf48 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Wed, 18 Jan 2023 11:38:23 +0200 Subject: [PATCH] platform/surface: Switch to use acpi_evaluate_dsm_typed() @@ -1607,7 +1607,7 @@ index f004a2495201..7b6d887dccdb 100644 -- 2.41.0 -From e0c2d21fc475a96d153d6d29dbab99938aae5eaf Mon Sep 17 00:00:00 2001 +From c2bf1659724cf37f50fbc0378a8b52aee6b8f77e Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 4 Mar 2023 20:09:36 +0100 Subject: [PATCH] platform/surface: aggregator_tabletsw: Properly handle @@ -1915,7 +1915,7 @@ index a18e9fc7896b..f9a58db6afde 100644 -- 2.41.0 -From 063e5285580a1e4062aeb553712054b1ae77fc08 Mon Sep 17 00:00:00 2001 +From 32286cdfe343649524b01d5f49b3d53c30e4d352 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 19 Feb 2023 23:33:43 +0100 Subject: [PATCH] platform/surface: aggregator_tabletsw: Add support for @@ -2032,7 +2032,7 @@ index f9a58db6afde..4a029f5db20a 100644 -- 2.41.0 -From 7fd0d94e7262e174d664d15caa47a8d1c068ed4b Mon Sep 17 00:00:00 2001 +From ff52a0d4d2b601e0475e751b8130e05059d29717 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 19 Feb 2023 23:41:18 +0100 Subject: [PATCH] platform/surface: aggregator_registry: Add support for @@ -2063,7 +2063,7 @@ index 296f72d52e6a..0fe5be539652 100644 -- 2.41.0 -From c2f997f4ca5aea4a713b3e16821e3a5183318504 Mon Sep 17 00:00:00 2001 +From 6408390b21695975d7021a194238031c36ab423d Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 18 May 2023 22:57:17 +0200 Subject: [PATCH] platform/surface: aggregator_tabletsw: Add support for book diff --git a/patches/6.1/0007-surface-sam-over-hid.patch b/patches/6.1/0007-surface-sam-over-hid.patch index b8462e037..3e5ce1be9 100644 --- a/patches/6.1/0007-surface-sam-over-hid.patch +++ b/patches/6.1/0007-surface-sam-over-hid.patch @@ -1,4 +1,4 @@ -From 584ffd5db67776f6284c045b29173c1decfc6bb0 Mon Sep 17 00:00:00 2001 +From 1c1113656a74d692b14c7215da7142e440a7f7b4 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 4dd777cc0c89..b2338618163a 100644 -- 2.41.0 -From 50fb43949029d0184c680d44299cfb0e916c5aac Mon Sep 17 00:00:00 2001 +From d8f3e99147036bd9047607309201d185622e9ab6 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/6.1/0008-surface-button.patch b/patches/6.1/0008-surface-button.patch index cbea41ae0..9ed65908c 100644 --- a/patches/6.1/0008-surface-button.patch +++ b/patches/6.1/0008-surface-button.patch @@ -1,4 +1,4 @@ -From 2642196604fc36ff445d4e1967c11e5b551e8c6b Mon Sep 17 00:00:00 2001 +From ded0a12212d0ccb2146597b91fba08a40f026739 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 e79f5497948b..2bddbe6e9ea4 100644 -- 2.41.0 -From 43e13dd5e7b8a47aed8cfe1620c7b2e05a410aed Mon Sep 17 00:00:00 2001 +From 9c4831cc471e8009559d4d05b8a6b5b73df50559 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/6.1/0009-surface-typecover.patch b/patches/6.1/0009-surface-typecover.patch index 8c70f503b..5d79fac1c 100644 --- a/patches/6.1/0009-surface-typecover.patch +++ b/patches/6.1/0009-surface-typecover.patch @@ -1,4 +1,4 @@ -From dbd4374985f196f196b774333c2d664a589032ef Mon Sep 17 00:00:00 2001 +From bff1fad1c92b30e8867724fcacfa8e8570f8957b Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 18 Feb 2023 01:02:49 +0100 Subject: [PATCH] USB: quirks: Add USB_QUIRK_DELAY_INIT for Surface Go 3 @@ -39,7 +39,7 @@ index 934b3d997702..2c6604c6e8e1 100644 -- 2.41.0 -From 0916375efc69b52004e7c4a84925ec7cfb3a38d5 Mon Sep 17 00:00:00 2001 +From 1cc5cdf03b1309de4d5e8923b6f0d291da416a43 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 @@ -272,7 +272,7 @@ index e31be0cb8b85..63fd042aba6b 100644 -- 2.41.0 -From c3b88f609ba290f4c3ca36281a752118c1f03513 Mon Sep 17 00:00:00 2001 +From 2b3bce354299450e6a9d4733b8a428d274165b97 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 diff --git a/patches/6.1/0010-surface-shutdown.patch b/patches/6.1/0010-surface-shutdown.patch index 9eeb4b104..aeaac251e 100644 --- a/patches/6.1/0010-surface-shutdown.patch +++ b/patches/6.1/0010-surface-shutdown.patch @@ -1,4 +1,4 @@ -From 2c80940b2ba523ba265c5a1fa9af5968111c6585 Mon Sep 17 00:00:00 2001 +From 170a8dc8454ec59bbf962f21a5c0e6e46c2345c5 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 19 Feb 2023 22:12:24 +0100 Subject: [PATCH] PCI: Add quirk to prevent calling shutdown mehtod diff --git a/patches/6.1/0011-surface-gpe.patch b/patches/6.1/0011-surface-gpe.patch index 9850e2ea6..1a740e17f 100644 --- a/patches/6.1/0011-surface-gpe.patch +++ b/patches/6.1/0011-surface-gpe.patch @@ -1,4 +1,4 @@ -From 8aa9748fa102bd6d505536cac70f5e179d3c7458 Mon Sep 17 00:00:00 2001 +From 2201b3c5dd1df3e5cc4889a2a437b1cd73138f93 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 12 Mar 2023 01:41:57 +0100 Subject: [PATCH] platform/surface: gpe: Add support for Surface Pro 9 diff --git a/patches/6.1/0012-cameras.patch b/patches/6.1/0012-cameras.patch index 639af57d4..a8f034928 100644 --- a/patches/6.1/0012-cameras.patch +++ b/patches/6.1/0012-cameras.patch @@ -1,4 +1,4 @@ -From 57ec44e94951f363318398afd57ad03844ae0297 Mon Sep 17 00:00:00 2001 +From c16a437fefb02df0cc349d5fd7d5fd79a8e485f0 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 dbfa58e799e2..ccbd3f8b523e 100644 -- 2.41.0 -From 4daa34c96d0e6510e55b4bf0d87b3ac7dba7205c Mon Sep 17 00:00:00 2001 +From bd6a8cd29658d675fe7873495960b4c83e148ffa 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 3965979c7bd4..509cfb9f6695 100644 -- 2.41.0 -From 72419ac59d01f83b48e932e19545cdf8e27ab0fd Mon Sep 17 00:00:00 2001 +From f4135b8b70db5aa3f47573411fdf7c2b40e99707 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 5b8d1a9620a5..6a0ff035cf20 100644 -- 2.41.0 -From 7c59360474c953a34fd506390e773a3307c2d2f3 Mon Sep 17 00:00:00 2001 +From ec7302f8f20f55d2b23a4bc74f6d4ba2bfee17b9 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 @@ -732,7 +732,7 @@ index 000000000000..180b04d2a6b3 -- 2.41.0 -From 70ff022993f7df96f73ae84c6309ffc7e7521182 Mon Sep 17 00:00:00 2001 +From 6cdda13e832ef531d375a38b72e1546acbe0f173 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,7 +847,7 @@ index 3b76a9d0383a..38f9f4da1922 100644 -- 2.41.0 -From f7fba5e7b5cbca7eaeba2b4fd939d288392c43b6 Mon Sep 17 00:00:00 2001 +From 4bc8f651a74a69c15cbf1c39237a561696d2123c 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,7 +890,7 @@ index 38f9f4da1922..82681df7d794 100644 -- 2.41.0 -From 2912144c13959cbf59b474f5b7bb2001e26cb73a Mon Sep 17 00:00:00 2001 +From 3181d00011c53e8849d0107cc7855093e594d302 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 @@ -919,7 +919,7 @@ index 98d081efeef7..c67966cafe10 100644 -- 2.41.0 -From fcf063e7655cc987fa04d3491e3b2c3a18a65f89 Mon Sep 17 00:00:00 2001 +From 014022664b67244125c742df36277cbd5a398e79 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 2 Mar 2023 12:59:39 +0000 Subject: [PATCH] platform/x86: int3472: Remap reset GPIO for INT347E diff --git a/patches/6.1/0013-amd-gpio.patch b/patches/6.1/0013-amd-gpio.patch index 7ad24a385..c4056b136 100644 --- a/patches/6.1/0013-amd-gpio.patch +++ b/patches/6.1/0013-amd-gpio.patch @@ -1,4 +1,4 @@ -From dffda2acce5ee37334b18760f49ee12de5279805 Mon Sep 17 00:00:00 2001 +From 661bb474e5869fe03aff5684b6e4425ae5f2036c 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 0f762070a5e1..6362dd452233 100644 -- 2.41.0 -From 016090d8c7e2855dcdf2af8d21fe77dccf01cf40 Mon Sep 17 00:00:00 2001 +From be8581b488b86589fab6cc79f8313cdf502f1840 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 diff --git a/patches/6.1/0014-rtc.patch b/patches/6.1/0014-rtc.patch index d00d6bc05..6ae1ca81f 100644 --- a/patches/6.1/0014-rtc.patch +++ b/patches/6.1/0014-rtc.patch @@ -1,4 +1,4 @@ -From eff38d717a771f115c71387c40df5552a3fc7f9a Mon Sep 17 00:00:00 2001 +From 312de6ec6e777b542b08e4674ba4f0d840c72fba Mon Sep 17 00:00:00 2001 From: "Bart Groeneveld | GPX Solutions B.V" Date: Mon, 5 Dec 2022 16:08:46 +0100 Subject: [PATCH] acpi: allow usage of acpi_tad on HW-reduced platforms