Skip to content

Commit ad3dd95

Browse files
jhovoldandersson
authored andcommitted
soc: qcom: pmic_glink: disable UCSI on sc8280xp
Disconnecting an external display triggers a hypervisor reset on the Lenovo ThinkPad X13s since 6.10-rc1 which enabled UCSI. Disable it again until the regression has been fixed properly. Fixes: 3f91a0b ("soc: qcom: pmic_glink: reenable UCSI on sc8280xp") Cc: Dmitry Baryshkov <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 1613e60 commit ad3dd95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/soc/qcom/pmic_glink.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,15 @@ static void pmic_glink_remove(struct platform_device *pdev)
348348
mutex_unlock(&__pmic_glink_lock);
349349
}
350350

351+
static const unsigned long pmic_glink_sc8280xp_client_mask = BIT(PMIC_GLINK_CLIENT_BATT) |
352+
BIT(PMIC_GLINK_CLIENT_ALTMODE);
353+
351354
static const unsigned long pmic_glink_sm8450_client_mask = BIT(PMIC_GLINK_CLIENT_BATT) |
352355
BIT(PMIC_GLINK_CLIENT_ALTMODE) |
353356
BIT(PMIC_GLINK_CLIENT_UCSI);
354357

355358
static const struct of_device_id pmic_glink_of_match[] = {
359+
{ .compatible = "qcom,sc8280xp-pmic-glink", .data = &pmic_glink_sc8280xp_client_mask },
356360
{ .compatible = "qcom,pmic-glink", .data = &pmic_glink_sm8450_client_mask },
357361
{}
358362
};

0 commit comments

Comments
 (0)