All of lore.kernel.org
 help / color / mirror / Atom feed
From: Seiji Nishikawa <snishika@redhat.com>
To: pali@kernel.org
Cc: jdelvare@suse.com, linux@roeck-us.net,
	linux-hwmon@vger.kernel.org, snishika@redhat.com
Subject: [PATCH v2] hwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist
Date: Mon, 25 Mar 2024 13:59:13 +0900	[thread overview]
Message-ID: <20240325045913.385853-2-snishika@redhat.com> (raw)
In-Reply-To: <20240325045913.385853-1-snishika@redhat.com>

Add Precision 7540 to the fan control whitelist, in addition to 7510.

Signed-off-by: Seiji Nishikawa <snishika@redhat.com>
---
 drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index efcf78673e74..0e12634e83cb 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1506,6 +1506,14 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
 		},
 		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
 	},
+	{
+		.ident = "Dell Precision 7540",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Precision 7540"),
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+	},
 	{
 		.ident = "Dell XPS 13 7390",
 		.matches = {
-- 
2.44.0


  reply	other threads:[~2024-03-25  4:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-23  7:36 [PATCH] hwmon: (dell-smm) Also add Dell Precision 7540 to fan control whitelist Seiji Nishikawa
2023-12-23 11:46 ` Pali Rohár
2024-01-08 15:34 ` Guenter Roeck
2024-03-25  4:59   ` 'Re: [PATCH] hwmon: (dell-smm) Also add Dell Precision 7540 to fan control whitelist' Seiji Nishikawa
2024-03-25  4:59     ` Seiji Nishikawa [this message]
2024-03-25 16:08       ` [PATCH v2] hwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist Guenter Roeck
2024-03-26  5:24         ` 'Re: [PATCH v2] hwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist' Seiji Nishikawa

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=20240325045913.385853-2-snishika@redhat.com \
    --to=snishika@redhat.com \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=pali@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.