Update v5.15 patches

Changes:
 - Add patch to support Surface Go 3 power/volume buttons by Alex Hung.
 - Add patch to to support Surface Go 3 battery status/information.
 - Rebase onto v5.15.6

Links:
 - kernel: e7ecf4debb
 - https://github.com/linux-surface/linux-surface/issues/595
 - https://github.com/linux-surface/linux-surface/issues/639
This commit is contained in:
Maximilian Luz 2021-12-08 17:04:58 +01:00
parent a602640f43
commit 55459d68a7
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
13 changed files with 291 additions and 95 deletions

View file

@ -1,4 +1,4 @@
From aa5c6b07b36d96ff8a44d3fd31e3c270a1d424db Mon Sep 17 00:00:00 2001
From 7c8e60c0c14a1991effe428fe1559febf6911755 Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Sun, 18 Oct 2020 16:42:44 +0900
Subject: [PATCH] (surface3-oemb) add DMI matches for Surface 3 with broken DMI

View file

@ -1,4 +1,4 @@
From 2a61d386b2e292a6d87170f7575231726295bac7 Mon Sep 17 00:00:00 2001
From a9c674b53d7e4a5a0b93ff9530b5bedd4fd56a44 Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
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.34.1
From 44a8339560cc10c6708920f91298db1fe117877d Mon Sep 17 00:00:00 2001
From e8ce686047b40924a33b45b8ced2c976103db459 Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
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.34.1
From 2c7ff89670b65a2cb343cf30761ccd67b00daf68 Mon Sep 17 00:00:00 2001
From baac06672d095e16f8d10d359a85ed18bcd136e6 Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
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.34.1
From ed94f990020938cf063e9e184b6981961c315c10 Mon Sep 17 00:00:00 2001
From 964153555d2063378ef0ae7427106e2eadae605b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
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.34.1
From 986ce2e5b06ae7acf47530b0a5862386e7602154 Mon Sep 17 00:00:00 2001
From 8e8ab158b6ae6a89456c2a32bb58f57ca713c59c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Thu, 25 Mar 2021 11:33:02 +0100
Subject: [PATCH] Bluetooth: btusb: Lower passive lescan interval on Marvell
@ -645,7 +645,7 @@ index 79d0db542da3..ec96f3e7ad33 100644
--
2.34.1
From ad921e4a01fb6650843d9e8aeaa0c47560265553 Mon Sep 17 00:00:00 2001
From 776d0a1d1d7a871abd4e15ded9c00b044e1630af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 12:31:26 +0100
Subject: [PATCH] mwifiex: Small cleanup for handling virtual interface type
@ -746,7 +746,7 @@ index 97f0f39364d6..dd30d21edc01 100644
--
2.34.1
From ae35ad52495643b7805eb78bcec62d0ba33c9f2a Mon Sep 17 00:00:00 2001
From 288057e261dc9b6ae5360f68e89baf5261b85552 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 10 Nov 2020 12:49:56 +0100
Subject: [PATCH] mwifiex: Use non-posted PCI register writes
@ -803,7 +803,7 @@ index 586c79dc0a98..f87bc9bdfba7 100644
--
2.34.1
From 21bea4b8c6e038e66613e319de1706f99b66bebc Mon Sep 17 00:00:00 2001
From ed34c0779108808a52d8a52162e11859c1a21e5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 12:44:39 +0100
Subject: [PATCH] mwifiex: Use function to check whether interface type change
@ -1036,7 +1036,7 @@ index dd30d21edc01..e4d44705c827 100644
--
2.34.1
From 079426b90b0a845a7b2e5c5f71393c7f9ade0e47 Mon Sep 17 00:00:00 2001
From e81bf93f2b4190ec25ce8d46e26ea582362cb63b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 14:42:54 +0100
Subject: [PATCH] mwifiex: Use helper function for counting interface types
@ -1212,7 +1212,7 @@ index e4d44705c827..a688fd898564 100644
--
2.34.1
From fa1fe1c9e8c473983492c1d9645892b0048e8190 Mon Sep 17 00:00:00 2001
From abdb4a880cdc2fb4bd41e1bc951d87e30e435e5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Fri, 26 Mar 2021 15:56:58 +0100
Subject: [PATCH] mwifiex: Update virtual interface counters right after
@ -1315,7 +1315,7 @@ index a688fd898564..2a938e8e0bb1 100644
--
2.34.1
From 72307e76555170190a8344c6872e02634deceeee Mon Sep 17 00:00:00 2001
From 2573645b59f8aa58c5e01d043f891d47d30b7869 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 13:42:40 +0100
Subject: [PATCH] mwifiex: Allow switching interface type from P2P_CLIENT to
@ -1404,7 +1404,7 @@ index 2a938e8e0bb1..2a3f9ebb3182 100644
--
2.34.1
From 86253b78e05e9b20604680606f7cf002cd62c978 Mon Sep 17 00:00:00 2001
From 5873cce4d8ccc1ddb593c4ced5955cdc07a58b75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Fri, 26 Mar 2021 15:31:08 +0100
Subject: [PATCH] mwifiex: Handle interface type changes from AP to STATION
@ -1431,7 +1431,7 @@ index 2a3f9ebb3182..0eb31201a82b 100644
--
2.34.1
From 106d74d8e3d274559655831609c46329a05f075d Mon Sep 17 00:00:00 2001
From 784c6bb040190dd779b8ef361bde3c71d6704dbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Sat, 27 Mar 2021 12:19:14 +0100
Subject: [PATCH] mwifiex: Fix copy-paste mistake when creating virtual
@ -1463,7 +1463,7 @@ index 0eb31201a82b..d62a20de3ada 100644
--
2.34.1
From 82dc821d865325684647b722ffad680d6a4d6262 Mon Sep 17 00:00:00 2001
From 18146779f39dd75c6372a54e43ba31e4fd0deb27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 13 Apr 2021 14:30:28 +0200
Subject: [PATCH] mwifiex: Deactive host sleep using HSCFG after it was
@ -1619,7 +1619,7 @@ index 48ea00da1fc9..1e2798dce18f 100644
--
2.34.1
From db0e65ebb5aef450eeb7bc0795c0c0c92610acae Mon Sep 17 00:00:00 2001
From f988afeae57754ce82616a504b38bee6a281507b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 13 Apr 2021 14:23:05 +0200
Subject: [PATCH] mwifiex: Add quirk to disable deep sleep with certain
@ -1722,7 +1722,7 @@ index 6b5d35d9e69f..8e49ebca1847 100644
--
2.34.1
From 75b3d30861f76b7a12700aa08d8c24cb9193b00a Mon Sep 17 00:00:00 2001
From 0463e227830bb86aa81b26a0475d185b0604ab7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 15:17:07 +0100
Subject: [PATCH] mwifiex: Don't log error on suspend if wake-on-wlan is
@ -1754,7 +1754,7 @@ index d62a20de3ada..18b1a6d54bc8 100644
--
2.34.1
From f6131d38ce61539b420368d8c49d8d6ef5abeff8 Mon Sep 17 00:00:00 2001
From 0b6df4e8504bc3079caa5f10a327dd62c0510975 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Sun, 28 Mar 2021 21:42:54 +0200
Subject: [PATCH] mwifiex: Log an error on command failure during key-material
@ -1794,7 +1794,7 @@ index 18b1a6d54bc8..c00791701d78 100644
--
2.34.1
From bc5424a6fe1b25a6f2cf8152833a82ef495b5739 Mon Sep 17 00:00:00 2001
From e9f18894e248abaf3206e93b44b89d83aa7b5ad2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 13 Apr 2021 12:44:03 +0200
Subject: [PATCH] mwifiex: Fix an incorrect comment
@ -1822,7 +1822,7 @@ index cf08a4af84d6..9ff2058bcd7e 100644
--
2.34.1
From 239555ad4c9d63918d42faca195859f5bc6ec54e Mon Sep 17 00:00:00 2001
From f44a30458cd9042a0f211b1b047c73a7a6842cce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 13 Apr 2021 12:57:41 +0200
Subject: [PATCH] mwifiex: Ignore BTCOEX events from the firmware

View file

@ -1,4 +1,4 @@
From a9bba505cfca0dace42755b3bcebe764eda71d98 Mon Sep 17 00:00:00 2001
From 67f7646f06b3c91e666b2bfa02e428b14f9f5bf5 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 27 Feb 2021 00:45:52 +0100
Subject: [PATCH] ath10k: Add module parameters to override board files

View file

@ -1,4 +1,4 @@
From e8e1223a32633529bbe63e58a44d665c2e4cf081 Mon Sep 17 00:00:00 2001
From 514226dd707545b78bc3226d215ef6c43c0a572f Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
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.34.1
From ae492c77a063760972e48841ed540d170e7b76de Mon Sep 17 00:00:00 2001
From 568ddca9f7d54191c081510566fade5c8889b945 Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Thu, 6 Aug 2020 11:20:41 +0200
Subject: [PATCH] misc: Add support for Intel Precise Touch & Stylus

View file

@ -1,4 +1,4 @@
From 7a062af254fb0bfca0fb35f93fcaa0126692dd7e Mon Sep 17 00:00:00 2001
From 3c7d6dd96841bc82e37be27fcb88b596994d75d1 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 28 Oct 2021 03:28:45 +0200
Subject: [PATCH] platform/surface: aggregator_registry: Add initial support
@ -58,7 +58,7 @@ index 1679811eff50..e70f4c63554e 100644
--
2.34.1
From 01b41cf45677d2d2bd0279de09b9cd63212e0046 Mon Sep 17 00:00:00 2001
From 9bfbcd6eb0873baed7efa51cc95b0d30b64d713b Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 2 Jun 2021 03:34:06 +0200
Subject: [PATCH] platform/surface: aggregator: Make client device removal more
@ -183,7 +183,7 @@ index f636c5310321..cc257097eb05 100644
--
2.34.1
From ceca307e9cba98e45560c70f6aacfc03330f5840 Mon Sep 17 00:00:00 2001
From a8ef4017330f888df17193e9c1f8f713d60f459f Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 27 Oct 2021 02:06:38 +0200
Subject: [PATCH] platform/surface: aggregator_registry: Use generic client
@ -271,7 +271,7 @@ index e70f4c63554e..f6c639342b9d 100644
--
2.34.1
From 976a6345f68996abd0a4fbdce40f635c19a6a854 Mon Sep 17 00:00:00 2001
From 8da96e57461d844b198688c93b3041bc897093a0 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 27 Oct 2021 02:07:33 +0200
Subject: [PATCH] platform/surface: aggregator_registry: Rename device
@ -322,7 +322,7 @@ index f6c639342b9d..ce2bd88feeaa 100644
--
2.34.1
From 55b54fe60ce380e6ae486277b3d73cf9d972cbc7 Mon Sep 17 00:00:00 2001
From 7e1b6784dae36504ddeda085b833ad9599828de8 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 8 Jun 2021 00:24:47 +0200
Subject: [PATCH] platform/surface: aggregator: Allow devices to be marked as
@ -443,7 +443,7 @@ index cc257097eb05..491aa7e9f4bc 100644
--
2.34.1
From 92146078e5542d87b15669361a14110c4b6b1739 Mon Sep 17 00:00:00 2001
From 6b4fd1a58701744105f2961055d3741776016c0a Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 8 Jun 2021 00:48:22 +0200
Subject: [PATCH] platform/surface: aggregator: Allow notifiers to avoid
@ -730,7 +730,7 @@ index 491aa7e9f4bc..16816c34da3e 100644
--
2.34.1
From 35d2b15b2bfdadc844678ea2596cc613c7568562 Mon Sep 17 00:00:00 2001
From a8999ca197274e1fb7c2a1e2d3fae55ef944784d Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 8 Jun 2021 01:20:49 +0200
Subject: [PATCH] platform/surface: aggregator_registry: Use client device
@ -779,7 +779,7 @@ index ce2bd88feeaa..9f630e890ff7 100644
--
2.34.1
From e30843b08ba4ef74dcb2306db77124d781ead920 Mon Sep 17 00:00:00 2001
From 9a3c41282efdded04b564ff70b332b1ef1f38819 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 28 Oct 2021 03:37:06 +0200
Subject: [PATCH] power/supply: surface_charger: Use client device wrappers for
@ -819,7 +819,7 @@ index a060c36c7766..59182d55742d 100644
--
2.34.1
From a1c90203399ea0f2ea8846a631bf218cd58af128 Mon Sep 17 00:00:00 2001
From 7e82b194ea5b5da50117c91d68196bdfc62915d7 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 28 Oct 2021 03:38:09 +0200
Subject: [PATCH] power/supply: surface_battery: Use client device wrappers for
@ -859,7 +859,7 @@ index 5ec2e6bb2465..540707882bb0 100644
--
2.34.1
From f1ca8e0f72d5513a8ba5c12538cfbbfebc730837 Mon Sep 17 00:00:00 2001
From 51f76357d87921c6186fbebdbf59e06dfe8e8ca6 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 8 Jun 2021 01:33:02 +0200
Subject: [PATCH] HID: surface-hid: Add support for hot-removal
@ -970,7 +970,7 @@ index 5571e74abe91..d2e695e942b6 100644
--
2.34.1
From e6d33d4464f41358ef24c3cdb23a8c289fcc1858 Mon Sep 17 00:00:00 2001
From 86cd82683def49c30b74e43838dafc0fc46ddc2e Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 31 Oct 2021 12:34:08 +0100
Subject: [PATCH] platform/surface: aggregator: Add comment for KIP subsystem
@ -1008,7 +1008,7 @@ index c3de43edcffa..d1efac85caf1 100644
--
2.34.1
From 3bdd0aceeb1073fa84b80fb00aec5304ce294c70 Mon Sep 17 00:00:00 2001
From dd4a9646ebe65127889b6034c87d37b4feaf4e70 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 10 Oct 2021 23:56:23 +0200
Subject: [PATCH] platform/surface: aggregator_registry: Add KIP device hub
@ -1322,7 +1322,7 @@ index 9f630e890ff7..4838ce6519a6 100644
--
2.34.1
From 2ec1190e86f426b2c8d98797ae2a448abcb8e2bb Mon Sep 17 00:00:00 2001
From 246663eaee0632973555c15595ae38029047ce61 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 27 Oct 2021 22:33:03 +0200
Subject: [PATCH] platform/surface: aggregator_registry: Add support for
@ -1420,7 +1420,7 @@ index 4838ce6519a6..c0e29c0514df 100644
--
2.34.1
From 9b9b2b45bff1ff5bc1a64de0ee3a21074198aa3a Mon Sep 17 00:00:00 2001
From f40588345c4517da685946b5f464eafe75a61766 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 8 Jun 2021 03:19:20 +0200
Subject: [PATCH] platform/surface: Add KIP tablet-mode switch
@ -1764,7 +1764,7 @@ index 000000000000..458470067579
--
2.34.1
From 226ea66ac2a99ef2c7c17d3d2b9e164d2d3efa00 Mon Sep 17 00:00:00 2001
From 24849a1b7418cc9a61d433d19d8de7311e046bad Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 27 Oct 2021 22:33:03 +0200
Subject: [PATCH] platform/surface: aggregator_registry: Add support for tablet

View file

@ -1,4 +1,4 @@
From ef39b0db8969530a47efc2800eca262da0d3eaa7 Mon Sep 17 00:00:00 2001
From 9d99e159ae26b8d029e6bebd11733a90699bc146 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 25 Jul 2020 17:19:53 +0200
Subject: [PATCH] i2c: acpi: Implement RawBytes read access
@ -110,7 +110,7 @@ index 546cc935e035..006e25a1b0d5 100644
--
2.34.1
From c54b331b84b85ee8fea6bd8d54e235dd6107fd35 Mon Sep 17 00:00:00 2001
From 55ebac8f7b751f985b3db02aa4249be1172f4ca3 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 13 Feb 2021 16:41:18 +0100
Subject: [PATCH] platform/surface: Add driver for Surface Book 1 dGPU switch

View file

@ -1,4 +1,4 @@
From 5599604f3d6406df4e069178a82c23aaa2da4d59 Mon Sep 17 00:00:00 2001
From c187209f66248ccb324453e1f39948cdfb1f5ce7 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 10 Oct 2021 00:02:44 +0200
Subject: [PATCH] platform/surface: gpe: Add support for Surface Laptop Studio
@ -46,7 +46,7 @@ index 86f6991b1215..c1775db29efb 100644
--
2.34.1
From 370d8986daff0e16c95c35e36351d9b9ae79119d Mon Sep 17 00:00:00 2001
From ce58576e7279d8b3fa6dbc547168fdcadd609ba5 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 27 Oct 2021 00:56:11 +0200
Subject: [PATCH] platform/surface: gpe: Add support for Surface Pro 8

View file

@ -1,4 +1,4 @@
From c9a7f8e1da0eae318e6d3ce6f1da0ab4f36123c0 Mon Sep 17 00:00:00 2001
From e4ab75ee69d1fd0c8da28d219501eef92caba0fd Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
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.34.1
From 9f7f2f05335a15d11460808e906a9c6c60348e54 Mon Sep 17 00:00:00 2001
From 1d9522b37fe223b2f8e0b2fd3f10e46b83beb6f7 Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
Date: Tue, 5 Oct 2021 00:22:57 +1100
Subject: [PATCH] platform/surface: surfacepro3_button: don't load on amd
@ -147,3 +147,41 @@ index 242fb690dcaf..30eea54dbb47 100644
--
2.34.1
From ad29707de0cce579c429a466b8de6e53e3e6e5e3 Mon Sep 17 00:00:00 2001
From: Alex Hung <alex.hung@canonical.com>
Date: Mon, 29 Nov 2021 15:08:48 -0700
Subject: [PATCH] platform/x86/intel: hid: add Surface Go 3 to button array
table
Similar to other systems Surface Go 3 requires a DMI quirk to enable
button array to enable power and volume buttons.
Buglink: https://github.com/linux-surface/linux-surface/issues/595
Signed-off-by: Alex Hung <alex.hung@canonical.com>
Patchset: surface-button
---
drivers/platform/x86/intel/hid.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/platform/x86/intel/hid.c b/drivers/platform/x86/intel/hid.c
index 08598942a6d7..13f8cf70b9ae 100644
--- a/drivers/platform/x86/intel/hid.c
+++ b/drivers/platform/x86/intel/hid.c
@@ -99,6 +99,13 @@ static const struct dmi_system_id button_array_table[] = {
DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Tablet Gen 2"),
},
},
+ {
+ .ident = "Microsoft Surface Go 3",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 3"),
+ },
+ },
{ }
};
--
2.34.1

View file

@ -1,4 +1,4 @@
From 7920f530029819442106d5bbdf3662c235f25333 Mon Sep 17 00:00:00 2001
From acfef931020c02720dc096d1119fbbe2b9a60ef4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Thu, 5 Nov 2020 13:09:45 +0100
Subject: [PATCH] hid/multitouch: Turn off Type Cover keyboard backlight when

View file

@ -1,4 +1,4 @@
From dc3abd956d19823e9a63cb5e610bb4abded6bf23 Mon Sep 17 00:00:00 2001
From 9e4255932310a4dc25c14846c746744481b06f2d Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
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 47db0ee0fcbf..7bb86e246ebe 100644
--
2.34.1
From f586f8e0018b26cf88c88414ee3959af4d4ce56c Mon Sep 17 00:00:00 2001
From d99c4d368f3841f6eaa86c7c69bffc2eead451c9 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
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.34.1
From 85ffd222d01c40e128bcd79a0184ab91370a7781 Mon Sep 17 00:00:00 2001
From 3664c99c408c5942d9fa03153ef7391cd6be56d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= <me@fabwu.ch>
Date: Fri, 22 Jan 2021 20:58:13 +0100
Subject: [PATCH] cio2-bridge: Parse sensor orientation and rotation
@ -1864,7 +1864,7 @@ index dd0ffcafa489..924d99d20328 100644
--
2.34.1
From 7f7e66ee218d2094cf359853105307ddc64fdb83 Mon Sep 17 00:00:00 2001
From bc8c26008ecf1d5107366992679aa53f227f5514 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= <me@fabwu.ch>
Date: Sun, 24 Jan 2021 11:07:42 +0100
Subject: [PATCH] cio2-bridge: Use macros and add warnings
@ -1968,7 +1968,7 @@ index 924d99d20328..e1e388cc9f45 100644
--
2.34.1
From 5927b9839755dd08804383d1f26b54f726bd740e Mon Sep 17 00:00:00 2001
From 65c3c830fab75cddea8f10062385b50c0bceadce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= <me@fabwu.ch>
Date: Thu, 6 May 2021 07:52:44 +0200
Subject: [PATCH] cio2-bridge: Use correct dev_properties size
@ -1994,7 +1994,7 @@ index e1e388cc9f45..deaf5804f70d 100644
--
2.34.1
From 4cc132d46312738a3f6b91c6b5773b501637bcff Mon Sep 17 00:00:00 2001
From 38bc23dd0d9b5880261b6d0afddb1689d7c33dce Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 20 May 2021 23:31:04 +0100
Subject: [PATCH] media: i2c: Fix vertical flip in ov5693
@ -2029,7 +2029,7 @@ index 9499ee10f56c..c558f9b48c83 100644
--
2.34.1
From 786789f8262be5ba866e5e2efaa9a9a573a254e8 Mon Sep 17 00:00:00 2001
From 640920dbd7438df35a52ae0dec055bda5ea528da Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 9 Jul 2021 16:39:18 +0100
Subject: [PATCH] media: i2c: Add ACPI support to ov8865
@ -2080,7 +2080,7 @@ index ce50f3ea87b8..7626c8608f8f 100644
--
2.34.1
From 1fc38d0380ea41a853258e50e9f45001560daa70 Mon Sep 17 00:00:00 2001
From 3a08c58cc4396b981a76dbaf74566cb38a9254df Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 21:20:17 +0100
Subject: [PATCH] media: i2c: Fix incorrect value in comment
@ -2111,7 +2111,7 @@ index 7626c8608f8f..8e3f8a554452 100644
--
2.34.1
From 9381c6cea9c6a14c43a1b45ff495e7c576aed394 Mon Sep 17 00:00:00 2001
From 4bd1c5cb1681651ca34b8d7df4de350a6eda2bef Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 22:21:52 +0100
Subject: [PATCH] media: i2c: Defer probe if not endpoint found
@ -2148,7 +2148,7 @@ index 8e3f8a554452..9bc8d5d8199b 100644
--
2.34.1
From 44c953b19417961130ea39c1dc70ddd86492c5e6 Mon Sep 17 00:00:00 2001
From 18860f1c6b52578a45642c18212455080059ff53 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 22:00:25 +0100
Subject: [PATCH] media: i2c: Support 19.2MHz input clock in ov8865
@ -2507,7 +2507,7 @@ index 9bc8d5d8199b..4ddc1b277cc0 100644
--
2.34.1
From b4f347d3b44d6d6b937eef8409dc25af51562921 Mon Sep 17 00:00:00 2001
From 9cc816918d4ce8a91e7cb42dd163fe3f8bc9f299 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 22:19:10 +0100
Subject: [PATCH] media: i2c: Add .get_selection() support to ov8865
@ -2612,7 +2612,7 @@ index 4ddc1b277cc0..0f2776390a8e 100644
--
2.34.1
From c852e662efdc73eda2249e576084d92744337322 Mon Sep 17 00:00:00 2001
From c4be28dc382b6d905039696342e10bf8d0130be4 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 22:34:43 +0100
Subject: [PATCH] media: i2c: Switch control to V4L2_CID_ANALOGUE_GAIN
@ -2665,7 +2665,7 @@ index 0f2776390a8e..a832938c33b6 100644
--
2.34.1
From a8a73033cf32bd3e4b8aee14f73df4bb70cde615 Mon Sep 17 00:00:00 2001
From 94a8ebce388765f0d8e7e44e9340a40e8f2d0e70 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 12 Jul 2021 22:54:56 +0100
Subject: [PATCH] media: i2c: Add vblank control to ov8865
@ -2775,7 +2775,7 @@ index a832938c33b6..f741c0713ca4 100644
--
2.34.1
From 058ace8125bed8cd72aaeab86e16baa12e7a9c15 Mon Sep 17 00:00:00 2001
From ab244bc49de4a1df8558280369ca996c5fc3d520 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Tue, 13 Jul 2021 23:40:33 +0100
Subject: [PATCH] media: i2c: Add hblank control to ov8865
@ -2845,7 +2845,7 @@ index f741c0713ca4..4b18cc80f985 100644
--
2.34.1
From 30aff5381e7b70caba31f0123d1d5cf5ef7b5889 Mon Sep 17 00:00:00 2001
From 504a3832d0fae2cf59046939bb265cf7a8483570 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 20 Oct 2021 22:43:54 +0100
Subject: [PATCH] media: i2c: Update HTS values in ov8865
@ -3021,7 +3021,7 @@ index 4b18cc80f985..1b8674152750 100644
--
2.34.1
From 475fdc73fac3d94a9bb4ebc559522606b6e4b4c4 Mon Sep 17 00:00:00 2001
From 2b193422d615b97418d1597892edfd4b27f88cef Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Tue, 13 Jul 2021 23:43:17 +0100
Subject: [PATCH] media: i2c: cap exposure at height + vblank in ov8865
@ -3104,7 +3104,7 @@ index 1b8674152750..99548ad15dcd 100644
--
2.34.1
From d38e1c5cc642d571545576b1689e64ec61a58367 Mon Sep 17 00:00:00 2001
From cc8afd3f278365376e7280d756b913afd2370d6d Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 16 Jul 2021 22:56:15 +0100
Subject: [PATCH] media: i2c: Add controls from fwnode to ov8865
@ -3149,7 +3149,7 @@ index 99548ad15dcd..dfb5095ef16b 100644
--
2.34.1
From 95b53f575a01e6be671c768aff6f23f043738b02 Mon Sep 17 00:00:00 2001
From e9ace1fd162e49253234c1b763fcd53cc7a89ea7 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 16 Jul 2021 00:00:54 +0100
Subject: [PATCH] media: i2c: Switch exposure control unit to lines
@ -3196,7 +3196,7 @@ index dfb5095ef16b..5f19d82554df 100644
--
2.34.1
From 184601fa2dbb843d2bc2a58ded4353977d0f44a7 Mon Sep 17 00:00:00 2001
From c34ab3d70d2af7b7641e7942a66d51f7ca9819bf Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Tue, 24 Aug 2021 22:39:02 +0100
Subject: [PATCH] media: i2c: Re-order runtime pm initialisation
@ -3232,7 +3232,7 @@ index 5f19d82554df..18b5f1e8e9a7 100644
--
2.34.1
From bc8038eb895135b21c88aa2935a05292d09ed6c5 Mon Sep 17 00:00:00 2001
From f5c9e506212d3535774c0bf260cc8223e188d655 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Tue, 24 Aug 2021 23:17:39 +0100
Subject: [PATCH] media: i2c: Use dev_err_probe() in ov8865
@ -3315,7 +3315,7 @@ index 18b5f1e8e9a7..19e6bebf340d 100644
--
2.34.1
From 07897b72d279d4e3038cfb3bca7b66e42dacf811 Mon Sep 17 00:00:00 2001
From 3298496d9b5b8eb15c00750a84af188c0ffdbd79 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 14 Jul 2021 00:05:04 +0100
Subject: [PATCH] media: ipu3-cio2: Add INT347A to cio2-bridge
@ -3348,7 +3348,7 @@ index 7e582135dfb8..0132f0bd9b41 100644
--
2.34.1
From cdd94eed60a96465d7bf0f93d027b598a46a4e3d Mon Sep 17 00:00:00 2001
From 83ce037ef986d171cbf06bd0ad16623399d712e2 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Thu, 7 Oct 2021 15:34:52 +0200
Subject: [PATCH] media: i2c: ov8865: Fix lockdep error
@ -3394,7 +3394,7 @@ index 19e6bebf340d..d5af8aedf5e8 100644
--
2.34.1
From 949f16a4f29c529ed1537b1b822c8a6791ca50d2 Mon Sep 17 00:00:00 2001
From 50bb5ca151726ec8789ac981e54e7d2f579f387f Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:56:57 +0200
Subject: [PATCH] ACPI: delay enumeration of devices with a _DEP pointing to an
@ -3577,7 +3577,7 @@ index 13d93371790e..2da53b7b4965 100644
--
2.34.1
From 2026a4b43b15470d533e51a22989005563080789 Mon Sep 17 00:00:00 2001
From 456dfa91af1cf7b36be5f2c9072af4dd1c015f82 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:56:58 +0200
Subject: [PATCH] i2c: acpi: Use acpi_dev_ready_for_enumeration() helper
@ -3629,7 +3629,7 @@ index 006e25a1b0d5..ff7f5cbb5c73 100644
--
2.34.1
From 7926ff1a5bf60d56091fcbd03ed6285d549ef4fd Mon Sep 17 00:00:00 2001
From 2c498ce343fb52cefaa0513578531e285ab6d58d Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:56:59 +0200
Subject: [PATCH] platform_data: Add linux/platform_data/tps68470.h file
@ -3702,7 +3702,7 @@ index 000000000000..126d082c3f2e
--
2.34.1
From 02b739910ebb60e6aa554e8d1dcbbbf10bbdb730 Mon Sep 17 00:00:00 2001
From e7f5adeb3e6bb6baba30e30689bbfd03bfa51c35 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:57:00 +0200
Subject: [PATCH] regulator: Introduce tps68470-regulator driver
@ -3964,7 +3964,7 @@ index 000000000000..3129fa13a122
--
2.34.1
From 285719dd8e62a694d024641bd279626bdc78481f Mon Sep 17 00:00:00 2001
From db15a6376a1271b6bf9013c221b37f3aa6c34066 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:57:01 +0200
Subject: [PATCH] clk: Introduce clk-tps68470 driver
@ -4309,7 +4309,7 @@ index ffe81127d91c..7807fa329db0 100644
--
2.34.1
From c8cfdc22eefcf36ba2285ade00ee76b338148c5b Mon Sep 17 00:00:00 2001
From d8b510400edecffda518f0c9b42f2bcbd29ac4fb Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 10 Oct 2021 20:57:02 +0200
Subject: [PATCH] platform/x86: int3472: Enable I2c daisy chain
@ -4346,7 +4346,7 @@ index c05b4cf502fe..42e688f4cad4 100644
--
2.34.1
From af677646d33e57829f40c9dc9cf8fd3887cbe150 Mon Sep 17 00:00:00 2001
From 94401e80a15fe4bda79d4a5c0969a5797d5d5344 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:57:03 +0200
Subject: [PATCH] platform/x86: int3472: Split into 2 drivers
@ -4605,7 +4605,7 @@ index 42e688f4cad4..b94cf66ab61f 100644
--
2.34.1
From c5fe063ea3e7ab196282e4fa300416ecd6fb7bb2 Mon Sep 17 00:00:00 2001
From 8fb35ad06b34444d8161de0c263dd5e2f23d1aa6 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:57:04 +0200
Subject: [PATCH] platform/x86: int3472: Add get_sensor_adev_and_name() helper
@ -4718,7 +4718,7 @@ index a19a1f5dbdd7..efd31a0c7a88 100644
--
2.34.1
From 216407dfbd4bc53b4a52cf7231e028f7a1fc4b1f Mon Sep 17 00:00:00 2001
From c1f23f65449061e6a8381f6259bbf1e112d7a16b Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:57:05 +0200
Subject: [PATCH] platform/x86: int3472: Pass tps68470_clk_platform_data to the
@ -4806,7 +4806,7 @@ index b94cf66ab61f..78e34e7b6969 100644
--
2.34.1
From e9e1dc30e20dff9add6ad9db0d090ee674955b83 Mon Sep 17 00:00:00 2001
From 0a27b1c5236f7acd03d25dfcf3b6e7b801641bc5 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:57:06 +0200
Subject: [PATCH] platform/x86: int3472: Pass tps68470_regulator_platform_data
@ -5100,7 +5100,7 @@ index 000000000000..96954a789bb8
--
2.34.1
From 8e07d6fbb495a64919bc5c687e3ce89a1ca42f88 Mon Sep 17 00:00:00 2001
From 5f206a57b63d4e02c3d1d491a885e3436df77b61 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:57:07 +0200
Subject: [PATCH] platform/x86: int3472: Deal with probe ordering issues
@ -5184,7 +5184,7 @@ index aae24d228770..21c6c1a6edfc 100644
--
2.34.1
From 79948436334a10b65f07887d74df3a67169a10f4 Mon Sep 17 00:00:00 2001
From 3409537122ea5695df9b87263d85d41b87d2c84e Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 4 Nov 2021 21:46:27 +0000
Subject: [PATCH] media: i2c: Add integration time margin to ov8865
@ -5226,7 +5226,7 @@ index d5af8aedf5e8..966487e32bfe 100644
--
2.34.1
From 2df251c3a3d78d09ba613d9ea8a9931b8d2ed254 Mon Sep 17 00:00:00 2001
From c602c62c2cd92fcbe5d8e344e0e028fb3c595458 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 4 Nov 2021 21:48:38 +0000
Subject: [PATCH] media: i2c: Fix max gain in ov8865
@ -5258,3 +5258,108 @@ index 966487e32bfe..6c78edb65d1e 100644
--
2.34.1
From 171b29c478e03b4f175555b3368031810715c384 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Fri, 3 Dec 2021 12:51:08 +0100
Subject: [PATCH] mfd: intel-lpss: Fix I2C4 not being available on the
Microsoft Surface Go & Go 2
Many DSDTs for Kaby Lake and Kaby Lake Refresh models contain a
_SB.PCI0.GEXP ACPI Device node describing an I2C attached PCA953x
GPIO expander.
This seems to be something which is copy and pasted from the DSDT
from some reference design since this ACPI Device is present even on
models where no such GPIO expander is used at all, such as on the
Microsoft Surface Go & Go 2.
This ACPI Device is a problem because it contains a SystemMemory
OperationRegion which covers the MMIO for the I2C4 I2C controller. This
causes the MFD cell for the I2C4 controller to not be instantiated due
to a resource conflict, requiring the use of acpi_enforce_resources=lax
to work around this.
I have done an extensive analysis of all the ACPI tables on the
Microsoft Surface Go and the _SB.PCI0.GEXP ACPI Device's methods are
not used by any code in the ACPI tables, neither are any of them
directly called by any Linux kernel code. This is unsurprising since
running i2cdetect on the I2C4 bus shows that there is no GPIO
expander chip present on these devices at all.
This commit adds a PCI subsystem vendor:device table listing PCI devices
where it is known to be safe to ignore resource conflicts with ACPI
declared SystemMemory regions.
This makes the I2C4 bus work out of the box on the Microsoft Surface
Go & Go 2, which is necessary for the cameras on these devices to work.
Cc: Dan Scally <djrscally@gmail.com>
Cc: Kate Hsuan <hpa@redhat.com>
Cc: Maximilian Luz <luzmaximilian@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Patchset: cameras
---
drivers/mfd/intel-lpss-pci.c | 12 ++++++++++++
drivers/mfd/intel-lpss.c | 1 +
drivers/mfd/intel-lpss.h | 1 +
3 files changed, 14 insertions(+)
diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
index c54d19fb184c..4f3c041668a1 100644
--- a/drivers/mfd/intel-lpss-pci.c
+++ b/drivers/mfd/intel-lpss-pci.c
@@ -17,6 +17,15 @@
#include "intel-lpss.h"
+/* Some DSDTs have an unused GEXP ACPI device conflicting with I2C4 resources */
+static const struct pci_device_id ignore_resource_conflicts_ids[] = {
+ /* Microsoft Surface Go (version 1) I2C4 */
+ { PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, 0x9d64, 0x152d, 0x1182), },
+ /* Microsoft Surface Go 2 I2C4 */
+ { PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, 0x9d64, 0x152d, 0x1237), },
+ { }
+};
+
static int intel_lpss_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{
@@ -35,6 +44,9 @@ static int intel_lpss_pci_probe(struct pci_dev *pdev,
info->mem = &pdev->resource[0];
info->irq = pdev->irq;
+ if (pci_match_id(ignore_resource_conflicts_ids, pdev))
+ info->ignore_resource_conflicts = true;
+
pdev->d3cold_delay = 0;
/* Probably it is enough to set this for iDMA capable devices only */
diff --git a/drivers/mfd/intel-lpss.c b/drivers/mfd/intel-lpss.c
index 0e15afc39f54..cfbee2cfba6b 100644
--- a/drivers/mfd/intel-lpss.c
+++ b/drivers/mfd/intel-lpss.c
@@ -401,6 +401,7 @@ int intel_lpss_probe(struct device *dev,
return ret;
lpss->cell->swnode = info->swnode;
+ lpss->cell->ignore_resource_conflicts = info->ignore_resource_conflicts;
intel_lpss_init_dev(lpss);
diff --git a/drivers/mfd/intel-lpss.h b/drivers/mfd/intel-lpss.h
index 22dbc4aed793..062ce95b68b9 100644
--- a/drivers/mfd/intel-lpss.h
+++ b/drivers/mfd/intel-lpss.h
@@ -19,6 +19,7 @@ struct software_node;
struct intel_lpss_platform_info {
struct resource *mem;
+ bool ignore_resource_conflicts;
int irq;
unsigned long clk_rate;
const char *clk_con_id;
--
2.34.1

View file

@ -1,4 +1,4 @@
From f062218991aeb52f3b4d90d34a02619237cbc956 Mon Sep 17 00:00:00 2001
From 4678187b38b8e7059a7f2c3dd7b0ea69ff481a59 Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
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 14bcd59bcdee..159d26a664ca 100644
--
2.34.1
From 9fe368de3be59b3b450805af8fb929c447e48600 Mon Sep 17 00:00:00 2001
From 60ad66fdccd752cff23d0759d67406eca4ab95c4 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 3 Jun 2021 14:04:26 +0200
Subject: [PATCH] ACPI: Add AMD 13" Surface Laptop 4 model to irq 7 override

View file

@ -1,4 +1,4 @@
From f18c91e5e1b6eb5cc0ff4590e295f03aaf02fa7e Mon Sep 17 00:00:00 2001
From e7ba91e0e45669d3ab6947f8faa8822ca44a738b Mon Sep 17 00:00:00 2001
From: Mathias Nyman <mathias.nyman@linux.intel.com>
Date: Fri, 29 Oct 2021 15:51:54 +0300
Subject: [PATCH] xhci: Fix commad ring abort, write all 64 bits to CRCR
@ -68,3 +68,56 @@ index 311597bba80e..eaa49aef2935 100644
--
2.34.1
From cce4e5012d65da77323e511781efe4fbc8f9b962 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 8 Dec 2021 16:22:50 +0100
Subject: [PATCH] acpi/battery: Add device HID and quirk for Microsoft Surface
Go 3
For some reason, the Microsoft Surface Go 3 uses the standard ACPI
interface for battery information, but does not use the standard PNP0C0A
HID. Instead it uses MSHW0146 as identifier. Add that ID to the driver
as this seems to work well.
Additionally, the power state is not updated immediately after the AC
has been (un-)plugged, so add the respective quirk for that.
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Patchset: misc-fixes
---
drivers/acpi/battery.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index 8afa85d6eb6a..65882cb791a5 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -59,6 +59,10 @@ MODULE_PARM_DESC(cache_time, "cache time in milliseconds");
static const struct acpi_device_id battery_device_ids[] = {
{"PNP0C0A", 0},
+
+ /* Microsoft Surface Go 3 */
+ {"MSHW0146", 0},
+
{"", 0},
};
@@ -1155,6 +1159,14 @@ static const struct dmi_system_id bat_dmi_table[] __initconst = {
DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo MIIX 320-10ICR"),
},
},
+ {
+ /* Microsoft Surface Go 3 */
+ .callback = battery_notification_delay_quirk,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go 3"),
+ },
+ },
{},
};
--
2.34.1

View file

@ -49,18 +49,18 @@ sha256sums=('SKIP'
'e2d8d59ee965f5fabcb9dd15b70074798e168ccdbd75a9540390c281279f113d'
'63e0aa01e590c789a2a312f48cdc467b29734465cdf87e206b7a7e0f82e22bc4'
'b30cd71018df7e98101ba0cf37054169006b096d2870a9f8467dd96378b02b98'
'8a6cf5b4629c80bab9cf43ac9d5108952411891c4d15e0b8e01bbef48212a945'
'aa5bcea433957d45413eccfaa9c0a7a5a2470c6fd0b24613fcabbeb017402324'
'2a23425bf96d5e91a9715b1b55d287a9ef18a5b75a0904ed1be4f0569115c2c3'
'55c9ffd428de50f7250b6b9334c780eae7ad184f07a353d9fbe0721208142930'
'392c2a1bb2a45828bb1dc52b02d87fcfebe38fffa775b22688e0737329778eab'
'53ad85e8571537f82372045b2487dea94e07e6963b4d4c85432263788ae7c9d9'
'91f244a3a16b1f43737077d8b57ffea43d96047ad63173f224bbeaf69582e728'
'cea8089942a52e54dd9929c815a7c80c7182cc6625e9e6a264e60e1563b049c9'
'75d097a0cb00a6aeb20d0f695b9f4a723e794f41f852c45a1ef9638669d4ac36'
'752025540004c364f4f8508d307f5658b3e4087676cb5b7b956cd08513689bb2'
'f27b96e2f99f8dd5eeea704432ab8415cfbeba5a9d6eb97d764a2a98da99a214'
'0ed4d603f4e66b3ea6253c712ef7fd53cf08190be545edaf43577ea1fda6da99')
'17343d63359b61a716afe97a7ef59d8a9192af1df154d3cd2407af90e6beaa64'
'fa14f234089da8d07afc0eded7561ce624cc420fa92325aa6021585a03d5f7ab'
'83473732e927c26ff3269eb7583ce81598e4722b7f0de7908128e3688908ada3'
'148509547019bc4f0c0c9d5816d0ffd05d27ad64ff59adb09d0725d8cda3ebd8'
'8d7039e3694b0a1d920b12b7405fdb3fb1eefb3ef15a058cf83b52d953762f08'
'7b083edaf9d41e1c582328d708ada6ff4ba4d499e6c9de3b2138bb501d4373cf'
'765bf6f4905668b7d4e388cda9966b4ea105a1ef3c048e10963ec26675d8728f'
'f570ee96057d048e51039796c83745b6fc02ff5c2b9f403c766f7ca49b75916b'
'523c96b16cc427c86ceb6213de0be536f1d4a52ffdf7de1d2590e9d71481d2b9'
'723cc38422064eed5644011b96457378b7f02650cf48e05cc8aa663fb88d7706'
'da765b6a01e1a988745bd12b9c585f06a9b5618b42a26ffad2ae1ba1c2a293b0'
'4e5376328db8e468bfaec0132f1d3a837c1ba5fd7dc4e62d2d128cac3acb8e77')
export KBUILD_BUILD_HOST=archlinux