[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<MEYP282MB26971144401D483B2C947180BB7C2@MEYP282MB2697.AUSP282.PROD.OUTLOOK.COM>
Date: Wed, 31 Jan 2024 22:06:34 +0800
From: Jinjian Song <songjinjian@...mail.com>
To: pabeni@...hat.com,
Jinjian Song <songjinjian@...mail.com>,
netdev@...r.kernel.org
Cc: chandrashekar.devegowda@...el.com,
chiranjeevi.rapolu@...ux.intel.com,
danielwinkler@...gle.com,
davem@...emloft.net,
edumazet@...gle.com,
felix.yan@...ocom.com,
haijun.liu@...iatek.com,
jinjian.song@...ocom.com,
joey.zhao@...ocom.com,
johannes@...solutions.net,
kuba@...nel.org,
linux-kernel@...r.kernel.com,
liuqf@...ocom.com,
loic.poulain@...aro.org,
m.chetan.kumar@...ux.intel.com,
nmarupaka@...gle.com,
ricardo.martinez@...ux.intel.com,
ryazanov.s.a@...il.com,
vsankar@...ovo.com
Subject: Re: [net-next v6 2/4] net: wwan: t7xx: Add sysfs attribute for device state machine
From: Paolo Abeni <pabeni@...hat.com>
On Thu, 2024-01-25 at 01:00 +0800, Jinjian Song wrote:
>> From: Jinjian Song <jinjian.song@...ocom.com>
>>
>> Add support for userspace to get/set the device mode,
>> e.g., reset/ready/fastboot mode.
>>
>> Signed-off-by: Jinjian Song <jinjian.song@...ocom.com>
>
>It would be nice to add a reference to the fastboot documentation and a
>more functional description of what can be achieved using this new
>interface
>
Hi Paolo,
Let me do that.
By the way, Add to the commit info or the t7xx.rst document?
I want add the fastboot document link(https://android.googlesource.com/platform/system/core/+/refs/heads/main/fastboot/README.md)
I want add the functional description use this sysfs t7xx_mode
e.g.:
1.query the device state mode (READY, RESET, FASTBOOT_DL_MODE..).
cat /sys/bus/pci/devices/${bdf}/t7xx_mode
2.set the device stateļ¼cold reset, switch to fastboot mode).
echo RESET > /sys/bus/pci/devices/${bdf}/t7xx_mode
is that fine?
Thanks.
Best Regards,
Jinjian
Powered by blists - more mailing lists