soc: qcom: pmic_glink: Increase max ports to 3
authorAbel Vesa <abel.vesa@linaro.org>
Mon, 27 May 2024 08:16:01 +0000 (11:16 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 May 2024 15:42:15 +0000 (10:42 -0500)
Up until now, all Qualcomm platforms only had maximum 2 ports. The X Elite
(x1e80100) adds a third one. Increase the maximum allowed to 3.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240527-x1e80100-soc-qcom-pmic-glink-v1-1-e5c4cda2f745@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/pmic_glink_altmode.c

index b3808fc..1e0808b 100644 (file)
@@ -20,7 +20,7 @@
 
 #include <linux/soc/qcom/pmic_glink.h>
 
-#define PMIC_GLINK_MAX_PORTS   2
+#define PMIC_GLINK_MAX_PORTS   3
 
 #define USBC_SC8180X_NOTIFY_IND        0x13
 #define USBC_CMD_WRITE_REQ      0x15