1bf5196790b56a1834d426200aa1794f30303a0a
[openwrt/staging/ansuel.git] /
1 From a38a6e5d2dc41feeaa839cd61196f86c0ee223b8 Mon Sep 17 00:00:00 2001
2 From: Johan Hovold <johan+linaro@kernel.org>
3 Date: Fri, 4 Nov 2022 10:39:13 +0100
4 Subject: [PATCH 01/13] bus: mhi: host: pci_generic: add support for
5 sc8280xp-crd SDX55 variant
6
7 The SC8280XP Compute Reference Design (CRD) has an on-PCB SDX55 modem
8 which uses MBIM.
9
10 The exact channel configuration is not known but the Foxconn SDX55
11 configuration allows the modem to be used so reuse that one for now.
12
13 Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
14 Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
15 Link: https://lore.kernel.org/r/20221104093913.23347-1-johan+linaro@kernel.org
16 [mani: modified the subject to format "bus: mhi: host"]
17 Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
18 ---
19 drivers/bus/mhi/host/pci_generic.c | 2 ++
20 1 file changed, 2 insertions(+)
21
22 --- a/drivers/bus/mhi/host/pci_generic.c
23 +++ b/drivers/bus/mhi/host/pci_generic.c
24 @@ -542,6 +542,8 @@ static const struct mhi_pci_dev_info mhi
25 static const struct pci_device_id mhi_pci_id_table[] = {
26 { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0304),
27 .driver_data = (kernel_ulong_t) &mhi_qcom_sdx24_info },
28 + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, PCI_VENDOR_ID_QCOM, 0x010c),
29 + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
30 /* EM919x (sdx55), use the same vid:pid as qcom-sdx55m */
31 { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x18d7, 0x0200),
32 .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info },