Add a secondary AT port to the Telit FN990
Subsystems (5)
cover Add a secondary AT port to the Telit FN990
In order to add a secondary AT port to the Telit FN990 first add "DUN2" to mhi_wwan_ctrl.c, after that add a seconday AT port to the Telit FN990 in pci_generic.c
Fabio Porcedda (2):
net: wwan: mhi_wwan_ctrl: Add DUN2 to have a secondary AT port
bus: mhi: host: pci_generic: Add a secondary AT port to Telit FN990
drivers/bus/mhi/host/pci_generic.c | 2 ++ drivers/net/wwan/mhi_wwan_ctrl.c | 1 + 2 files changed, 3 insertions(+)
Signature · 1 line
2.37.3
PATCH 1/2 net: wwan: mhi_wwan_ctrl: Add DUN2 to have a secondary AT port
In order to have a secondary AT port add "DUN2".
--- drivers/net/wwan/mhi_wwan_ctrl.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wwan/mhi_wwan_ctrl.c +1 -0
@@ -258,6 +258,7 @@ static void mhi_wwan_ctrl_remove(struct mhi_device *mhi_dev)static const struct mhi_device_id mhi_wwan_ctrl_match_table[] = { { .chan ="DUN" , .driver_data =WWAN_PORT_AT }, + { .chan ="DUN2" , .driver_data =WWAN_PORT_AT }, { .chan ="MBIM" , .driver_data =WWAN_PORT_MBIM }, { .chan ="QMI" , .driver_data =WWAN_PORT_QMI }, { .chan ="DIAG" , .driver_data =WWAN_PORT_QCDM },
Signature · 1 line
2.37.3
Re: [PATCH 1/2] net: wwan: mhi_wwan_ctrl: Add DUN2 to have a secondary AT port
Quoted 4 lines · Fabio Porcedda
In order to have a secondary AT port add "DUN2".
Signed-off-by Fabio Porcedda <[email protected]>
Quoted 19 lines
--- drivers/net/wwan/mhi_wwan_ctrl.c | 1 + 1 file changed, 1 insertion(+)drivers/net/wwan/mhi_wwan_ctrl.c +1
-1@@ -258,6 +258,7 @@ static void mhi_wwan_ctrl_remove(struct mhi_device *mhi_dev)static const struct mhi_device_id mhi_wwan_ctrl_match_table[] = { { .chan ="DUN" , .driver_data =WWAN_PORT_AT }, + { .chan ="DUN2" , .driver_data =WWAN_PORT_AT }, { .chan ="MBIM" , .driver_data =WWAN_PORT_MBIM }, { .chan ="QMI" , .driver_data =WWAN_PORT_QMI }, { .chan ="DIAG" , .driver_data =WWAN_PORT_QCDM }, --2.37.3
PATCH 2/2 bus: mhi: host: pci_generic: Add a secondary AT port to Telit FN990
In reply to Fabio PorceddaAdd a secondary AT port using one of OEM reserved channel.
--- drivers/bus/mhi/host/pci_generic.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/bus/mhi/host/pci_generic.c +2 -0
@@ -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), };
Signature · 1 line
2.37.3
Re: [PATCH 2/2] bus: mhi: host: pci_generic: Add a secondary AT port to Telit FN990
Quoted 4 lines · Fabio Porcedda
Add a secondary AT port using one of OEM reserved channel.
Signed-off-by Fabio Porcedda <[email protected]>
Quoted 20 lines
--- drivers/bus/mhi/host/pci_generic.c | 2 ++ 1 file changed, 2 insertions(+)drivers/bus/mhi/host/pci_generic.c +2
-1@@ -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), }; --2.37.3
Re: [PATCH 2/2] bus: mhi: host: pci_generic: Add a secondary AT port to Telit FN990
In reply to Fabio PorceddaQuoted 3 lines · Fabio Porcedda
Add a secondary AT port using one of OEM reserved channel.
Signed-off-by Fabio Porcedda <[email protected]>
Thanks,
Mani
Quoted 21 lines
--- drivers/bus/mhi/host/pci_generic.c | 2 ++ 1 file changed, 2 insertions(+)drivers/bus/mhi/host/pci_generic.c +2
-0@@ -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), };Signature · 1 line
2.37.3
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Re: [PATCH 2/2] bus: mhi: host: pci_generic: Add a secondary AT port to Telit FN990
In reply to Fabio PorceddaQuoted 3 lines · Fabio Porcedda
Add a secondary AT port using one of OEM reserved channel.
Signed-off-by Fabio Porcedda <[email protected]>
Applied to mhi-next!
Thanks,
Mani
Quoted 21 lines
--- drivers/bus/mhi/host/pci_generic.c | 2 ++ 1 file changed, 2 insertions(+)drivers/bus/mhi/host/pci_generic.c +2
-0@@ -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), };Signature · 1 line
2.37.3
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Sergey Ryazanov
maintainerHello Fabio,
Quoted 7 lines · Fabio Porcedda
In order to add a secondary AT port to the Telit FN990 first add "DUN2" to
mhi_wwan_ctrl.c, after that add a seconday AT port to the Telit FN990 inpci_generic.cFabio Porcedda (2):
net: wwan:mhi_wwan_ctrl: Add DUN2 to have a secondary AT port
bus: mhi: host:pci_generic: Add a secondary AT port to Telit FN990
The code looks good to me, but it needs to be checked by someone who is familiar with MHI.
Loic, what do you think?
Signature · 1 line
Sergey
This series was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Fri, 16 Sep 2022 16:43:27 +0200 you wrote:
In order to add a secondary AT port to the Telit FN990 first add "DUN2" to
mhi_wwan_ctrl.c, after that add a seconday AT port to the Telit FN990 inpci_generic.cFabio Porcedda (2):
net: wwan:mhi_wwan_ctrl: Add DUN2 to have a secondary AT port
bus: mhi: host:pci_generic: Add a secondary AT port to Telit FN990[...]
Here is the summary with links:
- [1/2] net: wwan: mhi_wwan_ctrl: Add DUN2 to have a secondary AT port
https://git.kernel.org/netdev/net-next/c/0c60d1657d3d - [2/2] bus: mhi: host: pci_generic: Add a secondary AT port to Telit FN990 https://git.kernel.org/netdev/net-next/c/479aa3b0ec2e
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html