[PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist

Armin Wolf posted 1 patch 7 months, 3 weeks ago
drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist
Posted by Armin Wolf 7 months, 3 weeks ago
A user reported that the driver works on the OptiPlex 7050. Add this
machine to the DMI whitelist.

Closes: https://github.com/Wer-Wolf/i8kutils/issues/12
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 79e5606e6d2f..1e2c8e284001 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1273,6 +1273,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7060"),
 		},
 	},
+	{
+		.ident = "Dell OptiPlex 7050",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7050"),
+		},
+	},
 	{
 		.ident = "Dell Precision",
 		.matches = {
-- 
2.39.5
Re: [PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist
Posted by Guenter Roeck 7 months, 3 weeks ago
On Mon, Apr 21, 2025 at 12:33:34AM +0200, Armin Wolf wrote:
> A user reported that the driver works on the OptiPlex 7050. Add this
> machine to the DMI whitelist.
> 
> Closes: https://github.com/Wer-Wolf/i8kutils/issues/12
> Signed-off-by: Armin Wolf <W_Armin@gmx.de>
> Acked-by: Pali Rohár <pali@kernel.org>

Applied.

Thanks,
Guenter
Re: [PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist
Posted by Pali Rohár 7 months, 3 weeks ago
On Monday 21 April 2025 00:33:34 Armin Wolf wrote:
> A user reported that the driver works on the OptiPlex 7050. Add this
> machine to the DMI whitelist.
> 
> Closes: https://github.com/Wer-Wolf/i8kutils/issues/12
> Signed-off-by: Armin Wolf <W_Armin@gmx.de>

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

> ---
>  drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> index 79e5606e6d2f..1e2c8e284001 100644
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1273,6 +1273,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
>  			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7060"),
>  		},
>  	},
> +	{
> +		.ident = "Dell OptiPlex 7050",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7050"),
> +		},
> +	},
>  	{
>  		.ident = "Dell Precision",
>  		.matches = {
> -- 
> 2.39.5
>