diff mbox series

[v2] hwmon: (dell-smm) Add Dell G5 5505 to DMI table

Message ID 20240310220710.896230-1-tjakobi@math.uni-bielefeld.de (mailing list archive)
State Accepted
Headers show
Series [v2] hwmon: (dell-smm) Add Dell G5 5505 to DMI table | expand

Commit Message

Tobias Jakobi March 10, 2024, 10:07 p.m. UTC
From: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>

Enables reading the speed of the CPU and GPU fan on the G5.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Armin Wolf March 14, 2024, 5:13 p.m. UTC | #1
Am 10.03.24 um 23:07 schrieb tjakobi@math.uni-bielefeld.de:

> From: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
>
> Enables reading the speed of the CPU and GPU fan on the G5.
>
> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.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 44aaf9b9191d..02405a1dd0a0 100644
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1096,6 +1096,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
>   			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5590"),
>   		},
>   	},
> +	{
> +		.ident = "Dell G5 5505",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
> +		},
> +	},
>   	{
>   		.ident = "Dell Inspiron",
>   		.matches = {

Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Guenter Roeck March 20, 2024, 5:51 p.m. UTC | #2
On Sun, Mar 10, 2024 at 11:07:09PM +0100, tjakobi@math.uni-bielefeld.de wrote:
> From: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
> 
> Enables reading the speed of the CPU and GPU fan on the G5.
> 
> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
> Reviewed-by: Armin Wolf <W_Armin@gmx.de>

Applied to hwmon-next.

Please note that I'll push the branch after the commit window closed.

Thanks,
Guenter
diff mbox series

Patch

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 44aaf9b9191d..02405a1dd0a0 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1096,6 +1096,13 @@  static const struct dmi_system_id i8k_dmi_table[] __initconst = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5590"),
 		},
 	},
+	{
+		.ident = "Dell G5 5505",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+		},
+	},
 	{
 		.ident = "Dell Inspiron",
 		.matches = {