summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorPannarat Wiriyaarritham <pannarat.wiriyaarritham@danielcorp.dev>2026-09-10 09:33:37 +0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-11 14:45:07 +0200
commit8c51ea651d043c786c37668c51624bd6b338a0ef (patch)
treece06ee9ce41002f2bddfcb347d57ff356422a5f0 /tools/lib/python
parent2077aaac93c166211cda020680015f01e3ce3ec1 (diff)
downloadlinux-next-8c51ea651d043c786c37668c51624bd6b338a0ef.tar.gz
linux-next-8c51ea651d043c786c37668c51624bd6b338a0ef.zip
usb: typec: ucsi: acpi: Assume UCSI 1.2 on Acer Nitro ANV15-41
The Acer Nitro ANV15-41 exposes a functional UCSI ACPI PPM but reports a UCSI VERSION value of zero. ucsi_register() rejects a zero version with -ENODEV, leaving the system without registered USB Type-C connectors. The PPM works correctly when using the UCSI 1.2 layout. With UCSI 1.2 assumed, both Type-C connectors register correctly and USB Power Delivery negotiation works. Add a DMI-specific UCSI operation for the Acer Nitro ANV15-41 that substitutes UCSI 1.2 only when firmware reports a zero version. Preserve any valid non-zero firmware version. Tested on an Acer Nitro ANV15-41 with BIOS V1.51. Fixes: c1b0bc2dabfa ("usb: typec: Add support for UCSI interface") Cc: stable <stable@kernel.org> Assisted-by: LLM Signed-off-by: Pannarat Wiriyaarritham <pannarat.wiriyaarritham@danielcorp.dev> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://patch.msgid.link/20260910023338.31816-1-pannarat.wiriyaarritham@danielcorp.dev Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions