linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Haochen Tong <i@hexchain.org>
To: pali.rohar@gmail.com, linux-hwmon@vger.kernel.org
Cc: jdelvare@suse.com, linux@roeck-us.net, Haochen Tong <i@hexchain.org>
Subject: [PATCH 2/2] dell-smm-hwmon: add XPS 13 9360 to fan control whitelist
Date: Wed, 29 Jan 2020 16:08:39 +0100	[thread overview]
Message-ID: <20200129150839.122689-3-i@hexchain.org> (raw)
In-Reply-To: <20200129150839.122689-1-i@hexchain.org>

Tests have shown that fan control works fine on XPS 13 9360.

Signed-off-by: Haochen Tong <i@hexchain.org>
---
 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 d9f6394c08d6..f20a7ea050e1 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1225,6 +1225,14 @@ static struct dmi_system_id i8k_whitelist_fan_control[] __initdata = {
 		},
 		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
 	},
+	{
+		.ident = "Dell XPS 13 9360",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 13 9360"),
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+	},
 	{ }
 };
 
-- 
2.25.0


      parent reply	other threads:[~2020-01-29 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-29 15:08 [PATCH 0/2] dell-smm-hwmon: Add XPS 13 9360 to supported devices list Haochen Tong
2020-01-29 15:08 ` [PATCH 1/2] dell-smm-hwmon: add " Haochen Tong
2020-01-30 22:10   ` Pali Rohár
2020-01-31 20:36     ` Haochen Tong
2020-01-29 15:08 ` Haochen Tong [this message]

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=20200129150839.122689-3-i@hexchain.org \
    --to=i@hexchain.org \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=pali.rohar@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).