Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21208279ybl; Sun, 5 Jan 2020 23:24:08 -0800 (PST) X-Google-Smtp-Source: APXvYqxJZjYkrUdwg/VcRuzVwDhR5p0CE7dpqtXQSvPhiya/zuz1M9dyiU0YHEOQQJhj4QjM792G X-Received: by 2002:a05:6830:c2:: with SMTP id x2mr103524756oto.8.1578295448524; Sun, 05 Jan 2020 23:24:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578295448; cv=none; d=google.com; s=arc-20160816; b=qfvYbWR7Ns2fZoGq3dt2yh23KUiGRbibBRxxjYSCY2iXHT3VN10hxkgJhpBdy2CGNa Gbaa7nyfTm1xlCIAC92pbWsbOq+A/hOUtWqSFd5YjIupA9gT9EgXZzxI1/vuFPvy/AIO ir4ebbw2uA5GCxKMtcWzazMHnEHxkQPVf58ryKbW/XUm1uqYE04TWk3ANtTAV/w8hxmJ pHcDCPkrGJSpT6VaMUF/Fu1lMYhvYKppOyiFft1Pd7ldj/k9zrWU6dSaOI0n5ScX2Uh/ Xvcs5sWXUNHwceX7in1CVwQ2VekRiy5WVmPP7IqZOpgynt3UC8mE9Hqk1S68fibufxPw eHVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=8KLFzxRxYExyH52H7UNZCg0hoUieXXMXkUll3VBkONU=; b=CW33zc6lsN0/boCPc5QIa4pcy5Wf0ncAOM9367PzxfrJTz60qmK4VCDAXekKhwtrOI 8+6FoREmI+PxLFWsThQ3s80eHztd6ziRRznZ6/WECq+ivEJvZEyordvN8o8tU/ieDbIz 1rqLgex97dsoTBzZu7oPsdZFxWP1lzu8N3lvy8+tvPbRPM899pOLYJUiT2WWPENLnAMj rx1v/J8x7m8NFEG0fpIe5VDcOKe+cBC/cpsHXoooCAp6HAjWRyWVBsOS82nmxgaSZCR1 U0kutRq0K7SzN7ZAk7S5plVu+fmA1j9RdC/GeTvmBl1ksao26TA2pRu+YzBJiEyfCzC/ XpMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tBJzqMqv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i13si34325764otc.228.2020.01.05.23.23.57; Sun, 05 Jan 2020 23:24:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tBJzqMqv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726912AbgAFHWl (ORCPT + 99 others); Mon, 6 Jan 2020 02:22:41 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:39478 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbgAFHWk (ORCPT ); Mon, 6 Jan 2020 02:22:40 -0500 Received: by mail-pg1-f193.google.com with SMTP id b137so26463548pga.6; Sun, 05 Jan 2020 23:22:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=8KLFzxRxYExyH52H7UNZCg0hoUieXXMXkUll3VBkONU=; b=tBJzqMqvW81xzhhOY++dmJPsO+C2SCdvVTWOLS2R81B/WZbgk1QEEwUwAm7sG31F3W Vyj9Ib8lVv8qrtILE/9otdMrke7M1xwFzCRG6H8SJJdc46zoxjTw4UyL/ORab3qQMNOa oQbbC+ppEUVorJj3P7wKtGKQ95M7HBa4p+oa5StqAvnk93jff0uk98siIsQHaHCxJ6lI DRD84Xblo+u0R/y/etC0Px9bcVr1JSEVW+D0XfM7PHRzXlQQDL5qV5230cPcrf7g8B6M RircBhj3uQOI8Y/AwlByaL8fOmsRhyrrG8NR2V9qmGwT9hPT1T9iMVPTsrnqN0TWDkWO Llew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=8KLFzxRxYExyH52H7UNZCg0hoUieXXMXkUll3VBkONU=; b=BM572G86IhE1VYzAUSsM0iokec+Ff6knKd37xCUTKL5qCuZ1r/+c93+4ezFcOkh1yz 6SwGwUVLSUBy0ovhNVeDLBDB60HEcQYAppl9CoAyCZX+l8fZZmwBwGSb/OLav5p4MkO0 Tjk6hzqvmdCkHSSCLhZGM8LGUlBK324ZnmN1tiWNpHBuoeRSJPcTSHiEKO9RICjJs9px UDtQss8SqU0gcoZ1EwCBv4ow3bwWlUUrqjulstfolGpY2Xl9HpTLM5ABxA0xg4MZj+Hp zAG4plYS1xaUPeVGZ0ak3dkwm0ncpT8X+VPnZcnwcefVhh+VsGob6aQjVHV3eQCkXfpF acqw== X-Gm-Message-State: APjAAAV9wrFu/hQ+53bJhiJktYGaR3fiix2JjySLt0t9KLGNG2XYhMfs X7dXnD7A0BKb1drUUlJbmkg= X-Received: by 2002:a63:3750:: with SMTP id g16mr110918924pgn.413.1578295359855; Sun, 05 Jan 2020 23:22:39 -0800 (PST) Received: from localhost.localdomain ([49.207.56.131]) by smtp.gmail.com with ESMTPSA id q8sm72968137pgg.92.2020.01.05.23.22.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Jan 2020 23:22:39 -0800 (PST) From: Rishi Gupta To: gregkh@linuxfoundation.org, robh+dt@kernel.org Cc: jslaby@suse.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Rishi Gupta Subject: [PATCH v1 3/3] tty: documentation: abi: add ttyvs null modem driver sysfs nodes Date: Mon, 6 Jan 2020 12:51:55 +0530 Message-Id: <7d7c949890c4bdb12ecc9f8b15a5c0a69b7604a8.1578235515.git.gupt21@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ttyvs driver exposes sysfs files to emulate various serial port events. This commit document these files. Signed-off-by: Rishi Gupta --- .../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 +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 +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