From: Hijae Song <hijae99@gmail.com>
To: "Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Antheas Kapenekakis <lkml@antheas.dev>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org, Hijae Song <hijae99@gmail.com>
Subject: [PATCH] platform/x86: ayaneo-ec: Enable charge control on Flip KB
Date: Sun, 8 Nov 2026 11:03:51 +0900 [thread overview]
Message-ID: <20261108020351.62494-1-hijae99@gmail.com> (raw)
Flip KB was matched to quirk_fan (fan control only), the same
quirk used for boards without a working charge-limit EC
interface. Testing on real hardware shows the charge-limit
register works identically to AIR/AIR 1S/KUN, so switch it to
quirk_charge_limit.
Verified on real hardware: switching charge_behaviour to
inhibit-charge stops the charge current (status: Not charging,
power_now: 0), and switching back to auto resumes charging.
Signed-off-by: Hijae Song <hijae99@gmail.com>
---
drivers/platform/x86/ayaneo-ec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/x86/ayaneo-ec.c b/drivers/platform/x86/ayaneo-ec.c
index 41a24e09..6fe2387d 100644
--- a/drivers/platform/x86/ayaneo-ec.c
+++ b/drivers/platform/x86/ayaneo-ec.c
@@ -88,7 +88,7 @@ static const struct dmi_system_id dmi_table[] = {
DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
DMI_MATCH(DMI_BOARD_NAME, "FLIP"),
},
- .driver_data = (void *)&quirk_fan,
+ .driver_data = (void *)&quirk_charge_limit,
},
{
.matches = {
--
2.54.0 (Apple Git-157)
reply other threads:[~2026-11-08 2:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261108020351.62494-1-hijae99@gmail.com \
--to=hijae99@gmail.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@antheas.dev \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®