From 710bf7329abf86e37db529f19c8f394099238892 Mon Sep 17 00:00:00 2001 From: Krishna Chaitanya Chundru Date: Fri, 25 Sep 2026 10:07:43 +0530 Subject: [PATCH] bus: mhi: host: pci_generic: Add DUN channel configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the DUN uplink (ch32) and downlink (ch33) channel definitions to the Qualcomm modem MHI channel configuration table.   These channels are used for transporting AT commands over MHI. Defining them allows the MHI core to create the corresponding DUN MHI devices and enables userspace access to the modem AT interface through the MHI WWAN client driver. Signed-off-by: Krishna Chaitanya Chundru Signed-off-by: Manivannan Sadhasivam Link: https://patch.msgid.link/20260925-mhi_dun-v1-1-65bc07ec8a59@oss.qualcomm.com --- drivers/bus/mhi/host/pci_generic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c index 463e5505d920..5471a6a0f128 100644 --- a/drivers/bus/mhi/host/pci_generic.c +++ b/drivers/bus/mhi/host/pci_generic.c @@ -322,6 +322,8 @@ static const struct mhi_channel_config modem_qcom_v1_mhi_channels[] = { MHI_CHANNEL_CONFIG_DL(15, "QMI", 4, 0), MHI_CHANNEL_CONFIG_UL(20, "IPCR", 8, 0), MHI_CHANNEL_CONFIG_DL(21, "IPCR", 8, 0), + MHI_CHANNEL_CONFIG_UL(32, "DUN", 32, 0), + MHI_CHANNEL_CONFIG_DL(33, "DUN", 32, 0), MHI_CHANNEL_CONFIG_UL_FP(34, "FIREHOSE", 32, 0), MHI_CHANNEL_CONFIG_DL_FP(35, "FIREHOSE", 32, 0), MHI_CHANNEL_CONFIG_UL(46, "IP_SW0", 64, 2),