Skip to content

Commit 7daada8

Browse files
superna9999andersson
authored andcommitted
soc: qcom: pmic_glink: enable altmode for SM8550
Altmode is also supported for SM8550, allow it. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20230601-topic-sm8550-upstream-type-c-v5-3-9221cd300903@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 0549bc3 commit 7daada8

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

drivers/soc/qcom/pmic_glink.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,13 +342,9 @@ static const unsigned long pmic_glink_sm8450_client_mask = BIT(PMIC_GLINK_CLIENT
342342
BIT(PMIC_GLINK_CLIENT_ALTMODE) |
343343
BIT(PMIC_GLINK_CLIENT_UCSI);
344344

345-
/* Do not handle altmode for now on those platforms */
346-
static const unsigned long pmic_glink_sm8550_client_mask = BIT(PMIC_GLINK_CLIENT_BATT) |
347-
BIT(PMIC_GLINK_CLIENT_UCSI);
348-
349345
static const struct of_device_id pmic_glink_of_match[] = {
350346
{ .compatible = "qcom,sm8450-pmic-glink", .data = &pmic_glink_sm8450_client_mask },
351-
{ .compatible = "qcom,sm8550-pmic-glink", .data = &pmic_glink_sm8550_client_mask },
347+
{ .compatible = "qcom,sm8550-pmic-glink", .data = &pmic_glink_sm8450_client_mask },
352348
{ .compatible = "qcom,pmic-glink" },
353349
{}
354350
};

0 commit comments

Comments
 (0)