Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'mhi-for-v6.19' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mani/mhi into char-misc-next

Manivannan writes:

MHI Host
========

- Add support for Telit FE990B40 and Foxconn T99W760 modems

MHI Endpoint
============

- Make 'struct mhi_ep_bus_type' const as the driver core now handles the const
bus_type.

- Add WQ_PERCPU flag to alloc_workqueue() as a part of the workqueue refactoring

* tag 'mhi-for-v6.19' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mani/mhi:
bus: mhi: host: pci_generic: Add Foxconn T99W760 modem
bus: mhi: ep: add WQ_PERCPU to alloc_workqueue users
bus: mhi: host: pci_generic: Add Telit FE990B40 modem support
bus: mhi: ep: Make mhi_ep_bus_type const

+29 -3
+1 -1
drivers/bus/mhi/ep/internal.h
··· 11 11 12 12 #include "../common.h" 13 13 14 - extern struct bus_type mhi_ep_bus_type; 14 + extern const struct bus_type mhi_ep_bus_type; 15 15 16 16 #define MHI_REG_OFFSET 0x100 17 17 #define BHI_REG_OFFSET 0x200
+2 -2
drivers/bus/mhi/ep/main.c
··· 1494 1494 INIT_WORK(&mhi_cntrl->cmd_ring_work, mhi_ep_cmd_ring_worker); 1495 1495 INIT_WORK(&mhi_cntrl->ch_ring_work, mhi_ep_ch_ring_worker); 1496 1496 1497 - mhi_cntrl->wq = alloc_workqueue("mhi_ep_wq", 0, 0); 1497 + mhi_cntrl->wq = alloc_workqueue("mhi_ep_wq", WQ_PERCPU, 0); 1498 1498 if (!mhi_cntrl->wq) { 1499 1499 ret = -ENOMEM; 1500 1500 goto err_destroy_ring_item_cache; ··· 1703 1703 return 0; 1704 1704 }; 1705 1705 1706 - struct bus_type mhi_ep_bus_type = { 1706 + const struct bus_type mhi_ep_bus_type = { 1707 1707 .name = "mhi_ep", 1708 1708 .dev_name = "mhi_ep", 1709 1709 .match = mhi_ep_match,
+26
drivers/bus/mhi/host/pci_generic.c
··· 663 663 .sideband_wake = false, 664 664 }; 665 665 666 + static const struct mhi_pci_dev_info mhi_foxconn_t99w760_info = { 667 + .name = "foxconn-t99w760", 668 + .edl = "qcom/sdx35/foxconn/xbl_s_devprg_ns.melf", 669 + .edl_trigger = true, 670 + .config = &modem_foxconn_sdx61_config, 671 + .bar_num = MHI_PCI_DEFAULT_BAR_NUM, 672 + .dma_data_width = 32, 673 + .mru_default = 32768, 674 + .sideband_wake = false, 675 + }; 676 + 666 677 static const struct mhi_channel_config mhi_mv3x_channels[] = { 667 678 MHI_CHANNEL_CONFIG_UL(0, "LOOPBACK", 64, 0), 668 679 MHI_CHANNEL_CONFIG_DL(1, "LOOPBACK", 64, 0), ··· 888 877 .edl_trigger = true, 889 878 }; 890 879 880 + static const struct mhi_pci_dev_info mhi_telit_fe990b40_info = { 881 + .name = "telit-fe990b40", 882 + .config = &modem_telit_fn920c04_config, 883 + .bar_num = MHI_PCI_DEFAULT_BAR_NUM, 884 + .dma_data_width = 32, 885 + .sideband_wake = false, 886 + .mru_default = 32768, 887 + .edl_trigger = true, 888 + }; 889 + 891 890 static const struct mhi_pci_dev_info mhi_netprisma_lcur57_info = { 892 891 .name = "netprisma-lcur57", 893 892 .edl = "qcom/prog_firehose_sdx24.mbn", ··· 954 933 /* Telit FN990B40 (sdx72) */ 955 934 { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0309, 0x1c5d, 0x201a), 956 935 .driver_data = (kernel_ulong_t) &mhi_telit_fn990b40_info }, 936 + /* Telit FE990B40 (sdx72) */ 937 + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0309, 0x1c5d, 0x2025), 938 + .driver_data = (kernel_ulong_t) &mhi_telit_fe990b40_info }, 957 939 { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0309), 958 940 .driver_data = (kernel_ulong_t) &mhi_qcom_sdx75_info }, 959 941 /* QDU100, x100-DU */ ··· 1021 997 /* DW5934e(sdx72), Non-eSIM */ 1022 998 { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe11e), 1023 999 .driver_data = (kernel_ulong_t) &mhi_foxconn_dw5934e_info }, 1000 + { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe123), 1001 + .driver_data = (kernel_ulong_t) &mhi_foxconn_t99w760_info }, 1024 1002 /* MV31-W (Cinterion) */ 1025 1003 { PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3), 1026 1004 .driver_data = (kernel_ulong_t) &mhi_mv31_info },