<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/platform/x86/oxpec.c, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-11-21T15:36:20Z</updated>
<entry>
<title>platform/x86: ayaneo-ec: Move Ayaneo devices from oxpec to ayaneo-ec</title>
<updated>2025-11-21T15:36:20Z</updated>
<author>
<name>Antheas Kapenekakis</name>
</author>
<published>2025-11-19T17:45:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02c15e3ddcc5a50fbdf1e586d94f0372f5b40ed5'/>
<id>urn:sha1:02c15e3ddcc5a50fbdf1e586d94f0372f5b40ed5</id>
<content type='text'>
Currently, the oxpec driver contains Ayaneo devices. Move them to the
new ayaneo-ec driver, which is dedicated to them.

As this driver supports charge inhibition for Ayaneo, add support for it
for the AIR, AIR 1S, AB05-Medoncino, AIR Pro, and Kun, referenced from
the out-of-tree ayaneo-platform driver.

In addition, update the readmes of oxpec to reflect this change.

Link: https://github.com/ShadowBlip/ayaneo-platform
Tested-by: Derek J. Clark &lt;derekjohn.clark@gmail.com&gt;
Reviewed-by: Armin Wolf &lt;W_Armin@gmx.de&gt;
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://patch.msgid.link/20251119174505.597218-6-lkml@antheas.dev
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: oxpec: Add support for AOKZOE A1X</title>
<updated>2025-09-10T11:21:11Z</updated>
<author>
<name>Antheas Kapenekakis</name>
</author>
<published>2025-09-04T13:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d857d09fb653f081f5730e5549fce397513b0ef9'/>
<id>urn:sha1:d857d09fb653f081f5730e5549fce397513b0ef9</id>
<content type='text'>
Very similar to OneXFly devices. Uses the same registers.

Signed-off-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://patch.msgid.link/20250904132252.3041613-2-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: oxpec: Add support for OneXPlayer X1Pro EVA-02</title>
<updated>2025-09-10T11:21:09Z</updated>
<author>
<name>Antheas Kapenekakis</name>
</author>
<published>2025-09-04T13:22:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fba9d5448bd45b0ff7199c47023e9308ea4f1730'/>
<id>urn:sha1:fba9d5448bd45b0ff7199c47023e9308ea4f1730</id>
<content type='text'>
It is a special edition of X1Pro with a different color.

Signed-off-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://patch.msgid.link/20250904132252.3041613-1-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: oxpec: Add support for OneXPlayer X1 Mini Pro (Strix Point)</title>
<updated>2025-07-22T14:45:37Z</updated>
<author>
<name>Antheas Kapenekakis</name>
</author>
<published>2025-07-18T16:33:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1798561befd8be1e52feb54f850efcab5a595f43'/>
<id>urn:sha1:1798561befd8be1e52feb54f850efcab5a595f43</id>
<content type='text'>
The OneXPlayer X1 Mini Pro (which is the Strix Point variant of the Mini)
uses the same registers as the X1 Mini, so re-use the quirk.

Signed-off-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://lore.kernel.org/r/20250718163305.159232-2-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: oxpec: Fix turbo register for G1 AMD</title>
<updated>2025-07-22T14:45:34Z</updated>
<author>
<name>Antheas Kapenekakis</name>
</author>
<published>2025-07-18T16:33:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=232b41d3c2ce8cf4641a174416676458bf0de5b2'/>
<id>urn:sha1:232b41d3c2ce8cf4641a174416676458bf0de5b2</id>
<content type='text'>
Turns out that the AMD variant of the G1 uses different EC registers
than the Intel variant. Differentiate them and apply the correct ones
to the AMD variant.

Fixes: b369395c895b ("platform/x86: oxpec: Add support for the OneXPlayer G1")
Signed-off-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://lore.kernel.org/r/20250718163305.159232-1-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: oxpec: Add support for the OneXPlayer G1</title>
<updated>2025-05-08T13:03:53Z</updated>
<author>
<name>Antheas Kapenekakis</name>
</author>
<published>2025-04-26T17:29:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b369395c895bfab678c653bb8929a967f233f55a'/>
<id>urn:sha1:b369395c895bfab678c653bb8929a967f233f55a</id>
<content type='text'>
The OneXPlayer G1 is a new clamshell formfactor by OneXPlayer.
It has the same registers as an OneXPlayer X1, with the only
difference being the lack of a turbo led.

Tested-by: Joshua Tam &lt;csinaction@pm.me&gt;
Suggested-by: Joshua Tam &lt;csinaction@pm.me&gt;
Signed-off-by: Joshua Tam &lt;csinaction@pm.me&gt;
Signed-off-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://lore.kernel.org/r/20250426172955.13957-3-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: oxpec: Make turbo val apply a bitmask</title>
<updated>2025-05-08T13:03:51Z</updated>
<author>
<name>Antheas Kapenekakis</name>
</author>
<published>2025-04-26T17:29:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e25a982b38b3365f3c137c427db87be1ef040414'/>
<id>urn:sha1:e25a982b38b3365f3c137c427db87be1ef040414</id>
<content type='text'>
On the OneXPlayer G1, the turbo register is multiplexed and contains an
extra bit (0x02) which is set on boot. Therefore, we should only change
the 0x40 bit to not affect other behavior. Collapse the disable and
enable functions, and apply a mask for the turbo bit instead.

Tested-by: Joshua Tam &lt;csinaction@pm.me&gt;
Suggested-by: Joshua Tam &lt;csinaction@pm.me&gt;
Signed-off-by: Joshua Tam &lt;csinaction@pm.me&gt;
Signed-off-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://lore.kernel.org/r/20250426172955.13957-2-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: oxpec: Add a lower bounds check in oxp_psy_ext_set_prop()</title>
<updated>2025-05-08T13:03:46Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2025-05-02T08:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5925f438429330e649cef67cb364af03f2175f7'/>
<id>urn:sha1:c5925f438429330e649cef67cb364af03f2175f7</id>
<content type='text'>
The "val-&gt;intval" variable is an integer which comes from the user.  This
code has an upper bounds check but the lower bounds check was
accidentally omitted.  The write_to_ec() take a u8 value as a parameter
so negative values would be truncated to positive values in the 0-255
range.

Return -EINVAL if the user passes a negative value.

Fixes: 202593d1e86b ("platform/x86: oxpec: Add charge threshold and behaviour to OneXPlayer")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@linaro.org&gt;
Reviewed-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://lore.kernel.org/r/aBSE71VKfBlQg_fZ@stanley.mountain
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: oxpec: Convert defines to using tabs</title>
<updated>2025-04-30T11:05:48Z</updated>
<author>
<name>Antheas Kapenekakis</name>
</author>
<published>2025-04-25T11:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25b5095a4b891987f41dcfbc8bff8d3604bf8285'/>
<id>urn:sha1:25b5095a4b891987f41dcfbc8bff8d3604bf8285</id>
<content type='text'>
The defines used spaces previously. Convert all of them to use tabs.

Signed-off-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://lore.kernel.org/r/20250425111821.88746-17-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: oxpec: Rename rval to ret in tt_toggle</title>
<updated>2025-04-30T11:05:46Z</updated>
<author>
<name>Antheas Kapenekakis</name>
</author>
<published>2025-04-25T11:18:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97e3d8ac258588f49b595e2a37b980ed84e478f1'/>
<id>urn:sha1:97e3d8ac258588f49b595e2a37b980ed84e478f1</id>
<content type='text'>
Rename the variable `rval` to `ret` in the function for consistency.

Signed-off-by: Antheas Kapenekakis &lt;lkml@antheas.dev&gt;
Link: https://lore.kernel.org/r/20250425111821.88746-16-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
Signed-off-by: Ilpo Järvinen &lt;ilpo.jarvinen@linux.intel.com&gt;
</content>
</entry>
</feed>
