]> www.infradead.org Git - users/willy/xarray.git/commitdiff
usb: typec: ucsi_glink: drop NO_PARTNER_PDOS quirk for sm8550 / sm8650
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 8 Apr 2024 01:04:16 +0000 (04:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 15:38:58 +0000 (17:38 +0200)
The Qualcomm SM8550 (and via a fallback compat SM8650) firmware properly
handles the GET_PDOS command, it sends the CCI_BUSY notification,
and then follows with the CCI_COMMAND_COMPLETE event. Stop using the quirk
for those two platforms.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240408-qcom-ucsi-fixes-bis-v1-2-716c145ca4b1@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_glink.c

index 9bd80a2218e4e79aa7caa316dfffdfdcf9e7a739..9ffea20020e73c77e144fdcea1778a67455b973a 100644 (file)
@@ -321,7 +321,7 @@ static const struct of_device_id pmic_glink_ucsi_of_quirks[] = {
        { .compatible = "qcom,sc8280xp-pmic-glink", .data = &quirk_sc8280xp, },
        { .compatible = "qcom,sm8350-pmic-glink", .data = &quirk_sc8180x, },
        { .compatible = "qcom,sm8450-pmic-glink", .data = &quirk_sm8450, },
-       { .compatible = "qcom,sm8550-pmic-glink", .data = &quirk_sc8280xp, },
+       { .compatible = "qcom,sm8550-pmic-glink", .data = &quirk_sm8450, },
        {}
 };