[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241023151514.GA888712@bhelgaas>
Date: Wed, 23 Oct 2024 10:15:14 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Jinjian Song <jinjian.song@...ocom.com>
Cc: chandrashekar.devegowda@...el.com, chiranjeevi.rapolu@...ux.intel.com,
haijun.liu@...iatek.com, m.chetan.kumar@...ux.intel.com,
ricardo.martinez@...ux.intel.com, loic.poulain@...aro.org,
ryazanov.s.a@...il.com, johannes@...solutions.net,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, linux-doc@...r.kernel.org,
angelogioacchino.delregno@...labora.com,
linux-arm-kernel@...ts.infradead.org, matthias.bgg@...il.com,
corbet@....net, linux-mediatek@...ts.infradead.org,
danielwinkler@...gle.com, korneld@...gle.com,
Jinjian Song <songjinjian@...mail.com>
Subject: Re: [net-next,RESEND v6 2/2] net: wwan: t7xx: Add debug port
On Mon, Oct 21, 2024 at 08:19:34PM +0800, Jinjian Song wrote:
> From: Jinjian Song <songjinjian@...mail.com>
>
> Add support for userspace to switch on the debug port(ADB,MIPC).
> - ADB port: /dev/wwan0adb0
> - MIPC port: /dev/wwan0mipc0
>
> Application can use ADB (Android Debg Bridge) port to implement
> functions (shell, pull, push ...) by ADB protocol commands.
> E.g., ADB commands:
> - A_OPEN: OPEN(local-id, 0, "destination")
> - A_WRTE: WRITE(local-id, remote-id, "data")
> - A_OKEY: READY(local-id, remote-id, "")
> - A_CLSE: CLOSE(local-id, remote-id, "")
s/Debg/Debug/
> Link: https://android.googlesource.com/platform/packages/modules/adb/+/refs/heads/main/README.md
>
> Application can use MIPC (Modem Information Process Center) port
> to debug antenna tunner or noise profiling through this MTK modem
> diagnostic interface.
s/tunner/tuner/
> +++ b/Documentation/networking/device_drivers/wwan/t7xx.rst
> @@ -67,6 +67,28 @@ Write from userspace to set the device mode.
> ::
> $ echo fastboot_switching > /sys/bus/pci/devices/${bdf}/t7xx_mode
>
> +t7xx_port_mode
> +--------------
> +The sysfs interface provides userspace with access to the port mode, this interface
> +supports read and write operations.
This file is not completely consistent, but 90% of it fits in 80
columns, so I would make your additions fit also.
Powered by blists - more mailing lists