bus: mhi: host: pci_generic: Add a secondary AT port to Telit FN990
authorFabio Porcedda <fabio.porcedda@gmail.com>
Fri, 16 Sep 2022 14:43:29 +0000 (16:43 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 23:07:12 +0000 (16:07 -0700)
Add a secondary AT port using one of OEM reserved channel.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/bus/mhi/host/pci_generic.c

index 9e545f2..fa2246d 100644 (file)
@@ -507,6 +507,8 @@ static const struct mhi_channel_config mhi_telit_fn990_channels[] = {
        MHI_CHANNEL_CONFIG_DL(13, "MBIM", 32, 0),
        MHI_CHANNEL_CONFIG_UL(32, "DUN", 32, 0),
        MHI_CHANNEL_CONFIG_DL(33, "DUN", 32, 0),
+       MHI_CHANNEL_CONFIG_UL(92, "DUN2", 32, 1),
+       MHI_CHANNEL_CONFIG_DL(93, "DUN2", 32, 1),
        MHI_CHANNEL_CONFIG_HW_UL(100, "IP_HW0_MBIM", 128, 2),
        MHI_CHANNEL_CONFIG_HW_DL(101, "IP_HW0_MBIM", 128, 3),
 };