From: Martiya Aryan Mehr <martiya.ar@gmail.com>
To: platform-driver-x86@vger.kernel.org
Cc: qby140326@gmail.com, ilya.gladyshev@linux.dev, hansg@kernel.org,
ilpo.jarvinen@linux.intel.com
Subject: [PATCH 0/1] platform/x86: bitland-mifs-wmi: add TM2309 profile support
Date: Sun, 22 Nov 2026 20:06:57 +0330 [thread overview]
Message-ID: <20261122163658.23920-1-Martiya.ar@gmail.com> (raw)
Add platform profile support for the Xiaomi Redmi Book Pro 16 2024
(TM2309) using its firmware QFAN values:
QFAN 2: low-power
QFAN 1: balanced
QFAN 3: performance
QFAN 4: max-power
The firmware can report QFAN 0 as a stale balanced state after
resume. The entry maps it to balanced for readback but marks it
non-settable, ensuring that selecting balanced writes QFAN 1.
A battery-specific performance entry keeps performance selectable
on battery. The AC-type check is skipped because this firmware
does not implement that WMI function.
Testing:
- Exercised the profile/QFAN mappings on TM2309 using the local
development driver. That build contains additional local changes;
this exact standalone patch was not independently loaded.
- Built both patched and unmodified bitland-mifs-wmi.o against
linux-next-20261120. Both builds completed without warnings.
- Full module link/modpost and runtime testing of this exact
standalone patch have not been performed.
AI assistance:
ChatGPT (GPT-6) assisted with source analysis, interpretation of
firmware observations, drafting the profile table and DMI match,
and preparation of the changelog. The submitter reviewed the
resulting changes and performed the hardware and build tests.
Martiya Aryan Mehr (1):
platform/x86: bitland-mifs-wmi: add profile support for Xiaomi TM2309
drivers/platform/x86/bitland-mifs-wmi.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
base-commit: 2268d837dea13a78639fa3dad60472bb67478709
--
2.56.1
next reply other threads:[~2026-11-22 16:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 16:36 Martiya Aryan Mehr [this message]
2026-11-22 16:36 ` [PATCH 1/1] platform/x86: bitland-mifs-wmi: add profile support for Xiaomi TM2309 Martiya Aryan Mehr
2026-11-23 9:34 ` Ilpo Järvinen
2026-11-25 22:33 ` [PATCH v2 " Martiya Aryan Mehr
2026-12-01 14:50 ` Ilpo Järvinen
[not found] ` <CAM-sYPo2Anvt1=6FSTBrYHJyUu6EK68ebvniGD986NFROShO9w@mail.gmail.com>
2026-12-01 15:44 ` Martiya Aryan Mehr
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=20261122163658.23920-1-Martiya.ar@gmail.com \
--to=martiya.ar@gmail.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=ilya.gladyshev@linux.dev \
--cc=platform-driver-x86@vger.kernel.org \
--cc=qby140326@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.