Skip to contentSkip to conversation

hwmon: (oxp-sensors) Add AYANEO AIR and AIR Pro

PATCH Superseded Derek J. Clark 3 participants 3 messages Dec 14, 2022 – Dec 15, 2022

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 hwmon: (oxp-sensors) Add AYANEO AIR and AIR Pro

Add support for the AYANEO AIR and AYANEO AIR Pro models of handheld devices. These devices use the same EC registers and logic as the One X Player mini AMD. Previous AYANEO models are not supported as they use a different EC and do not have the necessary fan speed write enable and setting registers. Tihe driver is tested on Aya Neo AIR while AIR Pro model EC functionality and DMI data were verified using command line tools by another user.

The added devices are:
- AYANEO AIR (AMD 5560U)
- AYANEO AIR Pro (AMD 5560U)
- AYANEO AIR Pro (AMD 5825U)

---
 Documentation/hwmon/oxp-sensors.rst | 19 ++++++----
 MAINTAINERS                         |  1 +
 drivers/hwmon/oxp-sensors.c         | 54 ++++++++++++++++++++++++-----
 3 files changed, 59 insertions(+), 15 deletions(-)
Documentation/hwmon/oxp-sensors.rst +12 -7
index 39c588ec5c50..a53c961065b2 100644
@@ -3,18 +3,21 @@
 Kernel driver oxp-sensors
 =========================
 
-Author:
+Authors:
+    - Derek John Clark <[email protected]>
     - Joaquín Ignacio Aramendía <[email protected]>
 
-Description:
+Description
 ------------
 
-One X Player devices from One Netbook provide fan readings and fan control
-through its Embedded Controller.
+Handheld devices from One Netbook and Aya Neo provide fan readings and fan
+control through their embedded controllers.
 
-Currently only supports AMD boards from the One X Player and AOK ZOE lineup.
-Intel boards could be supported if we could figure out the EC registers and
-values to write to since the EC layout and model is different.
+Currently only supports AMD boards from One X Player, AOK ZOE, and some Aya
+Neo devices. One X PLayer Intel boards could be supported if we could figure
+out the EC registers and values to write to since the EC layout and model is
+different. Aya Neo devices preceding the AIR may not be usable as the EC model
+is different and do not appear to have manual control capabiltities.
 
 Supported devices
 -----------------
@@ -22,6 +25,8 @@ Supported devices
 Currently the driver supports the following handhelds:
 
  - AOK ZOE A1
+ - Aya Neo AIR
+ - Aya Neo AIR Pro
  - OneXPlayer AMD
  - OneXPlayer mini AMD
  - OneXPlayer mini AMD PRO
MAINTAINERS +1 -0
index 90220659206c..8bce95170f12 100644
@@ -15346,6 +15346,7 @@ F:	drivers/mtd/nand/onenand/
 F:	include/linux/mtd/onenand*.h
 
 ONEXPLAYER FAN DRIVER
+M:	Derek John Clark <[email protected]>
 M:	Joaquín Ignacio Aramendía <[email protected]>
 L:	[email protected]
 S:	Maintained
drivers/hwmon/oxp-sensors.c +46 -8

86 lines not on this page · raw message

Signature · 1 line
2.38.1
#1 lore raw
Quoted 8 lines

Currently the driver supports the following handhelds:

- AOK ZOE A1
+ - Aya Neo AIR
+ - Aya Neo AIR Pro
- OneXPlayer AMD
- OneXPlayer mini AMD
- OneXPlayer mini AMD PRO

Since there is more support now for this type of device and not only from one brand (even though it seems they all come from the same manufacturer) I might be sending a patch to change the name of the driver after this gets merged.

Signature · 1 line
Joaquín I. Aramendía
maintainer
#2 lore raw
Quoted 9 lines · Joaquin Aramendia
Quoted 8 lines

Currently the driver supports the following handhelds:

- AOK ZOE A1
+ - Aya Neo AIR
+ - Aya Neo AIR Pro
- OneXPlayer AMD
- OneXPlayer mini AMD
- OneXPlayer mini AMD PRO

Quoted 4 lines

Since there is more support now for this type of device and not only from one brand (even though it seems they all come from the same manufacturer) I might be sending a patch to change the name of the driver after this gets merged.

No, please don't do that.

Guenter