Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
f72893b
[FROM-ML] platform/x86: (ayn-ec) Add PWM Fan HWMON Interface
pastaq Jul 26, 2025
27d3686
[FROM-ML] platform/x86: (ayn-ec) Add Temperature Sensors
pastaq Jul 26, 2025
41b3bab
[FROM-ML] platform/x86: (ayn-ec) Add RGB Interface
pastaq Jul 26, 2025
1fb2b66
[FROM-ML] platform/x86: (ayn-ec) Add AYN EC Platform Documentation
pastaq Jul 26, 2025
6b04802
[NOT-FOR-UPSTREAM] Codec: Add aw87xxx codec with partial acpi impleme…
ruineka Apr 25, 2024
c7c7d4e
[NOT-FOR-UPSTREAM] Updated AW87xxx driver to be more verbose for debu…
CVMagic May 16, 2024
811072d
[NOT-FOR-UPSTREAM] Updated AW87xxx driver to automatically enumerate …
CVMagic May 19, 2024
248126a
[NOT-FOR-UPSTREAM] Updated AW87xxx driver to implement Suspend and Re…
CVMagic May 22, 2024
4f558bb
[NOT-FOR-UPSTREAM] fixup aw87xxx.{c,h} warnings
BoukeHaarsma23 Jul 27, 2024
c034a26
[NOT-FOR-UPSTREAM] aw87xxx: add DMI-based firmware filename selection
hijae Sep 1, 2026
edfe490
[NOT-FOR-UPSTREAM] aw87xxx: drop unused linux/of_gpio.h include
hijae Sep 1, 2026
0928c84
[NOT-FOR-UPSTREAM] aw87xxx: add compat shim for snd_soc_unregister_co…
hijae Sep 1, 2026
3387c19
[NOT-FOR-UPSTREAM] aw87xxx: request the reset GPIO when valid
hijae Sep 1, 2026
a289bc0
[NOT-FOR-UPSTREAM] ALSA: hda/realtek: Add Ayaneo Air 1S audio quirk
fewtarius Sep 1, 2026
9477ffd
Merge pull request #102 from hijae/add-aw87xxx-flip-speaker
KyleGospo Sep 1, 2026
ed5b9d7
[NOT-FOR-UPSTREAM] platform/x86: ayn-ec: Report RGB LED under the Leg…
KyleGospo Jul 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions Documentation/ABI/testing/sysfs-platform-ayn-ec
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
What: /sys/class/hwmon/hwmon[0-9]/pwm1_enable
Date: July 2025
KernelVersion: 6.17
Contact: "Derek J. Clark" <derekjohn.clark@gmail.com>
Description:
This sets the PWM fan mode of operation. Valid values are [0-3].
Values [0-2] conform with standard hwmon operating modes. Value 3
enables user defined fan curve settings.

Applies to AYN Loki and Tectoy Zeenix lines of handheld devices.

What: /sys/class/hwmon/hwmon[0-9]/pwm1_auto_point[1-5]_pwm
Date: July 2025
KernelVersion: 6.17
Contact: "Derek J. Clark" <derekjohn.clark@gmail.com>
Description:
This sets the PWM fan duty cycle for the given index of the fan curve.
When the temperature reaches the corresponding pwm1_auto_point[1-5]_temp,
the EC will automatically increase the fan duty cycle to the given value.

Values are [0-255]

Applies to AYN Loki and Tectoy Zeenix lines of handheld devices.

What: /sys/class/hwmon/hwmon[0-9]/pwm1_auto_point[1-5]_temp
Date: July 2025
KernelVersion: 6.17
Contact: "Derek J. Clark" <derekjohn.clark@gmail.com>
Description:
This sets the activation temperature for the given index of the fan curve.
When the temperature reaches the given value, the EC will automatically
increase the fan duty cycle to the corresponding pwm1_auto_point[1-5]_pwm
value.

Values are [0-100]

Applies to AYN Loki and Tectoy Zeenix lines of handheld devices.

What: /sys/class/leds/ayn:rgb:joystick_rings/effect
Date: July 2025
KernelVersion: 6.17
Contact: "Derek J. Clark" <derekjohn.clark@gmail.com>
Description:
This controls the display effect of the RGB interface.

Values are monocolor or breathe.

Applies to AYN Loki and Tectoy Zeenix lines of handheld devices.

What: /sys/class/leds/ayn:rgb:joystick_rings/effect_index
Date: July 2025
KernelVersion: 6.17
Contact: "Derek J. Clark" <derekjohn.clark@gmail.com>
Description:
This displays the available options for the effect attribute.

Values are monocolor or breathe.

Applies to AYN Loki and Tectoy Zeenix lines of handheld devices.
7 changes: 7 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4459,6 +4459,13 @@ F: Documentation/devicetree/bindings/spi/axiado,ax3000-spi.yaml
F: drivers/spi/spi-axiado.c
F: drivers/spi/spi-axiado.h

AYN PLATFORM EC DRIVER
M: Derek J. Clark <derekjohn.clark@gmail.com>
L: platform-driver-x86@vger.kernel.org
S: Maintained
F: Documentation/ABI/testing/sysfs-platform-ayn-ec
F: drivers/platform/x86/ayn-ec.c

AYANEO PLATFORM EC DRIVER
M: Antheas Kapenekakis <lkml@antheas.dev>
L: platform-driver-x86@vger.kernel.org
Expand Down
15 changes: 15 additions & 0 deletions drivers/platform/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,21 @@ config ASUS_TF103C_DOCK
If you have an Asus TF103C tablet say Y or M here, for a generic x86
distro config say M here.

config AYN_EC
tristate "AYN x86 devices EC platform control"
depends on ACPI
depends on HWMON
depends on NEW_LEDS
select LEDS_CLASS
select LEDS_CLASS_MULTICOLOR
help
This is a driver for AYN and Tectoy x86 handheld devices. It provides
temperature monitoring, manual fan speed control, fan curve control,
and chassis RGB settings.

If you have an x86 AYN or Tectoy handheld device say M here. The module
will be called ayn-platform.

config AYANEO_EC
tristate "Ayaneo EC platform control"
depends on DMI
Expand Down
3 changes: 3 additions & 0 deletions drivers/platform/x86/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ obj-$(CONFIG_ASUS_TF103C_DOCK) += asus-tf103c-dock.o
obj-$(CONFIG_EEEPC_LAPTOP) += eeepc-laptop.o
obj-$(CONFIG_EEEPC_WMI) += eeepc-wmi.o

# Ayn
obj-$(CONFIG_AYN_EC) += ayn-ec.o

# Ayaneo
obj-$(CONFIG_AYANEO_EC) += ayaneo-ec.o

Expand Down
Loading