From 83c29a55b89e0de6e15bcc6c21b16b4b75ec3e89 Mon Sep 17 00:00:00 2001 From: Peter Hunt Date: Thu, 20 Aug 2026 08:49:26 +1000 Subject: [PATCH] bus: mhi: host: pci_generic: Add IP_CTRL channel for Sierra EM919x/EM929x IP_CTRL is a standard Qualcomm MHI control channel (channels 18/19) that carries the host serial control lines (DTR/RTS) to the modem; it is not Sierra-specific. It was not enumerated for any device in pci_generic, so the host had no way to drive those signals. Add it to the Sierra em919x channel config (shared by the EM919x and EM929x) using the control event ring. Signed-off-by: Peter Hunt Signed-off-by: Manivannan Sadhasivam Reviewed-by: Loic Poulain --- 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 b636e2c23b4d..96a68c26f982 100644 --- a/drivers/bus/mhi/host/pci_generic.c +++ b/drivers/bus/mhi/host/pci_generic.c @@ -732,6 +732,8 @@ static const struct mhi_channel_config mhi_sierra_em919x_channels[] = { MHI_CHANNEL_CONFIG_DL(13, "MBIM", 128, 0), MHI_CHANNEL_CONFIG_UL(14, "QMI", 32, 0), MHI_CHANNEL_CONFIG_DL(15, "QMI", 32, 0), + MHI_CHANNEL_CONFIG_UL(18, "IP_CTRL", 32, 0), + MHI_CHANNEL_CONFIG_DL(19, "IP_CTRL", 32, 0), MHI_CHANNEL_CONFIG_UL(32, "DUN", 32, 0), MHI_CHANNEL_CONFIG_DL(33, "DUN", 32, 0), MHI_CHANNEL_CONFIG_HW_UL(100, "IP_HW0", 512, 1),