mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mohamed Jouini <amad3v@gmail.com>
To: "Armin Wolf" <W_Armin@gmx.de>, "Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org, Mohamed Jouini <amad3v@gmail.com>
Subject: [PATCH 0/3] platform/x86: uniwill-laptop: Support the PCSpecialist Recoil 16 AMD
Date: Fri, 25 Sep 2026 22:16:32 +0100	[thread overview]
Message-ID: <20260925211635.1422516-1-amad3v@gmail.com> (raw)

The PCSpecialist Recoil 16 AMD is a rebadged TUXEDO Stellaris 16 Gen7 AMD
(board X6FR57TY), which the driver does not match today because of the
different DMI vendor and board name.

Patch 1 adds it, using the percentage charge limit rather than the
charging profiles: on this firmware the "balanced" profile does not limit
charging, while EC_ADDR_CHARGE_CTRL does and is reported by _BST.

Patch 2 adds platform profile support for the three firmware power modes
("office", "balance", "turbo") in EC_ADDR_MANUAL_FAN_CTRL, and handles the
mode key. Writing the mode makes the EC apply it fully (mode LED, NVIDIA
Dynamic Boost/TPP limits, _Q88 notification). It is only enabled for the
Recoil 16 for now, but the same register layout is probably present on
other Uniwill models.

Patch 3 maps the "Sc" key (WMI event 0xD0) to KEY_ROTATE_DISPLAY.

Tested on the Recoil 16 AMD (BIOS N.1.39PCS10), with the driver from
this series built against 7.2.6: platform profile from
power-profiles-daemon and the mode key (LED colour and GPU power limits
follow), the Sc key, Fn lock and Super key lock, hwmon, the charge limit
attribute, and the AC auto-boot / USB powershare attributes (read only).
With the same changes on top of the 7.2 driver, charging also stopped at
the configured limit with _BST reporting "Not charging".

Mohamed Jouini (3):
  platform/x86: uniwill-laptop: Add PCSpecialist Recoil 16 AMD
  platform/x86: uniwill-laptop: Add platform profile support
  platform/x86: uniwill-laptop: Map the screen rotation key

 drivers/platform/x86/uniwill/uniwill-acpi.c | 155 ++++++++++++++++++++
 drivers/platform/x86/uniwill/uniwill-wmi.h  |   3 +
 2 files changed, 158 insertions(+)


base-commit: f475845eaf3d749114a63270bf2efea459e14dd2
-- 
2.55.0


             reply	other threads:[~2026-09-25 21:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-25 21:16 Mohamed Jouini [this message]
2026-09-25 21:16 ` [PATCH 1/3] platform/x86: uniwill-laptop: Add " Mohamed Jouini
2026-09-25 23:44   ` Armin Wolf
2026-09-26  0:24     ` Am Dev
2026-09-25 21:16 ` [PATCH 2/3] platform/x86: uniwill-laptop: Add platform profile support Mohamed Jouini
2026-09-25 23:54   ` Armin Wolf
2026-09-26  0:33     ` Am Dev
2026-09-25 21:16 ` [PATCH 3/3] platform/x86: uniwill-laptop: Map the screen rotation key Mohamed Jouini
2026-09-25 23:52   ` Armin Wolf

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=20260925211635.1422516-1-amad3v@gmail.com \
    --to=amad3v@gmail.com \
    --cc=W_Armin@gmx.de \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --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®