[PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist

Gabriel Marcano posted 1 patch 3 days, 2 hours ago
drivers/hwmon/dell-smm-hwmon.c | 9 +++++++++
1 file changed, 9 insertions(+)
[PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist
Posted by Gabriel Marcano 3 days, 2 hours ago
Allow manual PWM control on Dell G5 5505 (and SE).

Signed-off-by: Gabriel Marcano <gabemarcano@yahoo.com>
---
I tested this on my Dell G5 5505 SE, although there only seem to be
three fan speeds regardless of the actual PWM setting (off, somewhere in
the middle, and max).

 drivers/hwmon/dell-smm-hwmon.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index cbe1a74a3dee..683baf361c4c 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1533,6 +1533,15 @@ static const struct i8k_fan_control_data i8k_fan_control_data[] __initconst = {
 };
 
 static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
+	{
+		.ident = "Dell G5 5505",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+	},
 	{
 		.ident = "Dell Latitude 5480",
 		.matches = {

base-commit: 765e56e41a5af2d456ddda6cbd617b9d3295ab4e
-- 
2.52.0
Re: [PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist
Posted by Pali Rohár 2 hours ago
On Friday 28 November 2025 11:16:44 Gabriel Marcano wrote:
> Allow manual PWM control on Dell G5 5505 (and SE).
> 
> Signed-off-by: Gabriel Marcano <gabemarcano@yahoo.com>

Acked-by: Pali Rohár <pali@kernel.org>

> ---
> I tested this on my Dell G5 5505 SE, although there only seem to be
> three fan speeds regardless of the actual PWM setting (off, somewhere in
> the middle, and max).
> 
>  drivers/hwmon/dell-smm-hwmon.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> index cbe1a74a3dee..683baf361c4c 100644
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1533,6 +1533,15 @@ static const struct i8k_fan_control_data i8k_fan_control_data[] __initconst = {
>  };
>  
>  static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
> +	{
> +		.ident = "Dell G5 5505",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
> +
> +		},
> +		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
> +	},
>  	{
>  		.ident = "Dell Latitude 5480",
>  		.matches = {
> 
> base-commit: 765e56e41a5af2d456ddda6cbd617b9d3295ab4e
> -- 
> 2.52.0
> 
Re: [PATCH] hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist
Posted by Guenter Roeck 2 days, 23 hours ago
On Fri, Nov 28, 2025 at 11:16:44AM -0800, Gabriel Marcano wrote:
> Allow manual PWM control on Dell G5 5505 (and SE).
> 
> Signed-off-by: Gabriel Marcano <gabemarcano@yahoo.com>
> ---

Applied.

Thanks,
Guenter