]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soc: qcom: pmic_glink: enable UCSI on sc8280xp
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 26 Mar 2025 12:49:44 +0000 (13:49 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 7 May 2025 16:39:33 +0000 (09:39 -0700)
commit4d7ee0e277d4558ef025a5c4d6e1c7a8c8a1e68d
tree42d2ed91b60f33d4765cf8687fc78bd881a2f83f
parent56c8edc6eeaa16f777b1c030aad12e2e8da92104
soc: qcom: pmic_glink: enable UCSI on sc8280xp

Commit ad3dd9592b2a ("soc: qcom: pmic_glink: disable UCSI on sc8280xp")
disabled UCSI shortly after it had been enabled to fix a regression that
was observed on the Lenovo ThinkPad X13s.

Specifically, disconnecting an external display would trigger a system
error and hypervisor reset but no one cared enough to track down the bug
at the time.

The same issue was recently observed on X Elite machines, and commit
f47eba045e6c ("usb: typec: ucsi: Set orientation as none when connector
is unplugged") worked around the underlying issue by setting the
connector orientation to 'none' on disconnect events to avoid having the
PHY driver crash the machine in one orientation.

Enable UCSI support also on sc8280xp now that the DisplayPort disconnect
crashes are gone.

Cc: Abel Vesa <abel.vesa@linaro.org>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250326124944.6338-1-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/pmic_glink.c