mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hwmon: (oxp-sensors) Add support for AOKZOE A1 PRO
@ 2023-06-24 23:16 Joaquín Ignacio Aramendía
  2023-06-24 23:49 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Joaquín Ignacio Aramendía @ 2023-06-24 23:16 UTC (permalink / raw)
  To: linux
  Cc: Jerrod Frost, derekjohn.clark, jdelvare, linux-hwmon,
	linux-kernel, Joaquín Ignacio Aramendía

From: Jerrod Frost <jcfrosty@proton.me>

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.

Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
---
 Documentation/hwmon/oxp-sensors.rst | 2 ++
 drivers/hwmon/oxp-sensors.c         | 7 +++++++
 2 files changed, 9 insertions(+)

diff --git a/Documentation/hwmon/oxp-sensors.rst b/Documentation/hwmon/oxp-sensors.rst
index 0ca1f7728c34..3adeb7406243 100644
--- a/Documentation/hwmon/oxp-sensors.rst
+++ b/Documentation/hwmon/oxp-sensors.rst
@@ -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
 
diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c
index 1e59d97219c4..e1a907cae820 100644
--- a/drivers/hwmon/oxp-sensors.c
+++ b/drivers/hwmon/oxp-sensors.c
@@ -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"),
-- 
2.41.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] hwmon: (oxp-sensors) Add support for AOKZOE A1 PRO
  2023-06-24 23:16 [PATCH] hwmon: (oxp-sensors) Add support for AOKZOE A1 PRO Joaquín Ignacio Aramendía
@ 2023-06-24 23:49 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2023-06-24 23:49 UTC (permalink / raw)
  To: Joaquín Ignacio Aramendía
  Cc: Jerrod Frost, derekjohn.clark, jdelvare, linux-hwmon, linux-kernel

On 6/24/23 16:16, Joaquín Ignacio Aramendía wrote:
> From: Jerrod Frost <jcfrosty@proton.me>
> 
> 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.
> 
> Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>

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

Guenter

> ---
>   Documentation/hwmon/oxp-sensors.rst | 2 ++
>   drivers/hwmon/oxp-sensors.c         | 7 +++++++
>   2 files changed, 9 insertions(+)
> 
> diff --git a/Documentation/hwmon/oxp-sensors.rst b/Documentation/hwmon/oxp-sensors.rst
> index 0ca1f7728c34..3adeb7406243 100644
> --- a/Documentation/hwmon/oxp-sensors.rst
> +++ b/Documentation/hwmon/oxp-sensors.rst
> @@ -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
>   
> diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c
> index 1e59d97219c4..e1a907cae820 100644
> --- a/drivers/hwmon/oxp-sensors.c
> +++ b/drivers/hwmon/oxp-sensors.c
> @@ -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"),


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-24 23:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-24 23:16 [PATCH] hwmon: (oxp-sensors) Add support for AOKZOE A1 PRO Joaquín Ignacio Aramendía
2023-06-24 23:49 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®