Skip to contentSkip to conversation

hwmon: (oxp-sensors) Add support for AOKZOE A1 PRO

PATCH Superseded Joaquín Ignacio Aramendía 2 participants 2 messages Jun 24, 2023

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (oxp-sensors) Add support for AOKZOE A1 PRO

From: Jerrod Frost <[email protected]>

This device is an iteration over the AOKZOE A1 with the same EC mapping and features. It also has support for tt_toggle.

Thanks to Jerrod for authoring and testing.

---
 Documentation/hwmon/oxp-sensors.rst | 2 ++
 drivers/hwmon/oxp-sensors.c         | 7 +++++++
 2 files changed, 9 insertions(+)
Documentation/hwmon/oxp-sensors.rst +2 -0
index 0ca1f7728c34..3adeb7406243 100644
@@ -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
 
drivers/hwmon/oxp-sensors.c +7 -0
index 1e59d97219c4..e1a907cae820 100644
@@ -77,6 +77,13 @@ static const struct dmi_system_id dmi_table[] = {
 		},
 		.driver_data = (void *)aok_zoe_a1,
 	},
+	{
+		.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"),
Signature · 1 line
2.41.0
maintainer
#1 lore raw
Quoted 8 lines · Joaquín Ignacio Aramendía

From: Jerrod Frost <[email protected]>

This device is an iteration over the AOKZOE A1 with the same EC mapping and features. It also has support for tt_toggle.

Thanks to Jerrod for authoring and testing.

From: and the first Signed-off-by: have to match. You would need Jerrod's Signed-off-by: tag to keep his authorship.

Guenter

Quoted 43 lines
---
  Documentation/hwmon/oxp-sensors.rst | 2 ++
  drivers/hwmon/oxp-sensors.c         | 7 +++++++
  2 files changed, 9 insertions(+)
Documentation/hwmon/oxp-sensors.rst +2 -0
index 0ca1f7728c34..3adeb7406243 100644
@@ -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
 
drivers/hwmon/oxp-sensors.c +7 -0
index 1e59d97219c4..e1a907cae820 100644
@@ -77,6 +77,13 @@ static const struct dmi_system_id dmi_table[] = {
  		},
  		.driver_data = (void *)aok_zoe_a1,
  	},
+	{
+		.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"),