Received: by 10.223.164.221 with SMTP id h29csp274953wrb; Fri, 3 Nov 2017 08:58:28 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Sv+SsmSPwuUCRsvy7RbYBLwp2CBbvXwUHWPaJRXdM2QuJYCiXCkCKwT+v3g+pj8AmXN8ja X-Received: by 10.99.97.7 with SMTP id v7mr7503225pgb.152.1509724708563; Fri, 03 Nov 2017 08:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509724708; cv=none; d=google.com; s=arc-20160816; b=BQl3gqIxPAPi1d1lHlo4pZC9duvlKRK6iKaVQkI5dXxRWSF7fN6mfHi0ysRae2w05h I+DOj4Rv3SStrzcSeNl7T/FoHRgsEfiNZK6O493GIHoLQJ/62PaIo8dg2P4M0SHJkOKj O5ZCZ3giYPN9k1xcCdVqd1ZCfHvnkmw6QIYJFuzp0n3WKngyMtY550ELuhROJQHZnPmZ CPMKQa8qUreAOisdqFuts8AIQ4iV1tCJmbokKdnphQIDDbeMhmtVhoTZJ28rUkG5kO6F U4J+OLRAmQkRatnIvwYASs7k1n1QXPP0lXO8UCc93CpspKihltGEelFzRK/3wU9hEvws ic0A== 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:message-id:date :subject:cc:to:from:arc-authentication-results; bh=MPWmxsdKzLkc0Cs9niiHX+dyyjBfgnqGf632mI2OKD0=; b=KrX7W/J8JZen+4PFRdu+9GcCKQF6JeHC0xDfrxy3p1EbjiD2BIsRd3j6lkzwU+tF// /dj7UzdII1m0qIdzN/HxC/HPWIaeRsQd7s3vidQrquWS7k5VN/PKKmf/rfgO2cDvuj0C AFyAqUk320xk8084KVgPZLmC7YgC/3PNQlt476WBGhkAosvHh024l6+BWyvrU6rjaMrN 2dBl6hb//d6iDbetuo4i7KkJDXc8SOHe+0lCMjrURzVCIox9eOHNOzPoV7Iu26ZStyLn nkiPF0lqzqpX44CysueTSd2flw9PolIHR0cqUUPyc1wbjqGnKIH/RgdRxX82byrztbkU JrQQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1si5259702plk.714.2017.11.03.08.58.03; Fri, 03 Nov 2017 08:58:28 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755911AbdKCPzM (ORCPT + 95 others); Fri, 3 Nov 2017 11:55:12 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:58256 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756010AbdKCPyP (ORCPT ); Fri, 3 Nov 2017 11:54:15 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from oleksandrs@mellanox.com) with ESMTPS (AES256-SHA encrypted); 3 Nov 2017 17:54:12 +0200 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 vA3Fs9oq028397; Fri, 3 Nov 2017 17:54:12 +0200 From: Oleksandr Shamray To: gregkh@linuxfoundation.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, openbmc@lists.ozlabs.org, joel@jms.id.au, jiri@resnulli.us, tklauser@distanz.ch, linux-serial@vger.kernel.org, mec@shout.net, vadimp@mellanox.com, system-sw-low-level@mellanox.com, robh+dt@kernel.org, openocd-devel-owner@lists.sourceforge.net, linux-api@vger.kernel.org, davem@davemloft.net, mchehab@kernel.org, Oleksandr Shamray Subject: [patch v11 4/4] Documentation: jtag: Add ABI documentation Date: Fri, 3 Nov 2017 17:54:09 +0200 Message-Id: <1509724449-26221-5-git-send-email-oleksandrs@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1509724449-26221-1-git-send-email-oleksandrs@mellanox.com> References: <1509724449-26221-1-git-send-email-oleksandrs@mellanox.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added document that describe the ABI for JTAG class drivrer Signed-off-by: Oleksandr Shamray Acked-by: Arnd Bergmann --- v10->v11 v9->v10 Fixes added by Oleksandr: - change jtag-cdev to jtag-dev in documentation - update Kernel Version and Date in jtag-dev documentation; v8->v9 v7->v8 v6->v7 Comments pointed by Pavel Machek - Added jtag-cdev documentation to Documentation/ABI/testing folder --- Documentation/ABI/testing/jatg-dev | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 Documentation/ABI/testing/jatg-dev diff --git a/Documentation/ABI/testing/jatg-dev b/Documentation/ABI/testing/jatg-dev new file mode 100644 index 0000000..803dbab --- /dev/null +++ b/Documentation/ABI/testing/jatg-dev @@ -0,0 +1,27 @@ +What: /dev/jtag[0-9]+ +Date: October 2017 +KernelVersion: 4.15 +Contact: oleksandrs@mellanox.com +Description: + The misc 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 -- 1.7.1 From 1583421334687717406@xxx Tue Nov 07 15:24:18 +0000 2017 X-GM-THRID: 1583328094987662143 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread