From 86d22a4f3e431a175224b6a6702b65beb43f59f8 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 13 Feb 2022 17:09:04 +0100 Subject: [PATCH] Update v5.16 patches Changes: - Add quirk for battery NOT_CHARGING state - Rebase onto v5.16.9 Links: - kernel: https://github.com/linux-surface/kernel/commit/6d983dbc8cac0779c3b8c971c07329b3d38ee38c --- patches/5.16/0001-surface3-oemb.patch | 2 +- patches/5.16/0002-mwifiex.patch | 16 ++--- patches/5.16/0003-ath10k.patch | 2 +- patches/5.16/0004-ipts.patch | 4 +- patches/5.16/0005-surface-sam.patch | 28 ++++----- patches/5.16/0006-surface-sam-over-hid.patch | 4 +- patches/5.16/0007-surface-gpe.patch | 2 +- patches/5.16/0008-surface-button.patch | 4 +- patches/5.16/0009-surface-typecover.patch | 2 +- patches/5.16/0010-cameras.patch | 64 ++++++++++---------- patches/5.16/0011-amd-gpio.patch | 4 +- patches/5.16/0012-misc-fixes.patch | 60 +++++++++++++++++- pkg/arch/kernel/PKGBUILD | 24 ++++---- 13 files changed, 137 insertions(+), 79 deletions(-) diff --git a/patches/5.16/0001-surface3-oemb.patch b/patches/5.16/0001-surface3-oemb.patch index b6f7d4eb7..23e66e865 100644 --- a/patches/5.16/0001-surface3-oemb.patch +++ b/patches/5.16/0001-surface3-oemb.patch @@ -1,4 +1,4 @@ -From f3f1eb73ab8c3350db71fee43340de986794cd1b Mon Sep 17 00:00:00 2001 +From 559e48df9c01bf21823038491eed2a635d9ad57e 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.16/0002-mwifiex.patch b/patches/5.16/0002-mwifiex.patch index 241eddad3..fbdd74462 100644 --- a/patches/5.16/0002-mwifiex.patch +++ b/patches/5.16/0002-mwifiex.patch @@ -1,4 +1,4 @@ -From de28c3f38ae3ac2f21d239a3fe3a63ce2f6c72df Mon Sep 17 00:00:00 2001 +From 3420833066cf3022f8b1b94402964a61f3020340 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 @@ -183,7 +183,7 @@ index 8ec4176d698f..25370c5a4f59 100644 -- 2.35.1 -From 4387db1a49a5d01fde30eac2e31093dea1907343 Mon Sep 17 00:00:00 2001 +From 18440ef4dd2047cc9f807e56f9f2007f5f96b909 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 @@ -245,7 +245,7 @@ index 563dd0d5ac79..32e2f000e57b 100644 -- 2.35.1 -From 34404bbe9fded98783f45e1242517f576f8f9592 Mon Sep 17 00:00:00 2001 +From 4d7cc8809bf98de47ed1baa7e0c81b5e908d4fdc 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+ @@ -400,7 +400,7 @@ index 25370c5a4f59..a1de111ad1db 100644 -- 2.35.1 -From d7422bd87474bae2fe3b42b11c8873cfe6ed09e3 Mon Sep 17 00:00:00 2001 +From 652efe204eac6f5c6c2e23047c5cf7f00f6049f1 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 @@ -567,7 +567,7 @@ index a1de111ad1db..0e429779bb04 100644 -- 2.35.1 -From 076580c216b98bcc9cd7b02e0c86ee1076541e77 Mon Sep 17 00:00:00 2001 +From afe738b73de03154ca2fce0e2d4fffb817a0e014 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 @@ -645,7 +645,7 @@ index ea72afb7abea..dc0d1d8e0daa 100644 -- 2.35.1 -From 95ad8001965918ed711cd63e9ed15859073c7634 Mon Sep 17 00:00:00 2001 +From 9f99fe49a60f8046d96dcc270ac7165caadd997d 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 @@ -702,7 +702,7 @@ index 586c79dc0a98..f87bc9bdfba7 100644 -- 2.35.1 -From 2747c0e1b2bbdca151fa76a35d69290eccefae80 Mon Sep 17 00:00:00 2001 +From c7dcb31474dfe87c5988af70a5fac7d3115c2679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Tue, 13 Apr 2021 14:23:05 +0200 Subject: [PATCH] mwifiex: Add quirk to disable deep sleep with certain @@ -805,7 +805,7 @@ index 6b5d35d9e69f..8e49ebca1847 100644 -- 2.35.1 -From 24b206a7c9234d884ad40087e5abcbbc9591d5d7 Mon Sep 17 00:00:00 2001 +From dcf78fce7299b611a21c64f47fd51527eeee46be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Tue, 13 Apr 2021 12:57:41 +0200 Subject: [PATCH] mwifiex: Ignore BTCOEX events from the firmware diff --git a/patches/5.16/0003-ath10k.patch b/patches/5.16/0003-ath10k.patch index 0809ddbc7..1b52d0625 100644 --- a/patches/5.16/0003-ath10k.patch +++ b/patches/5.16/0003-ath10k.patch @@ -1,4 +1,4 @@ -From 05106ed51bdf1130adecf7f11ae75d6dd876d25b Mon Sep 17 00:00:00 2001 +From d89fc473ee896fbc11614df7e06a0b410c9883e2 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 diff --git a/patches/5.16/0004-ipts.patch b/patches/5.16/0004-ipts.patch index 2820b4501..eeb6bddf6 100644 --- a/patches/5.16/0004-ipts.patch +++ b/patches/5.16/0004-ipts.patch @@ -1,4 +1,4 @@ -From e24bacd9fd3780a0abbf9c626420fae7fd07d246 Mon Sep 17 00:00:00 2001 +From b53760d4671ee3ca82d098a0e40771ebda911911 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 @@ -36,7 +36,7 @@ index 3a45aaf002ac..55b8ee30a03c 100644 -- 2.35.1 -From 6115cb159fc6dd3a7780feee9bc280abac783860 Mon Sep 17 00:00:00 2001 +From 188db5ecb94434feec3bcee91968af669e070360 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 diff --git a/patches/5.16/0005-surface-sam.patch b/patches/5.16/0005-surface-sam.patch index 258b53597..d22ca9d6c 100644 --- a/patches/5.16/0005-surface-sam.patch +++ b/patches/5.16/0005-surface-sam.patch @@ -1,4 +1,4 @@ -From bc8dfedd855ece610209811bf66369784d130ce1 Mon Sep 17 00:00:00 2001 +From ce38dc8cb795a5b92cb3603c69ea7fe0e99bcb30 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 2 Jun 2021 03:34:06 +0200 Subject: [PATCH] platform/surface: aggregator: Make client device removal more @@ -123,7 +123,7 @@ index f636c5310321..cc257097eb05 100644 -- 2.35.1 -From 3b278e68477dd47cc9ae6b3cf83603e2d8838512 Mon Sep 17 00:00:00 2001 +From 5e3b5a5ecd8d92398b201964b6a74c5cabc665e9 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 27 Oct 2021 02:06:38 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Use generic client @@ -211,7 +211,7 @@ index e70f4c63554e..f6c639342b9d 100644 -- 2.35.1 -From 6d879ba7ad9bef1bcf97c459f8a09d8966044de0 Mon Sep 17 00:00:00 2001 +From a814cea8b33a1636c12b94518fe929796a661788 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 27 Oct 2021 02:07:33 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Rename device @@ -262,7 +262,7 @@ index f6c639342b9d..ce2bd88feeaa 100644 -- 2.35.1 -From 1e2a7e85582cdbdc4ff00cc105b83b6231d71663 Mon Sep 17 00:00:00 2001 +From 8bfbaa04eee669e8936211dd7b192071c63c896a Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 00:24:47 +0200 Subject: [PATCH] platform/surface: aggregator: Allow devices to be marked as @@ -383,7 +383,7 @@ index cc257097eb05..491aa7e9f4bc 100644 -- 2.35.1 -From 9fc334bec69241863e1b30b2f51a8b5c37956abb Mon Sep 17 00:00:00 2001 +From 20fa19637d7202da9dad4104b2deff3842af9d64 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 00:48:22 +0200 Subject: [PATCH] platform/surface: aggregator: Allow notifiers to avoid @@ -670,7 +670,7 @@ index 491aa7e9f4bc..16816c34da3e 100644 -- 2.35.1 -From a795de81bfdeb719a0edad7f9f3bf7b3ae795071 Mon Sep 17 00:00:00 2001 +From 6cf43a014389a8747e02e43c8ea6f43b41ee2c20 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 01:20:49 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Use client device @@ -719,7 +719,7 @@ index ce2bd88feeaa..9f630e890ff7 100644 -- 2.35.1 -From 7b9231d32e0f06a6ae13325caec2ad15c28ecb96 Mon Sep 17 00:00:00 2001 +From 94ba4a28b2b57cdaf9fda703cece57f5132fbdbd Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 28 Oct 2021 03:37:06 +0200 Subject: [PATCH] power/supply: surface_charger: Use client device wrappers for @@ -759,7 +759,7 @@ index a060c36c7766..59182d55742d 100644 -- 2.35.1 -From f2c309842ea0fc22023baf0740bae488f6968859 Mon Sep 17 00:00:00 2001 +From 9aef10069bd46464f156260bd85d37927956a7fb Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 28 Oct 2021 03:38:09 +0200 Subject: [PATCH] power/supply: surface_battery: Use client device wrappers for @@ -799,7 +799,7 @@ index 5ec2e6bb2465..540707882bb0 100644 -- 2.35.1 -From bed8c8f2b05e072971f263630f33dd4ef34f5ad9 Mon Sep 17 00:00:00 2001 +From 78f254b60367e688fe32ac4935fd345228222690 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 01:33:02 +0200 Subject: [PATCH] HID: surface-hid: Add support for hot-removal @@ -910,7 +910,7 @@ index 5571e74abe91..d2e695e942b6 100644 -- 2.35.1 -From 364137ab6ff67ec68e96df6da299bed5d4df1dda Mon Sep 17 00:00:00 2001 +From 0829c35412289c2870e99a8f7d0980b398be3137 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 31 Oct 2021 12:34:08 +0100 Subject: [PATCH] platform/surface: aggregator: Add comment for KIP subsystem @@ -948,7 +948,7 @@ index c3de43edcffa..d1efac85caf1 100644 -- 2.35.1 -From df292b73e68515f665debf71ca482008dccdcd14 Mon Sep 17 00:00:00 2001 +From c7a76cf037a3b01c91f871698119f21feb2c0213 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 10 Oct 2021 23:56:23 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add KIP device hub @@ -1262,7 +1262,7 @@ index 9f630e890ff7..4838ce6519a6 100644 -- 2.35.1 -From 058f287422712ca84cc8be7b13ca9a794c856f02 Mon Sep 17 00:00:00 2001 +From edf160cb48e93f7cc49695d4269c2b0387d3e1d6 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 27 Oct 2021 22:33:03 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add support for @@ -1360,7 +1360,7 @@ index 4838ce6519a6..c0e29c0514df 100644 -- 2.35.1 -From e8e283f63cc35de81b10845cb31b346969df3951 Mon Sep 17 00:00:00 2001 +From b140dee3a0d979878a285e59d388e275a805d765 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 03:19:20 +0200 Subject: [PATCH] platform/surface: Add KIP tablet-mode switch @@ -1704,7 +1704,7 @@ index 000000000000..458470067579 -- 2.35.1 -From 6ffafa933387524763eaea59ddb9b90340f77781 Mon Sep 17 00:00:00 2001 +From 719517c0a0cb760d9d23c24e0173f4fa67e1fd43 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 27 Oct 2021 22:33:03 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add support for tablet diff --git a/patches/5.16/0006-surface-sam-over-hid.patch b/patches/5.16/0006-surface-sam-over-hid.patch index a175d8667..666aca63f 100644 --- a/patches/5.16/0006-surface-sam-over-hid.patch +++ b/patches/5.16/0006-surface-sam-over-hid.patch @@ -1,4 +1,4 @@ -From 7250c54103c6080991ca566db38bc661b8d24d8c Mon Sep 17 00:00:00 2001 +From b19faf8d44a8619192b09e14ce3aa46130ddb8a9 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 92c1cc07ed46..3b688cea8e00 100644 -- 2.35.1 -From 4652ff94bc9fc6d6978dfc737a8472a9b3a5a19d Mon Sep 17 00:00:00 2001 +From bcd00fe40c9d6faeabead49d2a2f5e1683587649 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/5.16/0007-surface-gpe.patch b/patches/5.16/0007-surface-gpe.patch index 02160aa50..7b23ebf46 100644 --- a/patches/5.16/0007-surface-gpe.patch +++ b/patches/5.16/0007-surface-gpe.patch @@ -1,4 +1,4 @@ -From 552613d6ad3bbec3fd43836ffd71dd8bf61eb9b0 Mon Sep 17 00:00:00 2001 +From fc9a34f60d8991abbf4b01163ecad7eab85252fd Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 27 Oct 2021 00:56:11 +0200 Subject: [PATCH] platform/surface: gpe: Add support for Surface Pro 8 diff --git a/patches/5.16/0008-surface-button.patch b/patches/5.16/0008-surface-button.patch index 5c9096b88..6ecbd7798 100644 --- a/patches/5.16/0008-surface-button.patch +++ b/patches/5.16/0008-surface-button.patch @@ -1,4 +1,4 @@ -From 3f5c96e3e58c76c815f867c02ec93c9e49204d59 Mon Sep 17 00:00:00 2001 +From 7d7324589c958f982a4b785474af8308ae0549b6 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 cb6ec59a045d..4e8944f59def 100644 -- 2.35.1 -From a68f2de6bdf886b876d61877d6ef7757c43ef7cf Mon Sep 17 00:00:00 2001 +From 9ea8898680efff7bae88f05736933149e92ed225 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/5.16/0009-surface-typecover.patch b/patches/5.16/0009-surface-typecover.patch index 6f62446f9..6e64e95e1 100644 --- a/patches/5.16/0009-surface-typecover.patch +++ b/patches/5.16/0009-surface-typecover.patch @@ -1,4 +1,4 @@ -From 2c0f782c74c5973c6071bd9eb7b99110d8ece6fb Mon Sep 17 00:00:00 2001 +From a50dba2459737e7b68ddc57ab28f2c44c93e6382 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 diff --git a/patches/5.16/0010-cameras.patch b/patches/5.16/0010-cameras.patch index bbf125990..416af1989 100644 --- a/patches/5.16/0010-cameras.patch +++ b/patches/5.16/0010-cameras.patch @@ -1,4 +1,4 @@ -From 7502d4a526f9fb34b7929662195b75fe72a9a490 Mon Sep 17 00:00:00 2001 +From a164a05ba280d22ab04a895754cfb73a79c70014 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Mon, 5 Apr 2021 23:56:53 +0100 Subject: [PATCH] media: ipu3-cio2: Toggle sensor streaming in pm runtime ops @@ -58,7 +58,7 @@ index 356ea966cf8d..76fd4e6e8e46 100644 -- 2.35.1 -From 14cf9428700b3b8729000a56b645e1ca83b56f5d Mon Sep 17 00:00:00 2001 +From 52789dd9c7bcdbca5cafc5be957a9245ab853c81 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Mon, 5 Apr 2021 23:56:54 +0100 Subject: [PATCH] media: i2c: Add support for ov5693 sensor @@ -1701,7 +1701,7 @@ index 000000000000..9499ee10f56c -- 2.35.1 -From f73708ccfbff6f60f2a5d978c7fbf047095898a1 Mon Sep 17 00:00:00 2001 +From 1768e13939edeb2872eedf8dfbf77e44887651cc Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 20 May 2021 23:31:04 +0100 Subject: [PATCH] media: i2c: Fix vertical flip in ov5693 @@ -1736,7 +1736,7 @@ index 9499ee10f56c..c558f9b48c83 100644 -- 2.35.1 -From 147e53922dc463990055e97c7bf9c2806cb34848 Mon Sep 17 00:00:00 2001 +From ccf2188693dae8019bafaa2ab09be1731a6ea54a Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Fri, 9 Jul 2021 16:39:18 +0100 Subject: [PATCH] media: i2c: Add ACPI support to ov8865 @@ -1787,7 +1787,7 @@ index 92f6c3a940cf..15325df45c2b 100644 -- 2.35.1 -From 12c7673b3c2b88ca1e6bd7a33f2b37bdfc17c781 Mon Sep 17 00:00:00 2001 +From 516d6d866823bfe7be136726f674a93ec57470d7 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Sat, 10 Jul 2021 21:20:17 +0100 Subject: [PATCH] media: i2c: Fix incorrect value in comment @@ -1818,7 +1818,7 @@ index 15325df45c2b..8dcdf29be25e 100644 -- 2.35.1 -From 07b6529b9616a667262f9de2fb54da4bc1ee8c68 Mon Sep 17 00:00:00 2001 +From 3f683199678464b7c3a59813aad51aed084e7c5d Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Sat, 10 Jul 2021 22:21:52 +0100 Subject: [PATCH] media: i2c: Defer probe if not endpoint found @@ -1855,7 +1855,7 @@ index 8dcdf29be25e..ceb9a93b043a 100644 -- 2.35.1 -From 887d1d97591a76c38d78b567b6c803c60260ae71 Mon Sep 17 00:00:00 2001 +From d074dc87f1d2b506ed14447df003f522a4cfeeb0 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Sat, 10 Jul 2021 22:00:25 +0100 Subject: [PATCH] media: i2c: Support 19.2MHz input clock in ov8865 @@ -2214,7 +2214,7 @@ index ceb9a93b043a..9bac32efa7fa 100644 -- 2.35.1 -From a47284b76433178b21fee2a91b59e09684ed4788 Mon Sep 17 00:00:00 2001 +From e6afc140d86f99e8862c30ce27df95e781f55603 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Sat, 10 Jul 2021 22:19:10 +0100 Subject: [PATCH] media: i2c: Add .get_selection() support to ov8865 @@ -2319,7 +2319,7 @@ index 9bac32efa7fa..d41ce6b5af55 100644 -- 2.35.1 -From 3d720100f5243269521a0e2f31de501e500302db Mon Sep 17 00:00:00 2001 +From 8ac8fbfd113eb49d2f5a643c2d5bb25fdb08c368 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Sat, 10 Jul 2021 22:34:43 +0100 Subject: [PATCH] media: i2c: Switch control to V4L2_CID_ANALOGUE_GAIN @@ -2372,7 +2372,7 @@ index d41ce6b5af55..07f34f3ae5ec 100644 -- 2.35.1 -From 284241a654ddebda25e0382159233c2dc72a376a Mon Sep 17 00:00:00 2001 +From 6e98fcffdd460b9f70dbfb435aa3a5414496e507 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Mon, 12 Jul 2021 22:54:56 +0100 Subject: [PATCH] media: i2c: Add vblank control to ov8865 @@ -2482,7 +2482,7 @@ index 07f34f3ae5ec..95c1b97eb89a 100644 -- 2.35.1 -From c511699932fecf2fe14c97ec12afdcea9034f117 Mon Sep 17 00:00:00 2001 +From ad651562089ae11b10386303af634df0ecc4daf7 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Tue, 13 Jul 2021 23:40:33 +0100 Subject: [PATCH] media: i2c: Add hblank control to ov8865 @@ -2552,7 +2552,7 @@ index 95c1b97eb89a..85a76aea67a5 100644 -- 2.35.1 -From bf9ae18793f34033088f3de7466c210a7dc3f824 Mon Sep 17 00:00:00 2001 +From 6d88b55e91bf7a66fe2dfd86e7509b60b3293334 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Wed, 20 Oct 2021 22:43:54 +0100 Subject: [PATCH] media: i2c: Update HTS values in ov8865 @@ -2728,7 +2728,7 @@ index 85a76aea67a5..7f5b0c48eac4 100644 -- 2.35.1 -From 5836bba7b1910046a5d55cd892c40d00b234c993 Mon Sep 17 00:00:00 2001 +From 494a13fc366e56b364d9df3af95d92eb73268b5a Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Tue, 13 Jul 2021 23:43:17 +0100 Subject: [PATCH] media: i2c: cap exposure at height + vblank in ov8865 @@ -2811,7 +2811,7 @@ index 7f5b0c48eac4..d867676bf77e 100644 -- 2.35.1 -From e44e80f0a5946b299c58ffa8f85353a9a7089cdc Mon Sep 17 00:00:00 2001 +From 657e4f3c2b5a22b7521a1cda67db55c80e755e9d Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Fri, 16 Jul 2021 22:56:15 +0100 Subject: [PATCH] media: i2c: Add controls from fwnode to ov8865 @@ -2856,7 +2856,7 @@ index d867676bf77e..d0303016e7b4 100644 -- 2.35.1 -From 0a0bb3e4386c458b36849ea287f87e4d2e5b34ef Mon Sep 17 00:00:00 2001 +From cd144ea9ea139f4cd96b9f7acf3a7338f45ae466 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Fri, 16 Jul 2021 00:00:54 +0100 Subject: [PATCH] media: i2c: Switch exposure control unit to lines @@ -2903,7 +2903,7 @@ index d0303016e7b4..a638e53bb069 100644 -- 2.35.1 -From 9caf72b5dab0aa52bfc5fec3f375798ea0ebd945 Mon Sep 17 00:00:00 2001 +From e99eede298620bcddcf1f90e0bd9178715b3d242 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Tue, 24 Aug 2021 23:17:39 +0100 Subject: [PATCH] media: i2c: Use dev_err_probe() in ov8865 @@ -2986,7 +2986,7 @@ index a638e53bb069..5ef9c407362a 100644 -- 2.35.1 -From 5a3dbe68b3bd4b7512d0d5b2d3fe75b6a6d7091a Mon Sep 17 00:00:00 2001 +From 849c321f4f9819d72cb8a53ecc61bf38c84f7603 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Wed, 14 Jul 2021 00:05:04 +0100 Subject: [PATCH] media: ipu3-cio2: Add INT347A to cio2-bridge @@ -3019,7 +3019,7 @@ index 0b586b4e537e..4550be801311 100644 -- 2.35.1 -From 32ac5542aec7afb719d04f562d71a2bf2bc6e539 Mon Sep 17 00:00:00 2001 +From 552c1af3c1e82ffbaa49cae8ae4075729564b104 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 @@ -3202,7 +3202,7 @@ index d6fe27b695c3..5895f6c7f6db 100644 -- 2.35.1 -From 0c945874b424fde022f195bb58cac7a8c05f1554 Mon Sep 17 00:00:00 2001 +From 1e70469cab7880ca1007487afe9547d7a1b33899 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 10 Oct 2021 20:56:58 +0200 Subject: [PATCH] i2c: acpi: Use acpi_dev_ready_for_enumeration() helper @@ -3254,7 +3254,7 @@ index 3b688cea8e00..0542d8aba902 100644 -- 2.35.1 -From 51a083ff34bb2c3829a38be5cd113ff53f4b99d8 Mon Sep 17 00:00:00 2001 +From 5c90fd298aaae45a2fb0feec802fa5015e1c0d3b Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 10 Oct 2021 20:56:59 +0200 Subject: [PATCH] platform_data: Add linux/platform_data/tps68470.h file @@ -3327,7 +3327,7 @@ index 000000000000..126d082c3f2e -- 2.35.1 -From 39d70d182de882593abf20a649ae31e375109357 Mon Sep 17 00:00:00 2001 +From ae9f268bb1072af1e010a7dbf22bf8fcf535e519 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 10 Oct 2021 20:57:00 +0200 Subject: [PATCH] regulator: Introduce tps68470-regulator driver @@ -3589,7 +3589,7 @@ index 000000000000..3129fa13a122 -- 2.35.1 -From 406ba8c572d8df6940640f57416cb1a5830e6230 Mon Sep 17 00:00:00 2001 +From ef458fad911683b739894c5e77398f5169e2acb6 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 10 Oct 2021 20:57:01 +0200 Subject: [PATCH] clk: Introduce clk-tps68470 driver @@ -3934,7 +3934,7 @@ index ffe81127d91c..7807fa329db0 100644 -- 2.35.1 -From 2f68b3abe00b2efaeee9c3e42de08ef6bc5145d3 Mon Sep 17 00:00:00 2001 +From 73ef2ff84b73c80716e6517a39660f261bf1c32e 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 @@ -3971,7 +3971,7 @@ index c05b4cf502fe..42e688f4cad4 100644 -- 2.35.1 -From 366023d8b8890f8f0db522fc6544953a9b75ffb9 Mon Sep 17 00:00:00 2001 +From f582639399d5cc76002cd39dd12f18c81e0c0caa Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 10 Oct 2021 20:57:03 +0200 Subject: [PATCH] platform/x86: int3472: Split into 2 drivers @@ -4230,7 +4230,7 @@ index 42e688f4cad4..b94cf66ab61f 100644 -- 2.35.1 -From 2d30a7e0711e34512f1d4039c935ae4c07bb9ac8 Mon Sep 17 00:00:00 2001 +From 7f4d14cf96b686596521e65fcd044b590b5f6440 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 10 Oct 2021 20:57:04 +0200 Subject: [PATCH] platform/x86: int3472: Add get_sensor_adev_and_name() helper @@ -4343,7 +4343,7 @@ index a19a1f5dbdd7..efd31a0c7a88 100644 -- 2.35.1 -From 43c422eff77663cb34cc8a0aa7fbd820bb085b48 Mon Sep 17 00:00:00 2001 +From 826690761e8e3b20436051ffd115c79dc4132075 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 10 Oct 2021 20:57:05 +0200 Subject: [PATCH] platform/x86: int3472: Pass tps68470_clk_platform_data to the @@ -4431,7 +4431,7 @@ index b94cf66ab61f..78e34e7b6969 100644 -- 2.35.1 -From f6dc78b227773f530fecd744f974e8f234d9be9c Mon Sep 17 00:00:00 2001 +From 20378c1cdd5fd28b0e3dfd251b74e5397fb1c078 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 10 Oct 2021 20:57:06 +0200 Subject: [PATCH] platform/x86: int3472: Pass tps68470_regulator_platform_data @@ -4725,7 +4725,7 @@ index 000000000000..96954a789bb8 -- 2.35.1 -From e34f0cc46d6b6671dd57ddeafd58faa82562a3df Mon Sep 17 00:00:00 2001 +From ef134b3eae8387c1aa7e6be82768756b8b1284de Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 10 Oct 2021 20:57:07 +0200 Subject: [PATCH] platform/x86: int3472: Deal with probe ordering issues @@ -4809,7 +4809,7 @@ index aae24d228770..21c6c1a6edfc 100644 -- 2.35.1 -From 7a52885c75fcdbbc3961a2015b7d69c0674bf77b Mon Sep 17 00:00:00 2001 +From b7cfc28b299acc429498a00b72e650569d094500 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 4 Nov 2021 21:46:27 +0000 Subject: [PATCH] media: i2c: Add integration time margin to ov8865 @@ -4851,7 +4851,7 @@ index 5ef9c407362a..ed038efbc084 100644 -- 2.35.1 -From a5851e4454261f8ff96de8e60f84fb152bd5e41e Mon Sep 17 00:00:00 2001 +From 599a07872a683302a24b0dfd31ed5a578db49844 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 4 Nov 2021 21:48:38 +0000 Subject: [PATCH] media: i2c: Fix max gain in ov8865 @@ -4883,7 +4883,7 @@ index ed038efbc084..5bedcddafe36 100644 -- 2.35.1 -From 2df77bba917602b0515ad39016808bd196891da6 Mon Sep 17 00:00:00 2001 +From 8f978dba718970fb2c77ea9fd7d465b073108367 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 3 Dec 2021 12:51:08 +0100 Subject: [PATCH] mfd: intel-lpss: Fix I2C4 not being available on the @@ -4988,7 +4988,7 @@ index 22dbc4aed793..062ce95b68b9 100644 -- 2.35.1 -From 12b8d0d130b8faa657016a916aa0ffd03c2086a6 Mon Sep 17 00:00:00 2001 +From 1c729760ac172b80dcafb85d360237bd22cc4ffc Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 6 Jan 2022 22:12:38 +0000 Subject: [PATCH] platform/x86: int3472: Add board data for Surface Go 3 diff --git a/patches/5.16/0011-amd-gpio.patch b/patches/5.16/0011-amd-gpio.patch index 66b1412c3..a44dbb1d2 100644 --- a/patches/5.16/0011-amd-gpio.patch +++ b/patches/5.16/0011-amd-gpio.patch @@ -1,4 +1,4 @@ -From a3161be32fe17e768defa378579c68a401c32ca0 Mon Sep 17 00:00:00 2001 +From 99ca1c28691965b97f3a4f5b2eda236789bb5b6d 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 5b6d1a95776f..0a05e196419a 100644 -- 2.35.1 -From 56e449a93f251149e8f4cc6e5e278a24138d9bfb Mon Sep 17 00:00:00 2001 +From a2439d9c5d4011970fd053eed29dae66a64c7309 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/5.16/0012-misc-fixes.patch b/patches/5.16/0012-misc-fixes.patch index 643aafef7..16d7e7bea 100644 --- a/patches/5.16/0012-misc-fixes.patch +++ b/patches/5.16/0012-misc-fixes.patch @@ -1,4 +1,4 @@ -From 542c79760afc782ac24b9783f2ad3bd32ddd3b4c Mon Sep 17 00:00:00 2001 +From 0a8e17ef18dcc81039a13eab0856a6ff0a653465 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 8 Dec 2021 16:22:50 +0100 Subject: [PATCH] acpi/battery: Add device HID and quirk for Microsoft Surface @@ -51,3 +51,61 @@ index ead0114f27c9..56db7b4da514 100644 -- 2.35.1 +From 29a6d8202d5fa9c4cf7b2431e1358f828239b676 Mon Sep 17 00:00:00 2001 +From: Maximilian Luz +Date: Tue, 8 Feb 2022 01:29:48 +0100 +Subject: [PATCH] ACPI: battery: Add "Not Charging" quirk for Microsoft Surface + devices + +Microsoft Surface devices have a limiter that sets a fixed maximum +charge capacity for the battery. When that maximum capacity has been +reached, charging stops. In that case, _BST returns a battery state +field with both "charging" and "discharging" bits cleared. The battery +driver, however, returns "unknown" as status. + +This seems to be the same behavior as observed on the ThinkPads, so +let's use the same quirk to handle that as well. + +Signed-off-by: Maximilian Luz +Patchset: misc-fixes + +--- +For what it's worth, I don't think the ACPI spec explicitly states that +any of the status bits need to be set, or that there are only the +"charging" and "discharging" states. As far as I can tell, ACPI only +states: + + Notice that the Charging bit and the Discharging bit are mutually + exclusive and must not both be set at the same time. Even in + critical state, hardware should report the corresponding + charging/discharging state. + +But that does not exclude the case that no bit is set. So, strictly +going by spec, I don't think it's necessary to put all of this behind a +quirk. +--- + drivers/acpi/battery.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c +index 56db7b4da514..8edaa3020af3 100644 +--- a/drivers/acpi/battery.c ++++ b/drivers/acpi/battery.c +@@ -1181,6 +1181,14 @@ static const struct dmi_system_id bat_dmi_table[] __initconst = { + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad"), + }, + }, ++ { ++ .callback = battery_quirk_not_charging, ++ .ident = "Microsoft Surface", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), ++ DMI_MATCH(DMI_PRODUCT_NAME, "Surface"), ++ }, ++ }, + { + /* Microsoft Surface Go 3 */ + .callback = battery_notification_delay_quirk, +-- +2.35.1 + diff --git a/pkg/arch/kernel/PKGBUILD b/pkg/arch/kernel/PKGBUILD index dbb309b12..c53932f1b 100644 --- a/pkg/arch/kernel/PKGBUILD +++ b/pkg/arch/kernel/PKGBUILD @@ -51,18 +51,18 @@ sha256sums=('SKIP' 'a7e88715c86f2ea77e80cb0535d827406676cb8227a9367dd98931f511b06f31' '63e0aa01e590c789a2a312f48cdc467b29734465cdf87e206b7a7e0f82e22bc4' 'b30cd71018df7e98101ba0cf37054169006b096d2870a9f8467dd96378b02b98' - 'b170be558d9f62cec7afec5e2bb002524256d5fa1d82dc0412b3dd7cd0c7e6fb' - 'a3ed1962d636de3250229fcfac724c50e890ea51d9b88675a8218c7aafba9321' - 'd3550179c596ecdc4bc3d2f84bfca55d957c668b82e9f2b79b62d4ced3465a54' - '464d98be85b15a71c79d3d8cdad41a99acbb03eb8c8e4540b0ffb44e59c6a5cf' - '684e79d400b96ad547191128fe40b4b4a8602b8db0ebaef8d601b2e884f8eaf3' - '4d191cbcf4a4aaaad7c18077ad314ec0143c1862569828b0c4686f9099a57de9' - 'f2db169c351244f621add715c62cfd4305fcaddde250733032e9dff55a67d42d' - '349e12684dad74a95308781a918a08b6f248282af9217e0f6c870b2078133a4b' - '65a0f86569bd68aff2add4e056642bb8cd47bc094c41f74b4caddc5b4302cf4c' - 'c66407affe0d73e7e5642f0d62b3a7ce8c16860004cee834412820921819def7' - '74b2343d8577e446a1c2de9f72839c24b65fcdda6d600812bbcfe9bcc6eca881' - '54b81e4aba3f88f03da5e979d37d116f4b3e1b5d69c8da8f83ff154a3addfad0') + 'c703fe161185fb827e033586383662610e4764dbfa0cd6df859d68d5c57a0afc' + '4b9ff2697e7e772674b823376d763b4b50692c9a369dd15c96ba69b2a77d7a6e' + 'e472c2af6c1dd42ce154f1b356720dc564e33a877db07e1e8d243b1c3aff64d5' + '2de7a568ea3f3d53923f9e92e0184885669fd9d36901b1ec45f7905083720c2f' + 'a614390661943f06a313ea53e009c246a06368148244ca84cd1186fdefd4d27e' + '2c42107b080f121f573d5a035f91e9b00ba4d21fa9a1ac2fa11d692a6c91fce1' + '391c66d68ccfbac9d643946bd15518300fe0490ffe06e6f7d550dc4cd658dd86' + '75447721604ad0d7f366c86f30d38693ec2f425a3afa958aa5e5c8cc24097f3f' + 'e4ebf0b4de7d8ae75cd091ff1e763ba8e6bdbf33433b3310fa149326182ae158' + '5f386a0585ae67634242cafd5d298295becb3048847718f424728c97c00234a4' + '25d4e17f90a37005269ea63e65622fc2a1c9c752306fb750c5175069d70d8556' + '0332c924c8d3462c1e267c75d8c64da96c0abd4e3b475073b035aaf764f96fd8') export KBUILD_BUILD_HOST=archlinux