From 95394828aaa2ae5956927ab1075ac9d87a38b997 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 29 May 2021 16:08:57 +0200 Subject: [PATCH] Update v5.12 patches Changes: - Add HID for PMIC used on AMD SL4 Links: - kernel: https://github.com/linux-surface/kernel/commit/eb9affdd972a5ab46b28ec7cff8301c4a47b5d7f --- patches/5.12/0006-surface-sam.patch | 35 ++++++++++++++++++++++- patches/5.12/0007-surface-typecover.patch | 2 +- patches/5.12/0008-cameras.patch | 28 +++++++++--------- 3 files changed, 49 insertions(+), 16 deletions(-) diff --git a/patches/5.12/0006-surface-sam.patch b/patches/5.12/0006-surface-sam.patch index d4a5fe2e8..023cc54b7 100644 --- a/patches/5.12/0006-surface-sam.patch +++ b/patches/5.12/0006-surface-sam.patch @@ -7779,7 +7779,7 @@ index 2d4acf21117c..c5950a3b4e4c 100644 -- 2.31.1 -From 1277ae342495763832aa7c177a1ed959c242d705 Mon Sep 17 00:00:00 2001 +From 2de100520fe38868cbdc3b18a904f947be7e49f4 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 @@ -7846,3 +7846,36 @@ index 14cd3186dc77..ab3ba60cb6da 100644 -- 2.31.1 +From 6c447f73fba0aa9071801a5bd6f439eabf86b202 Mon Sep 17 00:00:00 2001 +From: Sachi King +Date: Sat, 29 May 2021 22:27:25 +1000 +Subject: [PATCH] platform/x86: amd-pmc: Add device HID for AMD PMC + +The Surface Laptop 4 appears to have used AMD0005 for the PMC instead of +the AMDI0005 which would match the ACPI ID Registry. + +AMD appears to have previously used "AMD" in a number of IDs in the past, +and AMD is not allocated to any other entity as an ID, so adding this ID +should not cause any harm. + +Signed-off-by: Sachi King +Patchset: surface-sam +--- + drivers/platform/x86/amd-pmc.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/platform/x86/amd-pmc.c b/drivers/platform/x86/amd-pmc.c +index b9da58ee9b1e..0b5578a8a449 100644 +--- a/drivers/platform/x86/amd-pmc.c ++++ b/drivers/platform/x86/amd-pmc.c +@@ -275,6 +275,7 @@ static int amd_pmc_remove(struct platform_device *pdev) + static const struct acpi_device_id amd_pmc_acpi_ids[] = { + {"AMDI0005", 0}, + {"AMD0004", 0}, ++ {"AMD0005", 0}, + { } + }; + MODULE_DEVICE_TABLE(acpi, amd_pmc_acpi_ids); +-- +2.31.1 + diff --git a/patches/5.12/0007-surface-typecover.patch b/patches/5.12/0007-surface-typecover.patch index 12ee3b313..29714e2fe 100644 --- a/patches/5.12/0007-surface-typecover.patch +++ b/patches/5.12/0007-surface-typecover.patch @@ -1,4 +1,4 @@ -From ed06f72906717e7f766485c1624e7cabc4d96d5c Mon Sep 17 00:00:00 2001 +From d047431a3c69b6145376011c3d36140daf3698ac 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.12/0008-cameras.patch b/patches/5.12/0008-cameras.patch index 197646eee..de05feaab 100644 --- a/patches/5.12/0008-cameras.patch +++ b/patches/5.12/0008-cameras.patch @@ -1,4 +1,4 @@ -From 5229b4b08d53cb8fefc7c747cca5b821fca7fd36 Mon Sep 17 00:00:00 2001 +From a00b2c39009fda2b28f428eff2be4bc21b80a2ec Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 20 May 2021 15:09:21 +0100 Subject: [PATCH] ACPI: scan: Extend acpi_walk_dep_device_list() @@ -380,7 +380,7 @@ index 3bdcfc4401b7..c2da6b8939c0 100644 -- 2.31.1 -From eee78ba5ae9bdccf33e85cad389956e43cef3211 Mon Sep 17 00:00:00 2001 +From cc232390378a8ca6109887fb3e282ee093cd70f7 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 20 May 2021 15:09:22 +0100 Subject: [PATCH] ACPI: scan: Add function to fetch dependent of acpi device @@ -470,7 +470,7 @@ index 849f3540ed53..b531750eb422 100644 -- 2.31.1 -From 0badb1de5a5ac6fbc9be9b1a84614e70d2dea47f Mon Sep 17 00:00:00 2001 +From 40c6548ea4cdf4a9f11e7140d7ff9f5a65a3ece4 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 20 May 2021 15:09:23 +0100 Subject: [PATCH] i2c: core: Add a format macro for I2C device names @@ -531,7 +531,7 @@ index a670ae129f4b..a2f6ee71b5be 100644 -- 2.31.1 -From 8119431866094cf9be18dd33c5da445ef16bd92d Mon Sep 17 00:00:00 2001 +From d6351ceff5e95f0e177a890952a8cf90028f14ad Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 20 May 2021 15:09:24 +0100 Subject: [PATCH] gpiolib: acpi: Export acpi_get_gpiod() @@ -608,7 +608,7 @@ index c73b25bc9213..566feb56601f 100644 -- 2.31.1 -From 7a8bd4abbc0677ac65ea75a676b4f58f3ef12421 Mon Sep 17 00:00:00 2001 +From 2e7ad4003f7d5685b1463a0915977fb9a3284694 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 20 May 2021 15:09:25 +0100 Subject: [PATCH] clkdev: Make clkdev_drop() null aware @@ -640,7 +640,7 @@ index 0f2e3fcf0f19..c082720f8ade 100644 -- 2.31.1 -From b79ead44af786e5f11cf26d5877bbd580427befd Mon Sep 17 00:00:00 2001 +From 0b67f36249f20fa717a74c5d93c7b47d1fcaf5c2 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 20 May 2021 15:09:26 +0100 Subject: [PATCH] gpiolib: acpi: Add acpi_gpio_get_io_resource() @@ -717,7 +717,7 @@ index c2da6b8939c0..07a0044397e1 100644 -- 2.31.1 -From 39f04ba754c523c89b0ec74b18fd15838c0616a0 Mon Sep 17 00:00:00 2001 +From e75b76cda1a791e88cf1d069080cbb9c0d78778f Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 20 May 2021 15:09:27 +0100 Subject: [PATCH] platform/x86: Add intel_skl_int3472 driver @@ -1818,7 +1818,7 @@ index 000000000000..843eaa27e9da -- 2.31.1 -From b772ad05f537053ae764b34aaf38eeba08837f8b Mon Sep 17 00:00:00 2001 +From 9d50e89e724e5116e44f7179951f7a6646767594 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 20 May 2021 15:09:28 +0100 Subject: [PATCH] mfd: tps68470: Remove tps68470 MFD driver @@ -2014,7 +2014,7 @@ index 4a4df4ffd18c..000000000000 -- 2.31.1 -From 56a22852f9ac980e46e094e22361cfa355e866b4 Mon Sep 17 00:00:00 2001 +From 97187b4b7a4f3a853a72283f36b898de7dcff09f 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 @@ -2074,7 +2074,7 @@ index fecef85bd62e..9dafb9470708 100644 -- 2.31.1 -From 58711484ca28a1482e7e7ba3cc7abb6db3f600a4 Mon Sep 17 00:00:00 2001 +From ec6d1a9e51df9fa9e2c1fb14896faecead7fcda8 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 @@ -3717,7 +3717,7 @@ index 000000000000..da2ca99a7ad3 -- 2.31.1 -From e9e31af25ca7445b438d3f70b7f3c655b4e6fa72 Mon Sep 17 00:00:00 2001 +From 6512e02e670560aa19fb8fab312d711a630c03bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= Date: Fri, 22 Jan 2021 20:58:13 +0100 Subject: [PATCH] cio2-bridge: Parse sensor orientation and rotation @@ -3880,7 +3880,7 @@ index dd0ffcafa489..924d99d20328 100644 -- 2.31.1 -From f29d10493d333c779b766a610a0ccd82c5336f06 Mon Sep 17 00:00:00 2001 +From 64fbb70d5633d2062f4af7d062ea5dd948ef6b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= Date: Sun, 24 Jan 2021 11:07:42 +0100 Subject: [PATCH] cio2-bridge: Use macros and add warnings @@ -3984,7 +3984,7 @@ index 924d99d20328..e1e388cc9f45 100644 -- 2.31.1 -From 124d22fd8dedcef075850b3b5645aec5f8f3c077 Mon Sep 17 00:00:00 2001 +From bc1238df63e41248525d2cc4318a73d7e237ad6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= Date: Thu, 6 May 2021 07:52:44 +0200 Subject: [PATCH] cio2-bridge: Use correct dev_properties size @@ -4010,7 +4010,7 @@ index e1e388cc9f45..deaf5804f70d 100644 -- 2.31.1 -From 5287b180e625d7bcf5b4318f67373fe91daa3ae4 Mon Sep 17 00:00:00 2001 +From f0d17e0d1de48b90e6c886604f70ca832027402b 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