From 496a01db17856f99cfd130e0561aa7087796325b Mon Sep 17 00:00:00 2001 From: Krishna Chaitanya Chundru Date: Fri, 25 Sep 2026 10:07:43 +0530 Subject: [PATCH] FROMLIST: 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 associated client driver. Signed-off-by: Krishna Chaitanya Chundru Link: https://lore.kernel.org/all/20260925-mhi_dun-v1-1-65bc07ec8a59@oss.qualcomm.com/ Signed-off-by: Ziyue Zhang --- 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 2e4b7d386788b..f183ea5696f11 100644 --- a/drivers/bus/mhi/host/pci_generic.c +++ b/drivers/bus/mhi/host/pci_generic.c @@ -314,6 +314,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),