dell-smm-hwmon: Add XPS 13 9360 to supported devices list
Subsystems (2)
v2 cover dell-smm-hwmon: Add XPS 13 9360 to supported devices list
This patch adds Dell XPS 13 9360 to supported devices list in dell-smm-hwmon.
I have tested this on one such device and verified that the fan speed is correctly reported, and can be controlled through pwm1{,_enable}.
Haochen Tong (2):
dell-smm-hwmon: add XPS 13 9360 to supported devices list
dell-smm-hwmon: add XPS 13 9360 to fan control whitelist
drivers/hwmon/dell-smm-hwmon.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
base-commit: 46d6b7becb1d5a8e697db786590c19e4067a975a
Signature · 1 line
2.25.0
PATCH v2 1/2 dell-smm-hwmon: add XPS 13 9360 to supported devices list
Tests have shown that this module works fine on XPS 13 9360: it can successfully detect and report fan status.
--- drivers/hwmon/dell-smm-hwmon.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +7 -0
@@ -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"), + }, + }, { } };
Signature · 1 line
2.25.0
PATCH v2 2/2 dell-smm-hwmon: add XPS 13 9360 to fan control whitelist
In reply to Haochen TongTests have shown that fan control works fine on XPS 13 9360.
--- drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
@@ -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], + }, { } };
Signature · 1 line
2.25.0
Quoted 10 lines · On Monday 03 February 2020 00:31:49 Haochen Tong wrote:
This patch adds Dell XPS 13 9360 to supported devices list in dell-smm-hwmon.
I have tested this on one such device and verified that the fan speed is correctly reported, and can be controlled through pwm1{,_enable}.
Haochen Tong (2):
dell-smm-hwmon: add XPS 13 9360 to supported devices list
dell-smm-hwmon: add XPS 13 9360 to fan control whitelist
Quoted 5 lines
drivers/hwmon/dell-smm-hwmon.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)base-commit:
46d6b7becb1d5a8e697db786590c19e4067a975a
Hello, both patches now look good, you can add my:
Signature · 2 lines
Pali Rohár [email protected]