[PATCH v2 1/3] soc: qcom: pmic_glink: enable UCSI for SM8350
From: Xilin Wu via B4 Relay
Date: Sat Oct 21 2023 - 06:20:55 EST
From: Xilin Wu <wuxilin123@xxxxxxxxx>
UCSI is supported on SM8350. Allow it to enable USB role switch and
altmode notifications on SM8350.
Signed-off-by: Xilin Wu <wuxilin123@xxxxxxxxx>
---
drivers/soc/qcom/pmic_glink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/qcom/pmic_glink.c b/drivers/soc/qcom/pmic_glink.c
index 914057331afd..1196e79e6fb3 100644
--- a/drivers/soc/qcom/pmic_glink.c
+++ b/drivers/soc/qcom/pmic_glink.c
@@ -341,6 +341,7 @@ static const unsigned long pmic_glink_sm8450_client_mask = BIT(PMIC_GLINK_CLIENT
BIT(PMIC_GLINK_CLIENT_UCSI);
static const struct of_device_id pmic_glink_of_match[] = {
+ { .compatible = "qcom,sm8350-pmic-glink", .data = &pmic_glink_sm8450_client_mask },
{ .compatible = "qcom,sm8450-pmic-glink", .data = &pmic_glink_sm8450_client_mask },
{ .compatible = "qcom,sm8550-pmic-glink", .data = &pmic_glink_sm8450_client_mask },
{ .compatible = "qcom,pmic-glink" },
--
2.42.0