]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Documentation: laptops: Update documentation for uniwill laptops
authorWerner Sembach <wse@tuxedocomputers.com>
Tue, 24 Mar 2026 20:32:12 +0000 (21:32 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 31 Mar 2026 14:27:32 +0000 (17:27 +0300)
Adds short description for two new sysfs entries, ctgp_offset and
usb_c_power_priority, to the documentation of uniwill laptops.

Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Link: https://patch.msgid.link/20260324203413.454361-6-wse@tuxedocomputers.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Documentation/ABI/testing/sysfs-driver-uniwill-laptop
Documentation/admin-guide/laptops/uniwill-laptop.rst

index 2df70792968f317ea8641df5043cdc91a1c8be56..2397c65c969a67a636e6e9761fdc5cd302e78a06 100644 (file)
@@ -51,3 +51,30 @@ Description:
 
                Reading this file returns the current status of the breathing animation
                functionality.
+
+What:          /sys/bus/platform/devices/INOU0000:XX/ctgp_offset
+Date:          January 2026
+KernelVersion: 7.0
+Contact:       Werner Sembach <wse@tuxedocomputers.com>
+Description:
+               Allows userspace applications to set the configurable TGP offset on top of the base
+               TGP. Base TGP and max TGP and therefore the max cTGP offset are device specific.
+               Note that setting the maximum cTGP leaves no window open for Dynamic Boost as
+               Dynamic Boost also can not go over max TGP. Setting the cTGP to maximum is
+               effectively disabling Dynamic Boost and telling the device to always prioritize the
+               GPU over the CPU.
+
+               Reading this file returns the current configurable TGP offset.
+
+What:          /sys/bus/platform/devices/INOU0000:XX/usb_c_power_priority
+Date:          February 2026
+KernelVersion: 7.1
+Contact:       Werner Sembach <wse@tuxedocomputers.com>
+Description:
+               Allows userspace applications to choose the USB-C power distribution profile between
+               one that offers a bigger share of the power to the battery and one that offers more
+               of it to the CPU. Writing "charging"/"performance" into this file selects the
+               respective profile.
+
+               Reading this file returns the profile names with the currently active one in
+               brackets.
index aff5f57a6bd47b331a68b5102555b5e85b25a4d1..561334865feb7e9228aace1a8416951445f3c206 100644 (file)
@@ -50,6 +50,10 @@ between 1 and 100 percent are supported.
 Additionally the driver signals the presence of battery charging issues through the standard
 ``health`` power supply sysfs attribute.
 
+It also lets you set whether a USB-C power source should prioritise charging the battery or
+delivering immediate power to the cpu. See Documentation/ABI/testing/sysfs-driver-uniwill-laptop for
+details.
+
 Lightbar
 --------
 
@@ -58,3 +62,11 @@ LED class device. The default name of this LED class device is ``uniwill:multico
 
 See Documentation/ABI/testing/sysfs-driver-uniwill-laptop for details on how to control the various
 animation modes of the lightbar.
+
+Configurable TGP
+----------------
+
+The ``uniwill-laptop`` driver allows to set the configurable TGP for devices with NVIDIA GPUs that
+allow it.
+
+See Documentation/ABI/testing/sysfs-driver-uniwill-laptop for details.