public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI: EC: Use ec_no_wakeup on ThinkPad T14 Gen 5
@ 2024-06-18  9:51 Yutaro Ohno
  2024-06-18 23:28 ` Mark Pearson
  0 siblings, 1 reply; 6+ messages in thread
From: Yutaro Ohno @ 2024-06-18  9:51 UTC (permalink / raw)
  To: rafael, lenb; +Cc: linux-acpi, yutaro.ono.418

On ThinkPad T14 Gen 5, EC interrupts constantly wake up the system from
s2idle, resulting in high power consumption.

This sets `acpi.ec_no_wakeup=1` to fix the high power consumption issue
in s2idle state.

Signed-off-by: Yutaro Ohno <yutaro.ono.418@gmail.com>
---
 drivers/acpi/ec.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 299ec653388c..c7d5231edca7 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -2248,6 +2248,12 @@ static const struct dmi_system_id acpi_ec_no_wakeup[] = {
 			DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Yoga 3rd"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad T14 Gen 5"),
+		},
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-20 17:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-18  9:51 [PATCH] ACPI: EC: Use ec_no_wakeup on ThinkPad T14 Gen 5 Yutaro Ohno
2024-06-18 23:28 ` Mark Pearson
2024-06-20 13:10   ` Yutaro Ohno
2024-06-20 15:35     ` Mark Pearson
2024-06-20 16:57       ` Yutaro Ohno
2024-06-20 17:05         ` Mark Pearson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox