From nobody Sun Apr 5 16:29:43 2026 Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9A69396566; Tue, 24 Mar 2026 18:04:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=157.90.84.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774375488; cv=none; b=sNj43gGpVzFhifjcZNqTJnRJs/pHtUets25sZ93Ayt2/jGAUgOyUFU+NoGT4EEM9dQtNMSFXmcLHjIIeCqj2t0iWDLsg4kAr+t4W3c+e7/qyJx9RgCyolv+p/m7xc4soJWLN+gus0ACtrTKilEx/MbbD8CtxhBksRhyO42x8J/I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774375488; c=relaxed/simple; bh=uk5ksVFtS2spYqX2rJTpinm0RDr5ENjLVeuaQXLj+Gc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cKF+Ga+2txH9DWJ0OKidI46cR9ZbiWXPuj+ZSddDcSNF71hBL+ISDHDcoBw6+PY1YWea7yK0Igxy2zdQzVPhGJ9XXMhbRyHKaQB4vHKu6E+9QHoK3m0R8TrnRq0btW4Is5XTCzoeJZrDDg6oowD3itCjfbWrVKAApK/Fp5r9KVI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com; spf=pass smtp.mailfrom=tuxedocomputers.com; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b=VkZJgeuj; arc=none smtp.client-ip=157.90.84.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxedocomputers.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b="VkZJgeuj" Received: from wse-pc.fritz.box (i5C75F50F.versanet.de [92.117.245.15]) (Authenticated sender: wse@tuxedocomputers.com) by mail.tuxedocomputers.com (Postfix) with ESMTPA id 06BD32FC021D; Tue, 24 Mar 2026 19:04:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1774375485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aV5jlB/nShj+Fq2WN4nTiZNabEX3FkzI+uXE9kXBcZw=; b=VkZJgeujmPJIPMabpUgCniZJn2NoJP9sn99AhL2xaa+CBq+TN1F/eYz7z3smjfeYlrwcIS N95EmsgpgJ8ZSWB7LS7FRrvfaYqS53m5tE3QLGudM1YmtMnxmNUVyIHQpHEzNBsANq7WGP bVCyKrJnAx7ZaNR4hmDsSJG8sbFSGtE= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com From: Werner Sembach To: W_Armin@gmx.de, hansg@kernel.org, ilpo.jarvinen@linux.intel.com, Jonathan Corbet , Shuah Khan Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Werner Sembach , linux-doc@vger.kernel.org Subject: [PATCH v7 5/5] Documentation: laptops: Update documentation for uniwill laptops Date: Tue, 24 Mar 2026 19:02:40 +0100 Message-ID: <20260324180437.69594-6-wse@tuxedocomputers.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260324180437.69594-1-wse@tuxedocomputers.com> References: <20260324180437.69594-1-wse@tuxedocomputers.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Adds short description for two new sysfs entries, ctgp_offset and usb_c_power_priority, to the documentation of uniwill laptops. Signed-off-by: Werner Sembach Reviewed-by: Armin Wolf --- .../ABI/testing/sysfs-driver-uniwill-laptop | 25 +++++++++++++++++++ .../admin-guide/laptops/uniwill-laptop.rst | 12 +++++++++ 2 files changed, 37 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-driver-uniwill-laptop b/Docume= ntation/ABI/testing/sysfs-driver-uniwill-laptop index 2df70792968f3..cba4138604601 100644 --- a/Documentation/ABI/testing/sysfs-driver-uniwill-laptop +++ b/Documentation/ABI/testing/sysfs-driver-uniwill-laptop @@ -51,3 +51,28 @@ Description: =20 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 +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 s= pecific. + Note that setting the maximal cTGP leaves no window open for Dynamic Boo= st, + effectively disabling that feature for the GPU to always be prioritized. + + 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 +Description: + Allows userspace applications to choose the USB-C power distribution pro= file 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 select= s the + respective profile. + + Reading this file returns the profile names with the currently active on= e in + brackets. diff --git a/Documentation/admin-guide/laptops/uniwill-laptop.rst b/Documen= tation/admin-guide/laptops/uniwill-laptop.rst index aff5f57a6bd47..561334865feb7 100644 --- a/Documentation/admin-guide/laptops/uniwill-laptop.rst +++ b/Documentation/admin-guide/laptops/uniwill-laptop.rst @@ -50,6 +50,10 @@ between 1 and 100 percent are supported. Additionally the driver signals the presence of battery charging issues th= rough the standard ``health`` power supply sysfs attribute. =20 +It also lets you set whether a USB-C power source should prioritise chargi= ng the battery or +delivering immediate power to the cpu. See Documentation/ABI/testing/sysfs= -driver-uniwill-laptop for +details. + Lightbar -------- =20 @@ -58,3 +62,11 @@ LED class device. The default name of this LED class dev= ice is ``uniwill:multico =20 See Documentation/ABI/testing/sysfs-driver-uniwill-laptop for details on h= ow to control the various animation modes of the lightbar. + +Configurable TGP +---------------- + +The ``uniwill-laptop`` driver allows to set the configurable TGP for devic= es with NVIDIA GPUs that +allow it. + +See Documentation/ABI/testing/sysfs-driver-uniwill-laptop for details. --=20 2.43.0