Skip to contentSkip to conversation

bus: mhi: host: pci_generic: Add support for Dell DW5932e

PATCH Applied Slark Xiao 3 participants 4 messages Jul 12, 2023

Subsystems (2)
lore
Share & tools
lore

Slark Xiao

author
#0 lore raw

PATCH 1/1 bus: mhi: host: pci_generic: Add support for Dell DW5932e

The DW5932e has 2 variants: eSIM(DW5932e-eSIM) and non-eSIM(DW5932e). Both of them are designed based on Qualcomm SDX62 and it will align with the Foxconn sdx65 settings.

---
 drivers/bus/mhi/host/pci_generic.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/bus/mhi/host/pci_generic.c +6 -0
index 9ca0dc3a3bfe..07172789b197 100644
@@ -625,6 +625,12 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* T99W510 (sdx24), variant 3 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f2),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info },
+	/* DW5932e-eSIM (sdx62), With eSIM */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f5),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
+	/* DW5932e (sdx62), Non-eSIM*/
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f9),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
Signature · 1 line
2.25.1
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Slark Xiao
Quoted 5 lines · Slark Xiao

The DW5932e has 2 variants: eSIM(DW5932e-eSIM) and non-eSIM(DW5932e). Both of them are designed based on Qualcomm SDX62 and it will align with the Foxconn sdx65 settings.

One nit below but I will fix that while applying.

Quoted 9 lines
---
 drivers/bus/mhi/host/pci_generic.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/bus/mhi/host/pci_generic.c +0 -0
index 9ca0dc3a3bfe..07172789b197 100644

drivers/bus/mhi/host/pci_generic.c static const struct pci_device_id mhi_pci_id_table[] = { · line 631

Quoted 7 lines
drivers/bus/mhi/host/pci_generic.c +4 -0
@@ -625,6 +625,12 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* T99W510 (sdx24), variant 3 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f2),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info },
+	/* DW5932e-eSIM (sdx62), With eSIM */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f5),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
+	/* DW5932e (sdx62), Non-eSIM*/

Space required before */

- Mani

Quoted 8 lines
drivers/bus/mhi/host/pci_generic.c +2 -0
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f9),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
Signature · 1 line
2.25.1
Signature · 1 line
மணிவண்ணன் சதாசிவம்
maintainer Applied
#3 lore raw
In reply to Slark Xiao
Quoted 5 lines · Slark Xiao

The DW5932e has 2 variants: eSIM(DW5932e-eSIM) and non-eSIM(DW5932e). Both of them are designed based on Qualcomm SDX62 and it will align with the Foxconn sdx65 settings.

Applied to mhi-next!

- Mani

Quoted 24 lines
---
 drivers/bus/mhi/host/pci_generic.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/bus/mhi/host/pci_generic.c +6 -0
index 9ca0dc3a3bfe..07172789b197 100644
@@ -625,6 +625,12 @@ static const struct pci_device_id mhi_pci_id_table[] = {
 	/* T99W510 (sdx24), variant 3 */
 	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f2),
 		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info },
+	/* DW5932e-eSIM (sdx62), With eSIM */
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f5),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
+	/* DW5932e (sdx62), Non-eSIM*/
+	{ PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f9),
+		.driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
 	/* MV31-W (Cinterion) */
 	{ PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3),
 		.driver_data = (kernel_ulong_t) &mhi_mv31_info },
Signature · 1 line
2.25.1
Signature · 1 line
மணிவண்ணன் சதாசிவம்