From patchwork Thu Sep 21 09:25:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksandr Shamray X-Patchwork-Id: 9963637 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 81E4B6056A for ; Thu, 21 Sep 2017 09:40:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71F9F29354 for ; Thu, 21 Sep 2017 09:40:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 658B52944F; Thu, 21 Sep 2017 09:40:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C5A6D29354 for ; Thu, 21 Sep 2017 09:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Rp5Pjvb/CjFQjBoyEDHvPfQK9O4ci+7f+xllVP5FfU4=; b=WhWEJe3QzZTgDHqQROQkFrbDuQ ZN+TvkfvMOA/WQkpM0gspuS/bIG1z8n80ys2lRMX+egZo00b43L3gcp3UQ0mI0emfojENxFsaYgEd D6LM9mgc0Y6FXUVjtm5A5G/FsHarT9Px9TSu9j3vvRVGCjAG2shNNyyCpfkzAHF9FBeVDmnwW3VJY sgYMauUVQtA+h+cCbj7r7dn9uXyTfnsC6Ie2JO9X8JD9GqxjTO47tolX3eWsCCEJlSUGj+YQgd2BO KsJgbuc3nOPxdwkvYwrlgbvQGxCpU40ecE0+w9IFWwv/IPZSr9BVAiDFD2TfS65WDfWzrqRa22uv2 QsBjfFDA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1duxy7-00059c-3q; Thu, 21 Sep 2017 09:40:27 +0000 Received: from mail-il-dmz.mellanox.com ([193.47.165.129] helo=mellanox.co.il) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1duxk8-0005Lg-F5 for linux-arm-kernel@lists.infradead.org; Thu, 21 Sep 2017 09:26:04 +0000 Received: from Internal Mail-Server by MTLPINE1 (envelope-from oleksandrs@mellanox.com) with ESMTPS (AES256-SHA encrypted); 21 Sep 2017 12:25:35 +0300 Received: from r-vnc16.mtr.labs.mlnx (r-vnc16.mtr.labs.mlnx [10.208.0.16]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v8L9PYIY006940; Thu, 21 Sep 2017 12:25:34 +0300 From: Oleksandr Shamray To: gregkh@linuxfoundation.org, arnd@arndb.de Subject: [patch v9 4/4] Documentation: jtag: Add ABI documentation Date: Thu, 21 Sep 2017 12:25:32 +0300 Message-Id: <1505985932-27568-5-git-send-email-oleksandrs@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1505985932-27568-1-git-send-email-oleksandrs@mellanox.com> References: <1505985932-27568-1-git-send-email-oleksandrs@mellanox.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170921_022601_067187_565467F9 X-CRM114-Status: GOOD ( 10.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: system-sw-low-level@mellanox.com, devicetree@vger.kernel.org, jiri@resnulli.us, vadimp@mellanox.com, linux-api@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, openocd-devel-owner@lists.sourceforge.net, mec@shout.net, robh+dt@kernel.org, joel@jms.id.au, linux-serial@vger.kernel.org, Oleksandr Shamray , tklauser@distanz.ch, mchehab@kernel.org, davem@davemloft.net, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Added document that describe the ABI for JTAG class drivrer Signed-off-by: Oleksandr Shamray --- v8->v9 v7->v8 v6->v7 Comments pointed by Pavel Machek - Added jtag-cdev documentation to Documentation/ABI/testing folder --- Documentation/ABI/testing/jatg-cdev | 27 +++++++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 Documentation/ABI/testing/jatg-cdev diff --git a/Documentation/ABI/testing/jatg-cdev b/Documentation/ABI/testing/jatg-cdev new file mode 100644 index 0000000..14a3610 --- /dev/null +++ b/Documentation/ABI/testing/jatg-cdev @@ -0,0 +1,27 @@ +What: /dev/jtag[0-9]+ +Date: September 2017 +KernelVersion: 4.14 +Contact: oleksandrs@mellanox.com +Description: + The character device files /dev/jtag* are the interface + between JTAG master interfase and userspace. + + The ioctl(2)-based ABI is defined and documented in + [include/uapi]. + + The following file operations are supported: + + open(2) + The argument flag currently support only one access + mode O_RDWR. + + ioctl(2) + Initiate various actions. + See the inline documentation in [include/uapi] + for descriptions of all ioctls. + + close(2) + Stops and free up the I/O contexts that was associated + with the file descriptor. + +Users: TBD \ No newline at end of file diff --git a/MAINTAINERS b/MAINTAINERS index bfdfa94..dfcf49c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7300,6 +7300,7 @@ F: include/linux/jtag.h F: include/uapi/linux/jtag.h F: drivers/jtag/ F: Documentation/devicetree/bindings/jtag/ +F: Documentation/ABI/testing/jtag-cdev K10TEMP HARDWARE MONITORING DRIVER M: Clemens Ladisch