Skip to contentSkip to conversation

hwmon: (oxp-sensors) Add new DMI match for OXP Mini

PATCH Applied Joaquín Ignacio Aramendía 2 participants 2 messages May 17, 2023 – May 19, 2023 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (oxp-sensors) Add new DMI match for OXP Mini

A newer BIOS version for the OneXPlayer Mini AMD modified vendor and board name strings. Add those to the match table and set the same board model as older OXP Mini AMD.

---
 drivers/hwmon/oxp-sensors.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/hwmon/oxp-sensors.c +7 -0
index 7828c1d36695..b52bf8c4768a 100644
@@ -99,6 +99,13 @@ static const struct dmi_system_id dmi_table[] = {
 		},
 		.driver_data = (void *)oxp_mini_amd,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
+			DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER mini A07"),
+		},
+		.driver_data = (void *)oxp_mini_amd,
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
Signature · 1 line
2.40.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Joaquín Ignacio Aramendía

A newer BIOS version for the OneXPlayer Mini AMD modified vendor and board name strings. Add those to the match table and set the same board model as older OXP Mini AMD.

Applied.

Thanks,
Guenter