platform/x86: bitland-mifs-wmi: add TM2309 profile support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | platform/x86: bitland-mifs-wmi: add profile support for Xiaomi TM2309drivers/ | +23 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] platform/x86: bitland-mifs-wmi: add TM2309 profile support
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
Signature · 1 line
2.56.1