hwmon: (oxp-sensors) Add support for AOKZOE A1 PRO
authorJerrod Frost <jcfrosty@proton.me>
Sun, 25 Jun 2023 01:23:44 +0000 (22:23 -0300)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 25 Jun 2023 03:17:18 +0000 (20:17 -0700)
This device is an iteration over the AOKZOE A1 with the same EC mapping
and features.

It also has support for tt_toggle.

Signed-off-by: Jerrod Frost <jcfrosty@proton.me>
Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Link: https://lore.kernel.org/r/20230625012347.121352-2-samsagax@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/oxp-sensors.rst
drivers/hwmon/oxp-sensors.c

index 0ca1f77..3adeb74 100644 (file)
@@ -30,6 +30,7 @@ Supported devices
 Currently the driver supports the following handhelds:
 
  - AOK ZOE A1
+ - AOK ZOE A1 PRO
  - Aya Neo 2
  - Aya Neo AIR
  - Aya Neo AIR Pro
@@ -40,6 +41,7 @@ Currently the driver supports the following handhelds:
 
 "Turbo/Silent" button behaviour toggle is only supported on:
  - AOK ZOE A1
+ - AOK ZOE A1 PRO
  - OneXPlayer mini AMD (only with updated alpha BIOS)
  - OneXPlayer mini AMD PRO
 
index 1e59d97..e1a907c 100644 (file)
@@ -79,6 +79,13 @@ static const struct dmi_system_id dmi_table[] = {
        },
        {
                .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "AOKZOE"),
+                       DMI_EXACT_MATCH(DMI_BOARD_NAME, "AOKZOE A1 Pro"),
+               },
+               .driver_data = (void *)aok_zoe_a1,
+       },
+       {
+               .matches = {
                        DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
                        DMI_EXACT_MATCH(DMI_BOARD_NAME, "AYANEO 2"),
                },