mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist
@ 2025-04-20 22:33 Armin Wolf
  2025-04-20 22:44 ` Pali Rohár
  2025-04-21 18:25 ` Guenter Roeck
  0 siblings, 2 replies; 3+ messages in thread
From: Armin Wolf @ 2025-04-20 22:33 UTC (permalink / raw)
  To: pali, jdelvare, linux; +Cc: linux-hwmon, linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist
  2025-04-20 22:33 [PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist Armin Wolf
@ 2025-04-20 22:44 ` Pali Rohár
  2025-04-21 18:25 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Pali Rohár @ 2025-04-20 22:44 UTC (permalink / raw)
  To: Armin Wolf; +Cc: jdelvare, linux, linux-hwmon, linux-kernel

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist
  2025-04-20 22:33 [PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist Armin Wolf
  2025-04-20 22:44 ` Pali Rohár
@ 2025-04-21 18:25 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2025-04-21 18:25 UTC (permalink / raw)
  To: Armin Wolf; +Cc: pali, jdelvare, linux-hwmon, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-21 18:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-20 22:33 [PATCH] hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist Armin Wolf
2025-04-20 22:44 ` Pali Rohár
2025-04-21 18:25 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®