Received: by 10.223.176.5 with SMTP id f5csp2941554wra; Mon, 29 Jan 2018 06:33:49 -0800 (PST) X-Google-Smtp-Source: AH8x225wNVlW0Mi9AzzB23CGFYZnAKDPWTgz0nPzuPrHna8v5tkUauBMfJxig1Ux2fEBSSRiZBtI X-Received: by 2002:a17:902:6683:: with SMTP id e3-v6mr21813000plk.22.1517236429741; Mon, 29 Jan 2018 06:33:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517236429; cv=none; d=google.com; s=arc-20160816; b=VDMXt+w5KPCewfxAkVGqPFnVInyw0ExjHMfKhUQmqonfO89er8ifXifNPlOlH0L3n2 W3YceHEXhEc37tLNZ79Q0iwWy9LM+HUrGy+QzZVJQj4xCFPeOxMMq4ynI8UKXjlB7R/t FGCuM/mTZ7pGwCXgTmnxqR9+jtasiVKegeBohQJzIyKVGsjCmNH1YHuuJuQSjhTyWkvO 3xLoJH8vii1rWezgHtaniTSY7VnpBYYGKhJw5aYJHVPD4M5dbPQx/hCta14BmbfZGx4f dZjsHGeZih7htrPUSzvqAXS/t6es6wppki0iUG0GV/DKvVs8E1lMmjjwwzLWd2V0STDI eM2Q== 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=U7Yd4kY1T4qWv09MlW4ARj7lbfax06PuPmm50AEjtsg=; b=TrI4U+Qr5IgZOQsJ9ZKi/b5c5b2XuTN2bj0cWr92qbl+OkFc3txw3Ts5behXcV45FS 7u4XMUcecjyLOcfclZfPB3b7B8wh0lquGFmP1lCzd5QbMPddKhi5F931oPy+P4uy4fWL JpspecQy2v0mwx1h0IRcZh+6dtHeuwBJn8ZiUNHuzDAZguGs6Pmgzo4FaRCKqiinTNZQ buIlPrQE1LZ4vr2YyHNY1/EmrqwtQGitg+i14E9GcvFpdBqV4sPH/j4IDoux5jHQeZ4o 80RrEhJdqQ2BYwbW1KFKQCKWJjiIMN/5ICec6s/BNyiGRASk3hpwkyUHTOgQ+IpuIIKF /irA== 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 m1-v6si2093159plk.547.2018.01.29.06.33.34; Mon, 29 Jan 2018 06:33:49 -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; 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 S1752068AbeA2Ob5 (ORCPT + 99 others); Mon, 29 Jan 2018 09:31:57 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:38482 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752036AbeA2Obv (ORCPT ); Mon, 29 Jan 2018 09:31:51 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from oleksandrs@mellanox.com) with ESMTPS (AES256-SHA encrypted); 29 Jan 2018 16:31:47 +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 w0TEVk40006123; Mon, 29 Jan 2018 16:31:46 +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, 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 v18 4/4] Documentation: jtag: Add ABI documentation Date: Mon, 29 Jan 2018 16:31:45 +0200 Message-Id: <1517236305-4880-5-git-send-email-oleksandrs@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1517236305-4880-1-git-send-email-oleksandrs@mellanox.com> References: <1517236305-4880-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 --- v17->v18 v16->v17 v15->v16 v14->v15 v13->v14 v12->v13 v11->v12 Tobias Klauser - rename /Documentation/ABI/testing/jatg-dev -> jtag-dev - Typo: s/interfase/interface 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/jtag-dev | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 Documentation/ABI/testing/jtag-dev diff --git a/Documentation/ABI/testing/jtag-dev b/Documentation/ABI/testing/jtag-dev new file mode 100644 index 0000000..9db83ea --- /dev/null +++ b/Documentation/ABI/testing/jtag-dev @@ -0,0 +1,27 @@ +What: /dev/jtag[0-9]+ +Date: October 2017 +KernelVersion: 4.17 +Contact: oleksandrs@mellanox.com +Description: + The misc device files /dev/jtag* are the interface + between JTAG master interface 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 -- 1.7.1