Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (oxp-sensors) Add support for Ayaneo Air Plus 7320u.

Add support for handheld AYANEO AIR Plus with the same EC registers
to add proper fan control.

Functionality was tested successfully.

Signed-off-by: Sebastian Kranz <tklightforce@googlemail.com>
Link: https://lore.kernel.org/r/20240209090157.3232-1-tklightforce@googlemail.com
[groeck: Fixed up commit message]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Sebastian Kranz and committed by
Guenter Roeck
692cf83b efd49b8e

+11
+1
Documentation/hwmon/oxp-sensors.rst
··· 33 33 - AOK ZOE A1 PRO 34 34 - Aya Neo 2 35 35 - Aya Neo AIR 36 + - Aya Neo AIR Plus (Mendocino) 36 37 - Aya Neo AIR Pro 37 38 - Aya Neo Geek 38 39 - OneXPlayer AMD
+10
drivers/hwmon/oxp-sensors.c
··· 43 43 aok_zoe_a1 = 1, 44 44 aya_neo_2, 45 45 aya_neo_air, 46 + aya_neo_air_plus_mendo, 46 47 aya_neo_air_pro, 47 48 aya_neo_geek, 48 49 oxp_mini_amd, ··· 98 97 DMI_EXACT_MATCH(DMI_BOARD_NAME, "AIR"), 99 98 }, 100 99 .driver_data = (void *)aya_neo_air, 100 + }, 101 + { 102 + .matches = { 103 + DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"), 104 + DMI_EXACT_MATCH(DMI_BOARD_NAME, "AB05-Mendocino"), 105 + }, 106 + .driver_data = (void *)aya_neo_air_plus_mendo, 101 107 }, 102 108 { 103 109 .matches = { ··· 340 332 switch (board) { 341 333 case aya_neo_2: 342 334 case aya_neo_air: 335 + case aya_neo_air_plus_mendo: 343 336 case aya_neo_air_pro: 344 337 case aya_neo_geek: 345 338 case oxp_mini_amd: ··· 383 374 switch (board) { 384 375 case aya_neo_2: 385 376 case aya_neo_air: 377 + case aya_neo_air_plus_mendo: 386 378 case aya_neo_air_pro: 387 379 case aya_neo_geek: 388 380 case oxp_mini_amd: