ath79: add support for Huawei AP5030DN
[openwrt/openwrt.git] / target / linux / generic / backport-6.1 / 858-v6.6-bus-mhi-host-pci_generic-Add-support-for-Dell-DW5932.patch
1 From 5e20ac8e7d3221e079e87066c4e8f4b64bd58ccb Mon Sep 17 00:00:00 2001
2 From: Slark Xiao <slark_xiao@163.com>
3 Date: Wed, 12 Jul 2023 16:37:41 +0800
4 Subject: [PATCH 09/13] bus: mhi: host: pci_generic: Add support for Dell
5 DW5932e
6
7 The DW5932e has 2 variants: eSIM(DW5932e-eSIM) and non-eSIM(DW5932e).
8 Both of them are designed based on Qualcomm SDX62 and it will
9 align with the Foxconn sdx65 settings.
10
11 Signed-off-by: Slark Xiao <slark_xiao@163.com>
12 Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
13 Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
14 Link: https://lore.kernel.org/r/20230712083741.7615-1-slark_xiao@163.com
15 Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
16 ---
17 drivers/bus/mhi/host/pci_generic.c | 6 ++++++
18 1 file changed, 6 insertions(+)
19
20 --- a/drivers/bus/mhi/host/pci_generic.c
21 +++ b/drivers/bus/mhi/host/pci_generic.c
22 @@ -638,6 +638,12 @@ static const struct pci_device_id mhi_pc
23 /* T99W510 (sdx24), variant 3 */
24 { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f2),
25 .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx24_info },
26 + /* DW5932e-eSIM (sdx62), With eSIM */
27 + { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f5),
28 + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
29 + /* DW5932e (sdx62), Non-eSIM */
30 + { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe0f9),
31 + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx65_info },
32 /* MV31-W (Cinterion) */
33 { PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3),
34 .driver_data = (kernel_ulong_t) &mhi_mv31_info },