diff options
author | Joaquín Ignacio Aramendía <samsagax@gmail.com> | 2023-05-17 20:35:41 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-06-08 15:41:18 +0200 |
commit | 7d0c2c61b1a4d1cf5641b35b491fe58ffafe26bc (patch) | |
tree | bd05ddf17dde089f8351456c10d464999a681661 /drivers/hwmon/oxp-sensors.c | |
parent | hwmon: (aquacomputer_d5next) Add support for Aquacomputer Leakshield (diff) | |
download | linux-7d0c2c61b1a4d1cf5641b35b491fe58ffafe26bc.tar.xz linux-7d0c2c61b1a4d1cf5641b35b491fe58ffafe26bc.zip |
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.
Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Link: https://lore.kernel.org/r/20230517183540.187383-1-samsagax@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/oxp-sensors.c')
-rw-r--r-- | drivers/hwmon/oxp-sensors.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c index 4d09a63af64a..a4ee757f879f 100644 --- a/drivers/hwmon/oxp-sensors.c +++ b/drivers/hwmon/oxp-sensors.c @@ -102,6 +102,13 @@ static const struct dmi_system_id dmi_table[] = { { .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"), DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER Mini Pro"), }, .driver_data = (void *)oxp_mini_amd_pro, |