mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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: 3f91a0bf4a
("soc: qcom: pmic_glink: reenable UCSI on sc8280xp")
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240608114529.23060-1-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
1613e604df
commit
ad3dd9592b
@ -348,11 +348,15 @@ static void pmic_glink_remove(struct platform_device *pdev)
|
|||||||
mutex_unlock(&__pmic_glink_lock);
|
mutex_unlock(&__pmic_glink_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const unsigned long pmic_glink_sc8280xp_client_mask = BIT(PMIC_GLINK_CLIENT_BATT) |
|
||||||
|
BIT(PMIC_GLINK_CLIENT_ALTMODE);
|
||||||
|
|
||||||
static const unsigned long pmic_glink_sm8450_client_mask = BIT(PMIC_GLINK_CLIENT_BATT) |
|
static const unsigned long pmic_glink_sm8450_client_mask = BIT(PMIC_GLINK_CLIENT_BATT) |
|
||||||
BIT(PMIC_GLINK_CLIENT_ALTMODE) |
|
BIT(PMIC_GLINK_CLIENT_ALTMODE) |
|
||||||
BIT(PMIC_GLINK_CLIENT_UCSI);
|
BIT(PMIC_GLINK_CLIENT_UCSI);
|
||||||
|
|
||||||
static const struct of_device_id pmic_glink_of_match[] = {
|
static const struct of_device_id pmic_glink_of_match[] = {
|
||||||
|
{ .compatible = "qcom,sc8280xp-pmic-glink", .data = &pmic_glink_sc8280xp_client_mask },
|
||||||
{ .compatible = "qcom,pmic-glink", .data = &pmic_glink_sm8450_client_mask },
|
{ .compatible = "qcom,pmic-glink", .data = &pmic_glink_sm8450_client_mask },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user