diff mbox series

[v2,1/2] dell-smm-hwmon: add XPS 13 9360 to supported devices list

Message ID 20200202233151.1840067-2-i@hexchain.org (mailing list archive)
State Not Applicable
Headers show
Series dell-smm-hwmon: Add XPS 13 9360 to supported devices list | expand

Commit Message

Haochen Tong Feb. 2, 2020, 11:31 p.m. UTC
Tests have shown that this module works fine on XPS 13 9360: it can
successfully detect and report fan status.

Signed-off-by: Haochen Tong <i@hexchain.org>
---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 17583bf8c2dc..c8f2182ba969 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1118,6 +1118,13 @@  static const struct dmi_system_id i8k_dmi_table[] __initconst = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "XPS 15 9570"),
 		},
 	},
+	{
+		.ident = "Dell XPS 13 9360",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 13 9360"),
+		},
+	},
 	{ }
 };