[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230511175844.185070-4-xiang.ye@intel.com>
Date: Fri, 12 May 2023 01:58:41 +0800
From: Ye Xiang <xiang.ye@...el.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Arnd Bergmann <arnd@...db.de>,
Matthias Kaehlcke <mka@...omium.org>,
Lee Jones <lee@...nel.org>, Wolfram Sang <wsa@...nel.org>,
Tyrone Ting <kfting@...oton.com>,
Mark Brown <broonie@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Marc Zyngier <maz@...nel.org>,
Bartosz Golaszewski <brgl@...ev.pl>, linux-usb@...r.kernel.org,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-spi@...r.kernel.org, linux-gpio@...r.kernel.org
Cc: srinivas.pandruvada@...el.com, heikki.krogerus@...ux.intel.com,
andriy.shevchenko@...ux.intel.com, sakari.ailus@...ux.intel.com,
zhifeng.wang@...el.com, wentong.wu@...el.com, lixu.zhang@...el.com,
Ye Xiang <xiang.ye@...el.com>
Subject: [PATCH v8 3/6] Documentation: Add ABI doc for attributes of LJCA device
Add sysfs attributes Documentation entries for LJCA device
Signed-off-by: Ye Xiang <xiang.ye@...el.com>
---
.../ABI/testing/sysfs-bus-usb-devices-ljca | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-usb-devices-ljca
diff --git a/Documentation/ABI/testing/sysfs-bus-usb-devices-ljca b/Documentation/ABI/testing/sysfs-bus-usb-devices-ljca
new file mode 100644
index 000000000000..16eecaf870e2
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-usb-devices-ljca
@@ -0,0 +1,36 @@
+What: /sys/bus/usb/.../ljca_version
+Date: July 2023
+KernelVersion: 6.4
+Contact: Ye Xiang <xiang.ye@...el.com>
+Description:
+ Provides the current firmware version of LJCA device.
+ The format is Major.Minor.Patch.Build, where
+ Major, Minor, Patch, and Build are decimal numbers.
+ For example: 1.0.0.256
+
+What: /sys/bus/usb/.../ljca_enable_dfu
+Date: July 2023
+KernelVersion: 6.4
+Contact: Ye Xiang <xiang.ye@...el.com>
+Description:
+ Writing 1 to this file to force the LJCA device into DFU
+ mode so the firmware can be updated. After firmware
+ updating has been done, the device will back to normal
+ working mode.
+
+What: /sys/bus/usb/.../ljca_trace_level
+Date: July 2023
+KernelVersion: 6.4
+Contact: Ye Xiang <xiang.ye@...el.com>
+Description:
+ Writing N to this file to set firmware log level of LJCA
+ device. The log can be printed to another computer through
+ UART ports in LJCA device. Valid values:
+
+ == ==========
+ 0 LEVEL_ERROR
+ 1 LEVEL_WARNING
+ 2 LEVEL_INFO
+ 3 LEVEL_DEBUG
+ 4 LEVEL_OFF
+ == ==========
--
2.34.1
Powered by blists - more mailing lists