usb: typec: ucsi_glink: enable the UCSI_DELAY_DEVICE_PDOS quirk
Enable the UCSI_DELAY_DEVICE_PDOS quirk on anything past sc8180x / sm8350. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20240329-qcom-ucsi-fixes-v2-9-0f5d37ed04db@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3f81cf54c1
commit
5da727f758
1 changed files with 5 additions and 2 deletions
|
@ -312,13 +312,16 @@ static void pmic_glink_ucsi_destroy(void *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned long quirk_sc8180x = UCSI_NO_PARTNER_PDOS;
|
static unsigned long quirk_sc8180x = UCSI_NO_PARTNER_PDOS;
|
||||||
|
static unsigned long quirk_sc8280xp = UCSI_NO_PARTNER_PDOS | UCSI_DELAY_DEVICE_PDOS;
|
||||||
|
static unsigned long quirk_sm8450 = UCSI_DELAY_DEVICE_PDOS;
|
||||||
|
|
||||||
static const struct of_device_id pmic_glink_ucsi_of_quirks[] = {
|
static const struct of_device_id pmic_glink_ucsi_of_quirks[] = {
|
||||||
{ .compatible = "qcom,qcm6490-pmic-glink", .data = &quirk_sc8180x, },
|
{ .compatible = "qcom,qcm6490-pmic-glink", .data = &quirk_sc8180x, },
|
||||||
{ .compatible = "qcom,sc8180x-pmic-glink", .data = &quirk_sc8180x, },
|
{ .compatible = "qcom,sc8180x-pmic-glink", .data = &quirk_sc8180x, },
|
||||||
{ .compatible = "qcom,sc8280xp-pmic-glink", .data = &quirk_sc8180x, },
|
{ .compatible = "qcom,sc8280xp-pmic-glink", .data = &quirk_sc8280xp, },
|
||||||
{ .compatible = "qcom,sm8350-pmic-glink", .data = &quirk_sc8180x, },
|
{ .compatible = "qcom,sm8350-pmic-glink", .data = &quirk_sc8180x, },
|
||||||
{ .compatible = "qcom,sm8550-pmic-glink", .data = &quirk_sc8180x, },
|
{ .compatible = "qcom,sm8450-pmic-glink", .data = &quirk_sm8450, },
|
||||||
|
{ .compatible = "qcom,sm8550-pmic-glink", .data = &quirk_sc8280xp, },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue