All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yutaro Ohno <yutaro.ono.418@gmail.com>
To: rafael@kernel.org, lenb@kernel.org
Cc: linux-acpi@vger.kernel.org, yutaro.ono.418@gmail.com
Subject: [PATCH] ACPI: EC: Use ec_no_wakeup on ThinkPad T14 Gen 5
Date: Tue, 18 Jun 2024 18:51:33 +0900	[thread overview]
Message-ID: <ZnFYpWHJ5Ml724Nv@ohnotp> (raw)

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


             reply	other threads:[~2024-06-18  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-18  9:51 Yutaro Ohno [this message]
2024-06-18 23:28 ` [PATCH] ACPI: EC: Use ec_no_wakeup on ThinkPad T14 Gen 5 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZnFYpWHJ5Ml724Nv@ohnotp \
    --to=yutaro.ono.418@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rafael@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.