hwmon: (dell-smm) Also add Dell Precision 7540 to fan control whitelist
Subsystems (2)
PATCH 1/1 hwmon: (dell-smm) Also add Dell Precision 7540 to fan control whitelist
This patch, in addition to 95d88d054ad9 that added Dell Precision 7510 to fan control whitelist, also adds Precision 7540 to the whitelist, which allows manual PWM control on Dell Precision 7540. It has been confirmed that the same SMM commands work to enable/disable manual PWM control on Dell Precision 7540.
--- drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
@@ -1330,6 +1330,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 = {
Signature · 1 line
2.42.0
Quoted 5 lines · On Saturday 23 December 2023 16:36:58 Seiji Nishikawa wrote:
This patch, in addition to
95d88d054ad9that added Dell Precision 7510 to fan control whitelist, also adds Precision 7540 to the whitelist, which allows manual PWM control on Dell Precision 7540. It has been confirmed that the same SMM commands work to enable/disable manual PWM control on Dell Precision 7540.
---
Quoted 25 lines
drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/hwmon/dell-smm-hwmon.c +8
-0@@ -1330,6 +1330,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 = {Signature · 1 line
2.42.0
Guenter Roeck
maintainerQuoted 2 lines · Seiji Nishikawa
This patch, in addition to
95d88d054ad9that added Dell Precision 7510 to fan control whitelist, also adds Precision 7540 to the whitelist, which allows manual
Use imperative mood to describe your patch.
Quoted 16 lines
PWM control on Dell Precision 7540. It has been confirmed that the same SMM commands work to enable/disable manual PWM control on Dell Precision 7540.
Acked-by Pali Rohár <[email protected]>--- drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/hwmon/dell-smm-hwmon.c +1
-0@@ -1330,6 +1330,14 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = { }, .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], }, + {
drivers/hwmon/dell-smm-hwmon.c static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = { · line 1343
Quoted 10 lines
drivers/hwmon/dell-smm-hwmon.c +7
-0+ .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 = {
Patch uses spaces instead of tabs and produces lots of checkpatch warnings and errors. Also, Signed-off: tag is missing.
Overall, please read and follow Documentation/process/submitting-patches.rst.
Guenter
'Re: [PATCH] hwmon: (dell-smm) Also add Dell Precision 7540 to fan control whitelist'
Quoted 6 lines · Guenter Roeck
Quoted 2 lines · Seiji Nishikawa
This patch, in addition to
95d88d054ad9that added Dell Precision 7510 to fan control whitelist, also adds Precision 7540 to the whitelist, which allows manualUse imperative mood to describe your patch.
Just as you pointed out.
Quoted 21 lines
Quoted 21 lines
PWM control on Dell Precision 7540. It has been confirmed that the same SMM commands work to enable/disable manual PWM control on Dell Precision 7540.
Acked-by Pali Rohár <[email protected]>---
drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++1 file changed, 8 insertions(+)drivers/hwmon/dell-smm-hwmon.c +6
-0@@ -1330,6 +1330,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"), + },
Quoted 8 lines
drivers/hwmon/dell-smm-hwmon.c static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = { · line 1343
Quoted 5 lines
drivers/hwmon/dell-smm-hwmon.c +2
-0+ .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], + }, { .ident = "Dell XPS 13 7390", .matches = {Patch uses spaces instead of tabs and produces lots of checkpatch warnings and errors. Also, Signed-off: tag is missing.
Apologies for the noises and the missing tag.
Quoted 1 line
Overall, please read and follow
Documentation/process/submitting-patches.rst.
I should have done that.
PATCH v2 1/1 hwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist
Add Precision 7540 to the fan control whitelist, in addition to 7510.
--- drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
@@ -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 = {
Signature · 1 line
2.44.0
Re: [PATCH v2] hwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist
Quoted 3 lines · Seiji Nishikawa
Add Precision 7540 to the fan control whitelist, in addition to 7510.
Signed-off-by Seiji Nishikawa <[email protected]>
Applied. Note though that sending a new version of a patch as reply to an older one may easily result in it getting lost, so I'd recommend not to do that.
Guenter
'Re: [PATCH v2] hwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist'
Quoted 9 lines · Guenter Roeck
Quoted 3 lines · Seiji Nishikawa
Add Precision 7540 to the fan control whitelist, in addition to 7510.
Signed-off-by Seiji Nishikawa <[email protected]>Applied. Note though that sending a new version of a patch as reply to an older one may easily result in it getting lost, so I'd recommend not to do that.
Thank you. Noted. I won't do that again.