Skip to contentSkip to conversation

bus: mhi: pci_generic: Add new device ID support for T99W175

PATCH Superseded Slark Xiao 2 participants 5 messages Oct 28, 2021 – Nov 2, 2021

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Slark Xiao

author
#0 lore raw

PATCH 1/1 bus: mhi: pci_generic: Add new device ID support for T99W175

Add new device ID 0xe0bf for T99W175.

Test evidence as below:

root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
[2] 2977
root@jbd-ThinkPad-P1-Gen-4:/dev# ati
Manufacturer: Qualcomm
Model: T99W175
Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
IMEI:
+GCAP: +CGSM

OK

---
 drivers/bus/mhi/pci_generic.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bus/mhi/pci_generic.c +3 -0
index 59a4896a8030..566483dc15db 100644
@@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
+	/* T99W175 (sdx55) */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(0x1269, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
Signature · 1 line
2.25.1
#1 lore raw

Hi,

Quoted 2 lines · Slark Xiao

Add new device ID 0xe0bf for T99W175.

Thanks for the patch! Can you share the difference between this modem and the one (T99W175) we already have with PID 0xe0ab?

Please include the product page in description if any.

Thanks,
Mani

Quoted 36 lines

Test evidence as below:

root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
[2] 2977
root@jbd-ThinkPad-P1-Gen-4:/dev# ati
Manufacturer: Qualcomm
Model: T99W175
Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
IMEI:
+GCAP: +CGSM

OK

---
 drivers/bus/mhi/pci_generic.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bus/mhi/pci_generic.c +3 -0
index 59a4896a8030..566483dc15db 100644
@@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
+	/* T99W175 (sdx55) */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(0x1269, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
Signature · 1 line
2.25.1
author
#2 lore raw
Quoted 6 lines · Manivannan Sadhasivam

Hi,

Quoted 2 lines · Slark Xiao

Add new device ID 0xe0bf for T99W175.

Quoted 8 lines

Thanks for the patch! Can you share the difference between this modem and the one (T99W175) we already have with PID 0xe0ab?

Please include the product page in description if any.

Thanks,
Mani

Hi Mani,
Thanks for this review.
Actually this product(SDX55/0xe0bf) is using Qualcomm SDX55 new baseline(LE1.4),
and previous T99W175/0xe0ab is using original base line(LE1.2).
Our customer wants us to use different device ID to separate from each other. Currently we don't have product page as our customer's new product is not released.

Thanks
Slark

Quoted 36 lines
Quoted 36 lines

Test evidence as below:

root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
[2] 2977
root@jbd-ThinkPad-P1-Gen-4:/dev# ati
Manufacturer: Qualcomm
Model: T99W175
Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
IMEI:
+GCAP: +CGSM

OK

---
 drivers/bus/mhi/pci_generic.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bus/mhi/pci_generic.c +3 -0
index 59a4896a8030..566483dc15db 100644
@@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
+	/* T99W175 (sdx55) */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(0x1269, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
Signature · 1 line
2.25.1
#3 lore raw
Quoted 17 lines · Slark Xiao
Quoted 6 lines · Manivannan Sadhasivam

Hi,

Quoted 2 lines · Slark Xiao

Add new device ID 0xe0bf for T99W175.

Quoted 8 lines

Thanks for the patch! Can you share the difference between this modem and the one (T99W175) we already have with PID 0xe0ab?

Please include the product page in description if any.

Thanks,
Mani

Quoted 7 lines

Hi Mani,
Thanks for this review.
Actually this product(SDX55/0xe0bf) is using Qualcomm SDX55 new baseline(LE1.4),
and previous T99W175/0xe0ab is using original base line(LE1.2).
Our customer wants us to use different device ID to separate from each other. Currently we don't have product page as our customer's new product is not released.

Thanks for the explanation. Please send v2 adding the baseline info in commit description.

Thanks,
Mani

Quoted 38 lines

Thanks
Slark

Quoted 36 lines
Quoted 36 lines

Test evidence as below:

root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
[2] 2977
root@jbd-ThinkPad-P1-Gen-4:/dev# ati
Manufacturer: Qualcomm
Model: T99W175
Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
IMEI:
+GCAP: +CGSM

OK

---
 drivers/bus/mhi/pci_generic.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bus/mhi/pci_generic.c +3 -0
index 59a4896a8030..566483dc15db 100644
@@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
+	/* T99W175 (sdx55) */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(0x1269, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
Signature · 1 line
2.25.1
author
#4 lore raw
Quoted 26 lines · Manivannan Sadhasivam
Quoted 17 lines · Slark Xiao
Quoted 6 lines · Manivannan Sadhasivam

Hi,

Quoted 2 lines · Slark Xiao

Add new device ID 0xe0bf for T99W175.

Quoted 8 lines

Thanks for the patch! Can you share the difference between this modem and the one (T99W175) we already have with PID 0xe0ab?

Please include the product page in description if any.

Thanks,
Mani

Quoted 7 lines

Hi Mani,
Thanks for this review.
Actually this product(SDX55/0xe0bf) is using Qualcomm SDX55 new baseline(LE1.4),
and previous T99W175/0xe0ab is using original base line(LE1.2).
Our customer wants us to use different device ID to separate from each other. Currently we don't have product page as our customer's new product is not released.

Quoted 6 lines

Thanks for the explanation. Please send v2 adding the baseline info in commit description.

Thanks,
Mani

Hi Mani,
I have sent V2 several days ago . Please take a look on that.
Ref link: https://lore.kernel.org/lkml/[email protected]/

Thanks!
Slark

Quoted 36 lines
Quoted 36 lines
Quoted 36 lines
Quoted 36 lines

Test evidence as below:

root@jbd-ThinkPad-P1-Gen-4:/dev# lspci -nn | grep Foxconn
0000:08:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device [105b:e0bf]
root@jbd-ThinkPad-P1-Gen-4:/dev# cat wwan0at0 & echo -ne "ati\r" > wwan0at0
[2] 2977
root@jbd-ThinkPad-P1-Gen-4:/dev# ati
Manufacturer: Qualcomm
Model: T99W175
Revision: T99W175.F0.6.0.0.6.CC.005  1  [Oct 21 2021 10:00:00]
IMEI:
+GCAP: +CGSM

OK

---
 drivers/bus/mhi/pci_generic.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/bus/mhi/pci_generic.c +3 -0
index 59a4896a8030..566483dc15db 100644
@@ -423,6 +423,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* DW5930e (sdx55), Non-eSIM, It's also T99W175 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0b1),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
+	/* T99W175 (sdx55) */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0bf),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(0x1269, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
Signature · 1 line
2.25.1