[RFC PATCH 0/2] platform/x86: uniwill-laptop: Introduce device descriptor system

From: Werner Sembach
Date: Tue Nov 25 2025 - 08:58:39 EST


The first patch of this RFC is based on a PoC by Armin and extended the be able
to modify feature bits based on readouts from the EC Memory.

The 2nd patch is a new feature that requires such a modification.

Armin what do you think? Is this a clean approach? Technically the feature bits
can be modified arbitrarily, but it should only ever be accessed by the slightly
modified getter method, so the risk should be very minimal.

I wonder if the static device_descriptor variable can somehow be skipped, but it
doesn't bother to have it there either IMHO.

Armin Wolf (1):
platform/x86: uniwill-laptop: Introduce device descriptor system

Werner Sembach (1):
platform/x86/uniwill: Implement cTGP setting

drivers/platform/x86/uniwill/uniwill-acpi.c | 269 +++++++++++++++++---
1 file changed, 240 insertions(+), 29 deletions(-)

--
2.43.0