* [PATCH net-next v1 13/13] net: wwan: tmi: Add maintainers and documentation
@ 2022-11-22 11:27 Yanchao Yang
2022-11-22 14:29 ` Leon Romanovsky
0 siblings, 1 reply; 3+ messages in thread
From: Yanchao Yang @ 2022-11-22 11:27 UTC (permalink / raw)
To: Loic Poulain, Sergey Ryazanov, Johannes Berg, David S . Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, netdev ML, kernel ML
Cc: MTK ML, Liang Lu, Haijun Liu, Hua Yang, Ting Wang, Felix Chen,
Mingliang Xu, Min Dong, Aiden Wang, Guohao Zhang, Chris Feng,
Yanchao Yang, Lambert Wang, Mingchuang Qiao, Xiayu Zhang,
Haozhe Chang, MediaTek Corporation
From: MediaTek Corporation <linuxwwan@mediatek.com>
Adds maintainers and documentation for MediaTek TMI 5G WWAN modem
device driver.
Signed-off-by: Felix Chen <felix.chen@mediatek.com>
Signed-off-by: MediaTek Corporation <linuxwwan@mediatek.com>
---
.../networking/device_drivers/wwan/index.rst | 1 +
.../networking/device_drivers/wwan/tmi.rst | 48 +++++++++++++++++++
MAINTAINERS | 11 +++++
3 files changed, 60 insertions(+)
create mode 100644 Documentation/networking/device_drivers/wwan/tmi.rst
diff --git a/Documentation/networking/device_drivers/wwan/index.rst b/Documentation/networking/device_drivers/wwan/index.rst
index 370d8264d5dc..8298629b4d55 100644
--- a/Documentation/networking/device_drivers/wwan/index.rst
+++ b/Documentation/networking/device_drivers/wwan/index.rst
@@ -10,6 +10,7 @@ Contents:
iosm
t7xx
+ tmi
.. only:: subproject and html
diff --git a/Documentation/networking/device_drivers/wwan/tmi.rst b/Documentation/networking/device_drivers/wwan/tmi.rst
new file mode 100644
index 000000000000..3655779bf692
--- /dev/null
+++ b/Documentation/networking/device_drivers/wwan/tmi.rst
@@ -0,0 +1,48 @@
+.. SPDX-License-Identifier: BSD-3-Clause-Clear
+
+.. Copyright (c) 2022, MediaTek Inc.
+
+.. _tmi_driver_doc:
+
+====================================================
+TMI driver for MTK PCIe based T-series 5G Modem
+====================================================
+The TMI(T-series Modem Interface) driver is a WWAN PCIe host driver developed
+for data exchange over PCIe interface between Host platform and MediaTek's
+T-series 5G modem. The driver exposes control plane and data plane interfaces
+to applications. The control plane provides device node interfaces for control
+data transactions. The data plane provides network link interfaces for IP data
+transactions.
+
+Control channel userspace ABI
+=============================
+/dev/wwan0at0 character device
+------------------------------
+The driver exposes an AT port by implementing AT WWAN Port.
+The userspace end of the control channel pipe is a /dev/wwan0at0 character
+device. Application shall use this interface to issue AT commands.
+
+/dev/wwan0mbim0 character device
+--------------------------------
+The driver exposes an MBIM interface to the MBIM function by implementing
+MBIM WWAN Port. The userspace end of the control channel pipe is a
+/dev/wwan0mbim0 character device. Applications shall use this interface
+for MBIM protocol communication.
+
+Data channel userspace ABI
+==========================
+wwan0-X network device
+----------------------
+The TMI driver exposes IP link interfaces "wwan0-X" of type "wwan" for IP
+traffic. Iproute network utility is used for creating "wwan0-X" network
+interfaces and for associating it with the MBIM IP session.
+
+The userspace management application is responsible for creating a new IP link
+prior to establishing an MBIM IP session where the SessionId is greater than 0.
+
+For example, creating a new IP link for an MBIM IP session with SessionId 1:
+
+ ip link add dev wwan0-1 parentdev wwan0 type wwan linkid 1
+
+The driver will automatically map the "wwan0-1" network device to MBIM IP
+session 1.
diff --git a/MAINTAINERS b/MAINTAINERS
index a96c60c787af..eac544b274ac 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -13058,6 +13058,17 @@ L: netdev@vger.kernel.org
S: Supported
F: drivers/net/wwan/t7xx/
+MEDIATEK TMI 5G WWAN MODEM DRIVER
+M: Yanchao Yang <yanchao.yang@mediatek.com>
+M: Min Dong <min.dong@mediatek.com>
+M: MediaTek Corporation <linuxwwan@mediatek.com>
+R: Liang Lu <liang.lu@mediatek.com>
+R: Haijun Liu <haijun.liu@mediatek.com>
+R: Lambert Wang <lambert.wang@mediatek.com>
+L: netdev@vger.kernel.org
+S: Supported
+F: drivers/net/wwan/tmi/
+
MEDIATEK USB3 DRD IP DRIVER
M: Chunfeng Yun <chunfeng.yun@mediatek.com>
L: linux-usb@vger.kernel.org
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next v1 13/13] net: wwan: tmi: Add maintainers and documentation
2022-11-22 11:27 [PATCH net-next v1 13/13] net: wwan: tmi: Add maintainers and documentation Yanchao Yang
@ 2022-11-22 14:29 ` Leon Romanovsky
2022-11-23 6:18 ` Yanchao Yang (杨彦超)
0 siblings, 1 reply; 3+ messages in thread
From: Leon Romanovsky @ 2022-11-22 14:29 UTC (permalink / raw)
To: Yanchao Yang
Cc: Loic Poulain, Sergey Ryazanov, Johannes Berg, David S . Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, netdev ML, kernel ML,
MTK ML, Liang Lu, Haijun Liu, Hua Yang, Ting Wang, Felix Chen,
Mingliang Xu, Min Dong, Aiden Wang, Guohao Zhang, Chris Feng,
Lambert Wang, Mingchuang Qiao, Xiayu Zhang, Haozhe Chang,
MediaTek Corporation
On Tue, Nov 22, 2022 at 07:27:10PM +0800, Yanchao Yang wrote:
> From: MediaTek Corporation <linuxwwan@mediatek.com>
>
> Adds maintainers and documentation for MediaTek TMI 5G WWAN modem
> device driver.
>
> Signed-off-by: Felix Chen <felix.chen@mediatek.com>
> Signed-off-by: MediaTek Corporation <linuxwwan@mediatek.com>
Author and SOB should have real names and can't be company.
Thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next v1 13/13] net: wwan: tmi: Add maintainers and documentation
2022-11-22 14:29 ` Leon Romanovsky
@ 2022-11-23 6:18 ` Yanchao Yang (杨彦超)
0 siblings, 0 replies; 3+ messages in thread
From: Yanchao Yang (杨彦超) @ 2022-11-23 6:18 UTC (permalink / raw)
To: leon@kernel.org
Cc: Chris Feng (冯保林),
linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org,
Mingliang Xu (徐明亮),
Min Dong (董敏), linuxwwan@mediatek.com,
Liang Lu (吕亮),
Haijun Liu (刘海军),
Haozhe Chang (常浩哲),
Hua Yang (杨华), ryazanov.s.a@gmail.com,
kuba@kernel.org, loic.poulain@linaro.org, pabeni@redhat.com,
edumazet@google.com, Ting Wang (王挺),
johannes@sipsolutions.net, netdev@vger.kernel.org,
Aiden Wang (王咏麒),
Felix Chen (陈非), Lambert Wang (王伟),
davem@davemloft.net, Mingchuang Qiao (乔明闯),
Guohao Zhang (张国豪),
Xiayu Zhang (张夏宇)
On Tue, 2022-11-22 at 16:29 +0200, Leon Romanovsky wrote:
> On Tue, Nov 22, 2022 at 07:27:10PM +0800, Yanchao Yang wrote:
> > From: MediaTek Corporation <linuxwwan@mediatek.com>
> >
> > Adds maintainers and documentation for MediaTek TMI 5G WWAN modem
> > device driver.
> >
> > Signed-off-by: Felix Chen <felix.chen@mediatek.com>
> > Signed-off-by: MediaTek Corporation <linuxwwan@mediatek.com>
>
> Author and SOB should have real names and can't be company.
>
> Thanks
Thank your suggestion. fix it next version(1. remove SOB company's
name; 2. add authour name, ex: From: MediaTek Corporation <
linuxwwan@mediatek.com> --> From: Yanchao Yang <
yanchao.yang@mediatek.com>)
Many thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-23 6:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-22 11:27 [PATCH net-next v1 13/13] net: wwan: tmi: Add maintainers and documentation Yanchao Yang
2022-11-22 14:29 ` Leon Romanovsky
2022-11-23 6:18 ` Yanchao Yang (杨彦超)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).