]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: uniwill-laptop: Implement USB-C power priority setting
authorWerner Sembach <wse@tuxedocomputers.com>
Tue, 24 Mar 2026 20:32:09 +0000 (21:32 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 31 Mar 2026 14:27:26 +0000 (17:27 +0300)
commit03ae0a0d0973b9e584a05136aab08fee2ef8e455
tree04b8931f8590a0f3290af36189d7685b57e1998f
parentf3660b13495ae47d0ab2755a7b32999fb718ee5c
platform/x86: uniwill-laptop: Implement USB-C power priority setting

On some devices Uniwill offers the option to set the USB-C port to
prioritise charging or performance. This patch exposes this setting to the
userspace via sysfs for all TUXEDO devices supporting it.

Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Link: https://patch.msgid.link/20260324203413.454361-3-wse@tuxedocomputers.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/uniwill/uniwill-acpi.c