diff --git a/patches/5.4/0001-surface3-power.patch b/patches/5.4/0001-surface3-power.patch index 026143d46..1bd90897b 100644 --- a/patches/5.4/0001-surface3-power.patch +++ b/patches/5.4/0001-surface3-power.patch @@ -1,4 +1,4 @@ -From 52c2874d22fc6557a35645b70d372c0fad4f4daf Mon Sep 17 00:00:00 2001 +From 37a2d46df282b139c6e163ec85c08c61c4ee3a76 Mon Sep 17 00:00:00 2001 From: qzed Date: Tue, 17 Sep 2019 17:17:56 +0200 Subject: [PATCH] platform/x86: Surface 3 battery platform operation region diff --git a/patches/5.4/0002-surface3-oemb.patch b/patches/5.4/0002-surface3-oemb.patch index ae8ff817a..db8744da7 100644 --- a/patches/5.4/0002-surface3-oemb.patch +++ b/patches/5.4/0002-surface3-oemb.patch @@ -1,4 +1,4 @@ -From 5da9a0d8e0cc445f15e63ee059d5300f370ab9bb Mon Sep 17 00:00:00 2001 +From d52a615bf371a165024b654d87c6986bab28d316 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.4/0003-wifi.patch b/patches/5.4/0003-wifi.patch index fcb5b57a6..be4294692 100644 --- a/patches/5.4/0003-wifi.patch +++ b/patches/5.4/0003-wifi.patch @@ -1,4 +1,4 @@ -From e29776ef0efa91f4df58fbbfc1df9ef97e1b603d Mon Sep 17 00:00:00 2001 +From 0104f0ee8e42454ae7ac748c09b34bb06a4a32e6 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Thu, 24 Sep 2020 18:02:06 +0900 Subject: [PATCH] mwifiex: pcie: skip cancel_work_sync() on reset failure path @@ -156,7 +156,7 @@ index f7ce9b6db6b4..72d0c01ff359 100644 -- 2.29.2 -From 51b872674a148db8adf5d51721419fd4fd98f0cc Mon Sep 17 00:00:00 2001 +From 06c58324749255431c5207e825ee173248787c3e Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Mon, 28 Sep 2020 17:46:49 +0900 Subject: [PATCH] mwifiex: pcie: add DMI-based quirk impl for Surface devices @@ -364,7 +364,7 @@ index 000000000000..5326ae7e5671 -- 2.29.2 -From 2a65d4ec8d47f91a1c11ebded54ffe51e5a58a5d Mon Sep 17 00:00:00 2001 +From 800160ebe79d068138768c40769178d57a294a01 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Tue, 29 Sep 2020 17:25:22 +0900 Subject: [PATCH] mwifiex: pcie: add reset_d3cold quirk for Surface gen4+ @@ -565,7 +565,7 @@ index 5326ae7e5671..8b9dcb5070d8 100644 -- 2.29.2 -From bce45dfcd08b9080b9496d2c6c44f5aae9c23dfc Mon Sep 17 00:00:00 2001 +From 45b1b1b9c82c33ee6d287f181e5352ec67786b2e 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 @@ -744,7 +744,7 @@ index 8b9dcb5070d8..3ef7440418e3 100644 -- 2.29.2 -From fd6bd9437b7080a34c6f3895b3a7ce9031ddbbc0 Mon Sep 17 00:00:00 2001 +From 1a7b82f3699c713a1a8a70d9fbb7c9264727c77a 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 @@ -806,7 +806,7 @@ index f0a6fa0a7ae5..34dcd84f02a6 100644 -- 2.29.2 -From f7622047c79ecdf22102c12354c0953ee5f8fe6d Mon Sep 17 00:00:00 2001 +From c790816fbe58de427ba3a4db371ed36102552bee Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Thu, 24 Sep 2020 01:56:29 +0900 Subject: [PATCH] mwifiex: fix mwifiex_shutdown_sw() causing sw reset failure @@ -883,7 +883,7 @@ index d14e55e3c9da..5894566ec480 100644 -- 2.29.2 -From d5d2ce93e71d797606729289a8ffcfe4064bbaf9 Mon Sep 17 00:00:00 2001 +From 0be77c3a526b1eafa3998f799a0e11184e8de268 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Thu, 24 Sep 2020 01:56:34 +0900 Subject: [PATCH] mwifiex: pcie: use shutdown_sw()/reinit_sw() on @@ -1025,7 +1025,7 @@ index 263d918767bd..bd6791dc3a0f 100644 -- 2.29.2 -From 2a4b3c5e7cf6eed56279041ce122e5b2e5edcb55 Mon Sep 17 00:00:00 2001 +From d68fb8937302cbae8c9d8c52127be9a57230d781 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Mon, 24 Aug 2020 17:11:35 +0900 Subject: [PATCH] mwifiex: pcie: add enable_device_dump module parameter @@ -1074,7 +1074,7 @@ index bd6791dc3a0f..d7ff898c1767 100644 -- 2.29.2 -From d928e920630da4c59074377d41056b0ff95f3572 Mon Sep 17 00:00:00 2001 +From f19b002a27041bfb46a649cfe0bc571091d4710c 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+ @@ -1229,7 +1229,7 @@ index 3ef7440418e3..a95ebac06e13 100644 -- 2.29.2 -From 6979ff4d83954a9d17bed4928ab9cb0e15fdaa6d Mon Sep 17 00:00:00 2001 +From 268669200ee7a8d9db75653f6d9b5f1c9c804e93 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Sun, 4 Oct 2020 00:25:48 +0900 Subject: [PATCH] mwifiex: add allow_ps_mode module parameter @@ -1291,7 +1291,7 @@ index 9e6dc289ec3e..20f5ee3fe7e3 100644 -- 2.29.2 -From e7b042cdef3990529eb9f7ad5556b91058fceada Mon Sep 17 00:00:00 2001 +From 4dd7d0ad9f43695be6ceb587b2fcb25743b5d75c Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Sun, 4 Oct 2020 00:38:48 +0900 Subject: [PATCH] mwifiex: print message when changing ps_mode @@ -1326,7 +1326,7 @@ index 20f5ee3fe7e3..8020a2929069 100644 -- 2.29.2 -From d58d4c6f79e11e795f26b43b5bb620b13f281277 Mon Sep 17 00:00:00 2001 +From 333458cafe75ed2c6f9e504dba9cdf8af0341190 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Sun, 4 Oct 2020 00:59:37 +0900 Subject: [PATCH] mwifiex: disable ps_mode explicitly by default instead diff --git a/patches/5.4/0004-ipts.patch b/patches/5.4/0004-ipts.patch index c551d1b78..2ecf3f1cf 100644 --- a/patches/5.4/0004-ipts.patch +++ b/patches/5.4/0004-ipts.patch @@ -1,4 +1,4 @@ -From 3e1fa51523c86fc89ff26e59ceca1a7872d775cc Mon Sep 17 00:00:00 2001 +From 28403eeb5f6dcf76bb85df1f32ac77303bc0626b Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Mon, 27 Jan 2020 21:16:20 +0100 Subject: [PATCH] mei: Add IPTS device IDs @@ -53,7 +53,7 @@ index 75ab2ffbf235..78790904d77c 100644 -- 2.29.2 -From 44562d2dccd6e03ea3a90c808d31bb7ad63c0f02 Mon Sep 17 00:00:00 2001 +From d9449c335aa3198c0bf473552069081d4c8c4e1a Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Fri, 20 Dec 2019 23:15:58 +0100 Subject: [PATCH] uapi: Add MEI bus ID @@ -79,7 +79,7 @@ index 9a61c28ed3ae..47fc20975245 100644 -- 2.29.2 -From 96669608c79d3edce6e80cf03747e7eeb4473d80 Mon Sep 17 00:00:00 2001 +From 7720a34b19ca53e1205486a52c7fb5bd92bfab0b Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Mon, 27 Jan 2020 21:22:42 +0100 Subject: [PATCH] input: Add support for Intel Precise Touch & Stylus diff --git a/patches/5.4/0005-surface-gpe.patch b/patches/5.4/0005-surface-gpe.patch index a0270952e..2fe063668 100644 --- a/patches/5.4/0005-surface-gpe.patch +++ b/patches/5.4/0005-surface-gpe.patch @@ -1,4 +1,4 @@ -From 87ce2ab4da170e84491125c5be6eaf1cb646069b Mon Sep 17 00:00:00 2001 +From 417629164350cc1d5ab4312f77c854c1681a3df7 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 16 Aug 2020 23:39:56 +0200 Subject: [PATCH] platform/x86: Add Driver to set up lid GPEs on MS Surface diff --git a/patches/5.4/0006-surface-sam-over-hid.patch b/patches/5.4/0006-surface-sam-over-hid.patch index e2dbc6fb4..4cc90b528 100644 --- a/patches/5.4/0006-surface-sam-over-hid.patch +++ b/patches/5.4/0006-surface-sam-over-hid.patch @@ -1,4 +1,4 @@ -From a73578ba1e914ddbc3f4f8ce3bc81c8f3711e4e3 Mon Sep 17 00:00:00 2001 +From fe03c4aef61cd3457cb7a7f2b6da65d64abae2d9 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 @@ -109,7 +109,7 @@ index c70983780ae7..1c90651161a6 100644 -- 2.29.2 -From 9d32382041fc72fc26fef7eda4c22cc0643b6944 Mon Sep 17 00:00:00 2001 +From eb422453ee6ad3e0905ca7421ae0e284eed213c0 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 6 Sep 2020 04:01:19 +0200 Subject: [PATCH] platform/x86: Add driver for Surface Book 1 dGPU switch diff --git a/patches/5.4/0007-surface-sam.patch b/patches/5.4/0007-surface-sam.patch index 46f198bfe..1b2d5619d 100644 --- a/patches/5.4/0007-surface-sam.patch +++ b/patches/5.4/0007-surface-sam.patch @@ -1,4 +1,4 @@ -From a30e8e979a52540321f30551877dc2a077439c9c Mon Sep 17 00:00:00 2001 +From 72937ef5baaa372328c1efb2f37416c12efbe1ba Mon Sep 17 00:00:00 2001 From: qzed Date: Mon, 26 Aug 2019 01:11:08 +0200 Subject: [PATCH] ACPI: Fix buffer/integer type mismatch @@ -60,7 +60,7 @@ index d3d2dbfba680..0b7f617a6e9b 100644 -- 2.29.2 -From 8c37118e9283902e1b4b675c6371bcbfb640d511 Mon Sep 17 00:00:00 2001 +From dd33f93a7f6bdbf04db0a205fa792f6928745e86 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 24 Sep 2019 17:38:12 +0200 Subject: [PATCH] serdev: Add ACPI devices by ResourceSource field @@ -248,7 +248,7 @@ index a9719858c950..ce5309d00280 100644 -- 2.29.2 -From e5cceabc4930b282ba75e7bd15ebeec42de9c483 Mon Sep 17 00:00:00 2001 +From 4af189ef5213e37797aa53f11c67399d4a169d9b Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 17 Aug 2020 01:23:20 +0200 Subject: [PATCH] misc: surface_sam: Add file2alias support for Surface SAM @@ -350,7 +350,7 @@ index c91eba751804..bc06f7631200 100644 -- 2.29.2 -From 268cb226813b9f521dc31adff6982eb8f01191a4 Mon Sep 17 00:00:00 2001 +From 6e983650de4c0698ffa1f6c5d25ee526d09f0146 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 17 Aug 2020 01:44:30 +0200 Subject: [PATCH] misc: Add support for Surface System Aggregator Module @@ -389,7 +389,7 @@ Patchset: surface-sam .../misc/surface_aggregator/clients/Makefile | 10 + .../clients/surface_acpi_notify.c | 886 ++++++ .../clients/surface_aggregator_cdev.c | 303 ++ - .../clients/surface_aggregator_registry.c | 606 ++++ + .../clients/surface_aggregator_registry.c | 616 ++++ .../clients/surface_battery.c | 1168 ++++++++ .../surface_aggregator/clients/surface_dtx.c | 1277 ++++++++ .../surface_aggregator/clients/surface_hid.c | 924 ++++++ @@ -414,7 +414,7 @@ Patchset: surface-sam include/uapi/linux/surface_aggregator/dtx.h | 146 + scripts/mod/devicetable-offsets.c | 3 +- scripts/mod/file2alias.c | 10 +- - 47 files changed, 19125 insertions(+), 7 deletions(-) + 47 files changed, 19135 insertions(+), 7 deletions(-) create mode 100644 Documentation/driver-api/surface_aggregator/client-api.rst create mode 100644 Documentation/driver-api/surface_aggregator/client.rst create mode 100644 Documentation/driver-api/surface_aggregator/clients/cdev.rst @@ -4847,10 +4847,10 @@ index 000000000000..340d15b148b9 +MODULE_LICENSE("GPL"); diff --git a/drivers/misc/surface_aggregator/clients/surface_aggregator_registry.c b/drivers/misc/surface_aggregator/clients/surface_aggregator_registry.c new file mode 100644 -index 000000000000..a18f85dd6881 +index 000000000000..eae9be09a6a3 --- /dev/null +++ b/drivers/misc/surface_aggregator/clients/surface_aggregator_registry.c -@@ -0,0 +1,606 @@ +@@ -0,0 +1,616 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Surface System Aggregator Module (SSAM) client device registry. @@ -4987,6 +4987,12 @@ index 000000000000..a18f85dd6881 + { SSAM_DUID_HID_IID5 }, +}; + ++static const struct ssam_hub_cell ssam_devices_slg1[] = { ++ { SSAM_DUID_TMP_PERF }, ++ { SSAM_DUID_BAT_AC }, ++ { SSAM_DUID_BAT_MAIN }, ++}; ++ +static const struct ssam_hub_cell ssam_devices_sp5[] = { + { SSAM_DUID_TMP_PERF }, +}; @@ -5006,6 +5012,7 @@ index 000000000000..a18f85dd6881 +SSAM_DEFINE_PLATFORM_HUB(sl1); +SSAM_DEFINE_PLATFORM_HUB(sl2); +SSAM_DEFINE_PLATFORM_HUB(sl3); ++SSAM_DEFINE_PLATFORM_HUB(slg1); +SSAM_DEFINE_PLATFORM_HUB(sp5); +SSAM_DEFINE_PLATFORM_HUB(sp6); +SSAM_DEFINE_PLATFORM_HUB(sp7); @@ -5372,6 +5379,9 @@ index 000000000000..a18f85dd6881 + /* Surface Laptop 3 (15", AMD) */ + { "MSHW0110", (unsigned long)&ssam_platform_hub_sl3 }, + ++ /* Surface Laptop Go 1 */ ++ { "MSHW0118", (unsigned long)&ssam_platform_hub_slg1 }, ++ + { }, +}; +MODULE_DEVICE_TABLE(acpi, ssam_platform_hub_match); diff --git a/patches/5.4/0008-surface-hotplug.patch b/patches/5.4/0008-surface-hotplug.patch index ce3ed36e3..233995a2e 100644 --- a/patches/5.4/0008-surface-hotplug.patch +++ b/patches/5.4/0008-surface-hotplug.patch @@ -1,4 +1,4 @@ -From 9f137648cd3fe0ab12f824140cda963933f9e3ce Mon Sep 17 00:00:00 2001 +From 6130cabdba819370017614f85834793e4cb6fa02 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 29 Oct 2020 22:04:38 +0100 Subject: [PATCH] PCI: Allow D3cold for hot-plug ports on Surface Books @@ -83,7 +83,7 @@ index b1b2c8ddbc92..15566ec8f75d 100644 -- 2.29.2 -From a6ed52ecf177d01eda912e252c51dbaae6007488 Mon Sep 17 00:00:00 2001 +From 3021522ec0f72883fc896864b8dfe2d69fce0f1f Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 9 Nov 2020 14:23:00 +0100 Subject: [PATCH] PCI: Run platform power transition on initial D0 entry @@ -145,7 +145,7 @@ index 15566ec8f75d..9b0a591fc60b 100644 -- 2.29.2 -From 2137639d4ed25d4d5535c8648ab17c23f60f6412 Mon Sep 17 00:00:00 2001 +From 5fbd354c11102d7fd78614dbb9308cc1cb87ca56 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 31 Oct 2020 20:46:33 +0100 Subject: [PATCH] PCI: Add sysfs attribute for PCI device power state @@ -218,7 +218,7 @@ index e401f040f157..418927872ae6 100644 -- 2.29.2 -From 1c9053c2ce86a2c9f9906ee98101202682f058e1 Mon Sep 17 00:00:00 2001 +From 4dc3c0a89843e1c4058ea3c4fca7fe563d66cee1 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 14 Dec 2020 20:50:59 +0100 Subject: [PATCH] platform/x86: Add Surface Hotplug driver diff --git a/patches/5.4/0009-surface-typecover.patch b/patches/5.4/0009-surface-typecover.patch index a01ab6a8d..c98463274 100644 --- a/patches/5.4/0009-surface-typecover.patch +++ b/patches/5.4/0009-surface-typecover.patch @@ -1,4 +1,4 @@ -From 158561783d0465c451fffc62d47dc611f8467017 Mon Sep 17 00:00:00 2001 +From 7635869a571c48936def3b1284f4f14e78bfca7d 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