Skip to contentSkip to conversation

usb: typec: ucsi: glink: increase max ports for x1e80100

PATCH In review Johan Hovold 4 participants 4 messages Jun 3, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: typec: ucsi: glink: increase max ports for x1e80100

The new X Elite (x1e80100) platform has three ports so increase the maximum so that all ports can be registered.

---
 drivers/usb/typec/ucsi/ucsi_glink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/ucsi/ucsi_glink.c +1 -1
index f7546bb488c3..985a880e86da 100644
@@ -14,7 +14,7 @@
 #include <linux/soc/qcom/pmic_glink.h>
 #include "ucsi.h"
 
-#define PMIC_GLINK_MAX_PORTS	2
+#define PMIC_GLINK_MAX_PORTS		3
 
 #define UCSI_BUF_SIZE                   48
 
Signature · 1 line
2.44.1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Johan Hovold
Quoted 4 lines · Johan Hovold

The new X Elite (x1e80100) platform has three ports so increase the maximum so that all ports can be registered.

Quoted 20 lines
---
 drivers/usb/typec/ucsi/ucsi_glink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/ucsi/ucsi_glink.c +1 -1
index f7546bb488c3..985a880e86da 100644
@@ -14,7 +14,7 @@
 #include <linux/soc/qcom/pmic_glink.h>
 #include "ucsi.h"
 
-#define PMIC_GLINK_MAX_PORTS	2
+#define PMIC_GLINK_MAX_PORTS		3
 
 #define UCSI_BUF_SIZE                   48
 
Signature · 1 line
2.44.1
maintainer Reviewed-by on v1 1/1
#3 lore raw
In reply to Johan Hovold
Quoted 4 lines · Johan Hovold

The new X Elite (x1e80100) platform has three ports so increase the maximum so that all ports can be registered.

Quoted 19 lines
---
 drivers/usb/typec/ucsi/ucsi_glink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/ucsi/ucsi_glink.c +1 -1
index f7546bb488c3..985a880e86da 100644
@@ -14,7 +14,7 @@
 #include <linux/soc/qcom/pmic_glink.h>
 #include "ucsi.h"
 
-#define PMIC_GLINK_MAX_PORTS	2
+#define PMIC_GLINK_MAX_PORTS		3
 
 #define UCSI_BUF_SIZE                   48
 
Signature · 1 line
2.44.1
Signature · 1 line
heikki