Commit graph

63 commits

Author SHA1 Message Date
ps1x
62154c4d00 Remove outdated upstream contact note 2026-03-30 16:48:25 +03:00
ps1x
7446f562fd Add Super X upstream mail templates 2026-03-30 00:48:16 +03:00
ps1x
b4423401b7 Refine Super X upstream oxpec logic 2026-03-30 00:47:34 +03:00
ps1x
ec85f3e5dd Add local Super X oxpec test workflow 2026-03-30 00:42:10 +03:00
ps1x
521982b0a5 Prepare upstream Super X oxpec patch set 2026-03-29 19:25:03 +03:00
ps1x
75ad4d0ae8 Add draft upstream oxpec patch for Super X 2026-03-29 19:21:01 +03:00
ps1x
7c44b9fb4e Prepare public OneXPlayer Super X control release 2026-03-29 18:59:25 +03:00
Jerrod Frost
f75d8444eb hwmon: (oxp-sensors) Add support for AOKZOE A1 PRO
This device is an iteration over the AOKZOE A1 with the same EC mapping
and features.

It also has support for tt_toggle.

Signed-off-by: Jerrod Frost <jcfrosty@proton.me>
Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
2023-06-27 19:24:07 -03:00
Joaquín Ignacio Aramendía
abd490461f Sync up with mainline cleanup 2023-06-20 19:51:59 -03:00
Joaquín Ignacio Aramendía
d409615908 Sync with upstream patch v3 2023-06-11 10:35:07 -03:00
Joaquín Ignacio Aramendía
e5ccb65277 DO NOT SHIP: Return status of tt_toggle instead of read value 2023-06-10 15:23:15 -03:00
Joaquín Ignacio Aramendía
4108c8362f DO NOT SHIP: Fixup attaching attributes to the platform device 2023-06-10 09:29:57 -03:00
Joaquín Ignacio Aramendía
13b6b8fc5d hwmon: (oxp-sensors) Add tt_toggle attribute on supported boards
OneXPlayer boards from the last generation (both for OneXPlayer and AOK
ZOE brands) have a toggle in the EC to switch the "Turbo/Silent" button
into a different keyboard event.

Add a means to use that "Turbo button takeover" function and expose it
to userspace in a custom sysfs `tt_toggle` attribute. It can be read to
take the current state. Write 1|0 to activate the function. The specific
keycode is dependent on the board but can be checked by running
`evtest` utility.

Currently known supported boards:
- AOK ZOE A1
- OneXPlayer Mini AMD (only newer BIOS version supported)
- OneXPlayer Mini Pro
2023-05-26 19:15:56 -03:00
Joaquín Ignacio Aramendía
ceaee72fe3 hwmon: (oxp-sensors) Differentiate new BIOS for the Mini
Newer BIOS got some other changes aside from string changes. Add a board
enum to differentiate it from the old OneXplayer Mini AMD BIOS.
2023-05-26 18:51:05 -03:00
Joaquín Ignacio Aramendía
c442d7024a Sync with upstream changes 2023-05-26 18:44:16 -03:00
Joaquín Ignacio Aramendía
9221106dbb hwmon: (oxp-sensors) Stop passing device structure
We don't need to pass device structure to write_to_ec() so we remove
that from the function declaration.
The same is valid for pwm_enable() and pwm_disable() as we were passing
the pointer to hand it off to write_to_ec().
2023-05-25 11:14:56 -03:00
Joaquín Ignacio Aramendía
60438d0d2b Add newer DMI strings for OXP Mini AMD 2023-05-15 09:29:26 -03:00
Joaquín Ignacio Aramendía
3eb27c6813 Sync with mainline 2023-05-13 10:53:09 -03:00
Joaquín Ignacio Aramendía
bcef9dd5d6 Merge branch 'main' into 'main'
Add latest AYANEO devices

See merge request Samsagax/oxp-platform-dkms!2
2023-03-31 06:22:10 +00:00
Derek John Clark
063c44b97c Add latest AYANEO devices 2023-03-31 06:22:10 +00:00
Joaquín Ignacio Aramendía
dbaf09e744 Fix dkms.conf module name 2023-01-04 18:01:30 +00:00
Joaquín Ignacio Aramendía
d43924d109 Aya Neo seems to have the same EC layout as OXP. 2022-12-17 18:03:27 +00:00
Derek John Clark
da6d3f8b42 Add Aya Neo Air/Pro 2022-12-17 18:03:27 +00:00
Joaquín Ignacio Aramendía
73811df978 Sync with mainline module 2022-11-28 16:03:57 -03:00
Joaquín Ignacio Aramendía
797f9763a5 Update Readme 2022-11-20 10:49:58 -03:00
Joaquín Ignacio Aramendía
bbd8962785 Fix dkms target 2022-11-19 13:52:16 -03:00
Joaquín Ignacio Aramendía
04e763f757 Add support for OXP Mini AMD PRO 2022-11-19 12:55:15 -03:00
Joaquín Ignacio Aramendía
a841d1771b Add AOK ZOE support 2022-11-19 12:51:22 -03:00
Joaquín Ignacio Aramendía
415fc085b6 Latest patch merged into hwmon-next 2022-11-12 09:52:44 -03:00
Joaquín Ignacio Aramendía
505c53f9bf Fixup minor issues and use module_platform_driver() 2022-11-02 17:12:40 -03:00
Joaquín Ignacio Aramendía
09e360d752 Testing v4 driver for mainline 2022-11-02 11:32:18 -03:00
Joaquín Ignacio Aramendía
09b4788ab4 Fix missing enable register 2022-10-31 11:37:48 -03:00
Joaquín Ignacio Aramendía
4804de733a Remove min/max reporting 2022-10-31 11:11:05 -03:00
Joaquín Ignacio Aramendía
b69178f077 Driver rewritten 2022-10-30 16:31:06 -03:00
Joaquín Ignacio Aramendía
d507883b8d Slight documentation and comment fix 2022-10-29 19:21:01 -03:00
Joaquín Ignacio Aramendía
75402540fc Remove Intel board support 2022-10-28 19:28:27 -03:00
Joaquín Ignacio Aramendía
3442a29a27 Remove unused variable 2022-10-27 16:40:08 -03:00
Joaquín Ignacio Aramendía
6153bc1f77 Correct intel EC pwm_enable register 2022-10-27 16:26:50 -03:00
Joaquín Ignacio Aramendía
8d076eef2f Update Readme with intel board changes 2022-10-27 11:01:32 -03:00
Joaquín Ignacio Aramendía
f2226716e6 Return EPERM when fan_control=0 2022-10-27 10:27:26 -03:00
Joaquín Ignacio Aramendía
b88690205f Use write_to_ec for pwm 2022-10-27 10:26:48 -03:00
Joaquín Ignacio Aramendía
1970d6c2b8 Code cleanup for mainline 2022-10-26 19:13:10 -03:00
Joaquín Ignacio Aramendía
7ed70729c8 Move message to init function 2022-08-31 19:06:44 -03:00
Joaquín Ignacio Aramendía
580d1427b9 Add some checks for write values 2022-08-31 19:05:54 -03:00
Joaquín Ignacio Aramendía
a786398728 Add fan_control parameter 2022-08-31 19:04:17 -03:00
Joaquín Ignacio Aramendía
0b88175481 Add a big fat warning to fan control 2022-08-31 18:36:57 -03:00
Joaquín Ignacio Aramendía
6460c44fbc Update README.md 2022-08-29 20:18:17 -03:00
Joaquín Ignacio Aramendía
342002756c Fix register to read PWM enable 2022-08-29 20:06:08 -03:00
Joaquín Ignacio Aramendía
be6f6fce70 Scale PWM input on AMD boards 2022-08-29 20:05:48 -03:00
Joaquín Ignacio Aramendía
54af88cf2a Scale values to 0-100 for AMD board 2022-08-29 19:46:24 -03:00