From 3576b1deb848efe2fa568c7662fa178782ae6fc6 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Sun, 23 Jul 2023 18:04:48 +0200 Subject: [PATCH] Update v6.3 patches Changes: - Update IPTS - Fix swapped parameters in EDS v2 Links: - kernel: https://github.com/linux-surface/kernel/commit/accabe02acab58250f79bc85ddb98daeedb53a21 - IPTS: https://github.com/linux-surface/intel-precise-touch/commit/4b5c013d0140c47e4a009adf9a053a45bb0532a3 --- patches/6.3/0004-ipts.patch | 33 +++++++++++++++++++++ patches/6.3/0005-ithc.patch | 4 +-- patches/6.3/0006-surface-sam.patch | 10 +++---- patches/6.3/0007-surface-sam-over-hid.patch | 4 +-- patches/6.3/0008-surface-button.patch | 4 +-- patches/6.3/0009-surface-typecover.patch | 6 ++-- patches/6.3/0010-surface-shutdown.patch | 2 +- patches/6.3/0011-surface-gpe.patch | 2 +- patches/6.3/0012-cameras.patch | 26 ++++++++-------- patches/6.3/0013-amd-gpio.patch | 4 +-- patches/6.3/0014-rtc.patch | 2 +- 11 files changed, 65 insertions(+), 32 deletions(-) diff --git a/patches/6.3/0004-ipts.patch b/patches/6.3/0004-ipts.patch index ec175317f..2a85d7f38 100644 --- a/patches/6.3/0004-ipts.patch +++ b/patches/6.3/0004-ipts.patch @@ -4467,3 +4467,36 @@ index e835b460aa79..7c5cbafdb279 100644 -- 2.41.0 +From cdbed9c45333b47b836658f79059e71439c2fac7 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.3/0005-ithc.patch b/patches/6.3/0005-ithc.patch index f552c2b39..c25ef88c3 100644 --- a/patches/6.3/0005-ithc.patch +++ b/patches/6.3/0005-ithc.patch @@ -1,4 +1,4 @@ -From c5b9bccd0114586339c05d721f6ad81d550de348 Mon Sep 17 00:00:00 2001 +From c74361688ead1a76eb62674d368924e1078d2ce5 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 df9e261af0b5..bc2a0aefedf2 100644 -- 2.41.0 -From f936351f18902a369513be22e725c27e01098f6c Mon Sep 17 00:00:00 2001 +From 68c961aa78456cc28bce1f38b4bc47537accecfb 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.3/0006-surface-sam.patch b/patches/6.3/0006-surface-sam.patch index d7e2578d2..d01afa9c5 100644 --- a/patches/6.3/0006-surface-sam.patch +++ b/patches/6.3/0006-surface-sam.patch @@ -1,4 +1,4 @@ -From 41eb4275f7868b68ac9868b44dd2b29fb97f091e Mon Sep 17 00:00:00 2001 +From 4dcb84956a7df3414c1b89b35442ad9eca8eb255 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 @@ -306,7 +306,7 @@ index a18e9fc7896b..f9a58db6afde 100644 -- 2.41.0 -From 742a68a8e0ec261cbe4ae08e6e101887cf8a3b72 Mon Sep 17 00:00:00 2001 +From 25ad1b483aed0fd0c93e01d483a97ad167c2666d 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 @@ -423,7 +423,7 @@ index f9a58db6afde..4a029f5db20a 100644 -- 2.41.0 -From 8d9dcc4d8219d5144be7af8e79f05e16fcb2d53f Mon Sep 17 00:00:00 2001 +From ba24c30b876ad6d3becdc04f56cb38125f114d82 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 @@ -454,7 +454,7 @@ index 296f72d52e6a..0fe5be539652 100644 -- 2.41.0 -From fc78bd85c12b325e5635e9b9e66e9ec04784f2c6 Mon Sep 17 00:00:00 2001 +From b397542f5dcf1f4ea7dab46be9d753f5d5f89b15 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 18 May 2023 22:33:55 +0200 Subject: [PATCH] platform/surface: aggregator: Make to_ssam_device_driver() @@ -490,7 +490,7 @@ index df81043b9e71..42b249b4c24b 100644 -- 2.41.0 -From 688b03f6428d89459d1281da26665a2da7efb817 Mon Sep 17 00:00:00 2001 +From fac938f7f7ccde053b509d0826e56b20c4eabe85 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.3/0007-surface-sam-over-hid.patch b/patches/6.3/0007-surface-sam-over-hid.patch index dc8dec718..08c569fcd 100644 --- a/patches/6.3/0007-surface-sam-over-hid.patch +++ b/patches/6.3/0007-surface-sam-over-hid.patch @@ -1,4 +1,4 @@ -From 6f1fb89486b9912578ffcd67cd95600e551fcd85 Mon Sep 17 00:00:00 2001 +From 3ca82a07472213a8e2125c012878458861fdefb1 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 d6037a328669..a290ebc77aea 100644 -- 2.41.0 -From b0ccdd33329798414421ab9cbe3c027e21deed2d Mon Sep 17 00:00:00 2001 +From bc9d2fe8ffe6b731904b453a6b1009bf8b8dc3d8 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.3/0008-surface-button.patch b/patches/6.3/0008-surface-button.patch index fad5b0d65..c389af69f 100644 --- a/patches/6.3/0008-surface-button.patch +++ b/patches/6.3/0008-surface-button.patch @@ -1,4 +1,4 @@ -From b23f25f8db4c4d5ef990d22ec3a148c9b602987e Mon Sep 17 00:00:00 2001 +From 215beb9df04b7ad9737a26091415dca9a1be37d1 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 090eed7c7332a49666077a4942c2752dc0a313e9 Mon Sep 17 00:00:00 2001 +From 254fab464752ac4aac23cb7d27e2fb8c55ba24bd 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.3/0009-surface-typecover.patch b/patches/6.3/0009-surface-typecover.patch index 3b1f8d683..2d2da1c30 100644 --- a/patches/6.3/0009-surface-typecover.patch +++ b/patches/6.3/0009-surface-typecover.patch @@ -1,4 +1,4 @@ -From e4759b5646a246c31bc1f9c21eda5200796e8c77 Mon Sep 17 00:00:00 2001 +From eeea02121ef213c5ea58fb4eeaeb5778933fad02 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 b8b48b1307a032c013708e57ed8f0ca1bb9e2bb1 Mon Sep 17 00:00:00 2001 +From 23ea41b56ff160239606a5ea4f9be5522fb5ecd4 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 bacd2df0a114e2c165461e6e0da7d7bd8d58ee8e Mon Sep 17 00:00:00 2001 +From fef56d6a1307c061342261df99e98f700ad0edb8 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.3/0010-surface-shutdown.patch b/patches/6.3/0010-surface-shutdown.patch index c95b186f8..e5c8b943a 100644 --- a/patches/6.3/0010-surface-shutdown.patch +++ b/patches/6.3/0010-surface-shutdown.patch @@ -1,4 +1,4 @@ -From 3e784d60d40a143a04250abde1f07ab079a29b1f Mon Sep 17 00:00:00 2001 +From d3139e673e8ccc72ffe9047d59216e10163a8590 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.3/0011-surface-gpe.patch b/patches/6.3/0011-surface-gpe.patch index 347ef1f7f..ddfe81a0a 100644 --- a/patches/6.3/0011-surface-gpe.patch +++ b/patches/6.3/0011-surface-gpe.patch @@ -1,4 +1,4 @@ -From e612ab1575889874cd1aafbaddbc46877a0ba880 Mon Sep 17 00:00:00 2001 +From abdcf5bfe145a4c3fb2dcac52fab6924be9e26a4 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.3/0012-cameras.patch b/patches/6.3/0012-cameras.patch index 16d830294..df87c3b80 100644 --- a/patches/6.3/0012-cameras.patch +++ b/patches/6.3/0012-cameras.patch @@ -1,4 +1,4 @@ -From fe12bbfa19e77793a4cc23f02347575591f37d18 Mon Sep 17 00:00:00 2001 +From f92f43e71ed359c927a7ac957a0e91fbd67bc373 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 0c6f06abe3f4..4fc320f424e8 100644 -- 2.41.0 -From aa72427900707871e9517d1421760b7717df7f8f Mon Sep 17 00:00:00 2001 +From 3c62c3082ba3511bec8140c90a22af1599c63d7c 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 3ebd2260cdab..f8937235de4b 100644 -- 2.41.0 -From 8c4d06f57856e6aafc6ffc027ff61697459f6292 Mon Sep 17 00:00:00 2001 +From 1fb78ef3166b41c3ab5d20ed351979f55ef6e219 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 fe5ad80e059b9b4f34e2cf5e2450e012c49710d1 Mon Sep 17 00:00:00 2001 +From 05b3accaa005941fb2fd627aa99c337e13a76c57 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 @@ -343,7 +343,7 @@ index 3b76a9d0383a..38f9f4da1922 100644 -- 2.41.0 -From 3b5b1cc0b08ab5f30fbd8ceddb02c9a5455a3d25 Mon Sep 17 00:00:00 2001 +From 9315febe453d4d0f55cd2049aec9bcc4d56a78ec 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 @@ -386,7 +386,7 @@ index 38f9f4da1922..82681df7d794 100644 -- 2.41.0 -From 6ae47a4ee3426fc9a8d53aa74d99d53c0370be14 Mon Sep 17 00:00:00 2001 +From 2e073b3e4c885307eb69205b5a8f4e27c57e7811 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 @@ -890,7 +890,7 @@ index 000000000000..180b04d2a6b3 -- 2.41.0 -From b040ede99a034d3a4f192547f493f5da11eaf1e2 Mon Sep 17 00:00:00 2001 +From a303fe2af8bff9c4877ad2e7da1b6e3b6d0eb8a0 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 e759470a0b6b..dbc6d20efbe5 100644 -- 2.41.0 -From 7b80528b0eb36f39d5c0384f47e62358b2ba0a97 Mon Sep 17 00:00:00 2001 +From 9b44fcd2c435a990e10c3294cfa6332cb5cf3330 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 @@ -975,7 +975,7 @@ index f064da74f50a..2064b3bbe530 100644 -- 2.41.0 -From 3daf4b987e5595ba7e4178e19228636ea3c0c969 Mon Sep 17 00:00:00 2001 +From 69e4eebad974fac3781ac118ad3d38471c09786f Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Tue, 21 Mar 2023 13:45:26 +0000 Subject: [PATCH] media: i2c: Clarify that gain is Analogue gain in OV7251 @@ -1014,7 +1014,7 @@ index 88e987435285..ff7b2c26da83 100644 -- 2.41.0 -From 76fe85169a515f1b088521aec5da17a12430a1ce Mon Sep 17 00:00:00 2001 +From f8930375ce32eacf48740e052aef49926d9dcf23 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Wed, 22 Mar 2023 11:01:42 +0000 Subject: [PATCH] media: v4l2-core: Acquire privacy led in @@ -1065,7 +1065,7 @@ index 049c2f2001ea..f8c3e40b2b71 100644 -- 2.41.0 -From d43fac98fc2ca53855e1a71d31a4fff1fa564c10 Mon Sep 17 00:00:00 2001 +From 65dbdc33eef95685b923b632429a1098eeab54cc Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Tue, 21 Mar 2023 23:37:16 +0800 Subject: [PATCH] platform: x86: int3472: Add MFD cell for tps68470 LED @@ -1106,7 +1106,7 @@ index 6a0ff035cf20..2a7d01d3abc8 100644 -- 2.41.0 -From 3465df50f260cb71a6ccd998749b68393494deff Mon Sep 17 00:00:00 2001 +From dada2a23cf8f8634589b31b65baebd27eb3b8053 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Tue, 21 Mar 2023 23:37:17 +0800 Subject: [PATCH] include: mfd: tps68470: Add masks for LEDA and LEDB @@ -1147,7 +1147,7 @@ index 7807fa329db0..2d2abb25b944 100644 -- 2.41.0 -From be4af4e48733315ae8290dde01671606048c34e7 Mon Sep 17 00:00:00 2001 +From a59248a30515abd97ce0eb04573fcfbae53d487c Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Tue, 21 Mar 2023 23:37:18 +0800 Subject: [PATCH] leds: tps68470: Add LED control for tps68470 diff --git a/patches/6.3/0013-amd-gpio.patch b/patches/6.3/0013-amd-gpio.patch index ccdd4e1cc..c821ba741 100644 --- a/patches/6.3/0013-amd-gpio.patch +++ b/patches/6.3/0013-amd-gpio.patch @@ -1,4 +1,4 @@ -From d8732a3db49d14624d57ffeb559e5bb98a3b7cee Mon Sep 17 00:00:00 2001 +From 9cecd1ebb086dd9ef421ec33c44c848e186306e6 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 0dac4ab5b55b..9ce909da6db3 100644 -- 2.41.0 -From a2f8c70b39698f79ee53e7a78eea7de4e4a3c6dc Mon Sep 17 00:00:00 2001 +From cd47cfffd771509127d2aaf7658a7731f6d63c51 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.3/0014-rtc.patch b/patches/6.3/0014-rtc.patch index acb75e2c8..8f8eb30ea 100644 --- a/patches/6.3/0014-rtc.patch +++ b/patches/6.3/0014-rtc.patch @@ -1,4 +1,4 @@ -From be557cfe2c3ce9fe527665f97fbd9afac3198189 Mon Sep 17 00:00:00 2001 +From c6f7c2bbc9e9d681decf4201b9d4089b20d500c4 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