[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <7d7c949890c4bdb12ecc9f8b15a5c0a69b7604a8.1578235515.git.gupt21@gmail.com>
Date: Mon, 6 Jan 2020 12:51:55 +0530
From: Rishi Gupta <gupt21@...il.com>
To: gregkh@...uxfoundation.org, robh+dt@...nel.org
Cc: jslaby@...e.com, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org, Rishi Gupta <gupt21@...il.com>
Subject: [PATCH v1 3/3] tty: documentation: abi: add ttyvs null modem driver sysfs nodes
The ttyvs driver exposes sysfs files to emulate various serial
port events. This commit document these files.
Signed-off-by: Rishi Gupta <gupt21@...il.com>
---
.../ABI/testing/sysfs-devices-virtual-tty_ttyvs | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-devices-virtual-tty_ttyvs
diff --git a/Documentation/ABI/testing/sysfs-devices-virtual-tty_ttyvs b/Documentation/ABI/testing/sysfs-devices-virtual-tty_ttyvs
new file mode 100644
index 0000000..69b04e0
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-devices-virtual-tty_ttyvs
@@ -0,0 +1,18 @@
+What: /sys/devices/virtual/tty/ttyvsN/event
+Date: January 2020
+Contact: Rishi Gupta <gupt21@...il.com>
+KernelVersion: 5.5
+Description:
+ The ttyvs driver will emulate serial port event; parity error,
+ framing error, overrun error, asserting or de-asserting break
+ conditions and ring indication when user space application
+ writes an event code on this sysfs file.
+
+What: /sys/devices/virtual/tty/ttyvsN/faultycable
+Date: January 2020
+Contact: Rishi Gupta <gupt21@...il.com>
+KernelVersion: 5.5
+Description:
+ The ttyvs driver will emulate as if the cable is faulty; i.e.
+ data sent will not be received when user space application
+ writes 1 on this file. Write 0 to disable this emulation.
--
2.7.4
Powered by blists - more mailing lists