From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92510C2BA2B for ; Mon, 13 Apr 2020 22:31:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 425342063A for ; Mon, 13 Apr 2020 22:31:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fmBpSSl3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 425342063A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=qSVMwNRZtIVt02YcUNYCBFVfgQb4Z7vyloS3dQJND9E=; b=fmBpSSl3BiSTL22d4zGEkGzhOt hbteX2eEDGeE9KO05pV1tyAuDS+2S9NokmCHRAKBQeVe03O4izYZFYx81ERFPs9nsi7O3FeTNz+t7 EbtGBt2qstQEZfVBpnv0ShZhlbvZCgWN3xrVZG5nLOd/xLppX+oGSoUXVIz7RJCafvyfFs0EIJaFR C1edsmFpO7lbj4PDp2lTlSibRy6utUxLxn0y5+3rjwqhVjh45sw1+hUMnC9YV3H0//a1HqWHm/qQ7 wK55QV/zqOMYwhfEJBWj+Z4AG6dVObCeMxScyYKWdP2K0LkK9dmvSmbBeOBBiC5H2KcRzVRiiODGr Hn3JP0Mw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jO7cF-0007T4-LW; Mon, 13 Apr 2020 22:31:43 +0000 Received: from mga17.intel.com ([192.55.52.151]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jO7as-0006Ib-Vn for linux-arm-kernel@lists.infradead.org; Mon, 13 Apr 2020 22:30:20 +0000 IronPort-SDR: EsunnLOg8DWl2EkqgohgqSM6gfLTyZz8EMP4wEj6qpra81mbABbl3SLpSc/2AVgYzuz/O4l1Yg q0TLfVYRCWlQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2020 15:30:17 -0700 IronPort-SDR: a9DLrLUPB5LEHN/yIh8etgbMCYe5+mBzqUQHtKnxfofF0OIeyFD6XqVg6rbZ8ztxJoleTvUyA0 4KIYF6pMT4ww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,380,1580803200"; d="scan'208";a="399760856" Received: from epcorona-mobl.amr.corp.intel.com (HELO epcorona-moblu.amr.corp.intel.com) ([10.254.189.204]) by orsmga004.jf.intel.com with ESMTP; 13 Apr 2020 15:30:04 -0700 From: Ernesto Corona To: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH v29 5/6] Documentation jtag: Add JTAG core driver ioctl number Date: Mon, 13 Apr 2020 15:29:19 -0700 Message-Id: <20200413222920.4722-6-ernesto.corona@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200413222920.4722-1-ernesto.corona@intel.com> References: <20200413222920.4722-1-ernesto.corona@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200413_153019_087615_EAB181CD X-CRM114-Status: GOOD ( 10.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , Randy Dunlap , Eric Biggers , Steven Filary , Amithash Prasad , Rgrs , Mauro Carvalho Chehab , Eric Sandeen , Lorenzo Pieralisi , Jonathan Corbet , Kishon Vijay Abraham I , "Bryant G . Ly" , Patrick Williams , Arnd Bergmann , Tomohiro Kusumi , Jiri Pirko , Theodore Ts'o , Vadim Pasternak , Gustavo Pimentel , "Darrick J . Wong" , Greg Kroah-Hartman , Ernesto Corona , Oleksandr Shamray MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org JTAG class driver provide infrastructure to support hardware/software JTAG platform drivers. It provide user layer API interface for flashing and debugging external devices which equipped with JTAG interface using standard transactions. Driver exposes set of IOCTL to user space for: - XFER: SIR (Scan Instruction Register, IEEE 1149.1 Data Register scan); SDR (Scan Data Register, IEEE 1149.1 Instruction Register scan); - GIOCSTATUS read the current TAPC state of the JTAG controller - SIOCSTATE Forces the JTAG TAPC to go into a particular state. - SIOCFREQ/GIOCFREQ for setting and reading JTAG frequency. - IOCBITBANG for low level control of JTAG signals. Signed-off-by: Oleksandr Shamray Signed-off-by: Ernesto Corona Acked-by: Philippe Ombredanne Cc: Jonathan Corbet Cc: Greg Kroah-Hartman Cc: Gustavo Pimentel Cc: Lorenzo Pieralisi Cc: Kishon Vijay Abraham I Cc: Darrick J. Wong Cc: Bryant G. Ly Cc: Eric Sandeen Cc: Randy Dunlap Cc: Tomohiro Kusumi Cc: Arnd Bergmann Cc: Mauro Carvalho Chehab Cc: Alexandre Belloni Cc: "Theodore Ts'o" Cc: Eric Biggers Cc: Steven Filary Cc: Jiri Pirko Cc: Vadim Pasternak Cc: Amithash Prasad Cc: Patrick Williams Cc: Rgrs v28->v29 Move ioctl number to userspace-api/ioctl/ioctl-number.rst --- Documentation/userspace-api/ioctl/ioctl-number.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst b/Documentation/userspace-api/ioctl/ioctl-number.rst index f759edafd938..7c005fc9a1c2 100644 --- a/Documentation/userspace-api/ioctl/ioctl-number.rst +++ b/Documentation/userspace-api/ioctl/ioctl-number.rst @@ -332,6 +332,8 @@ Code Seq# Include File Comments 0xB1 00-1F PPPoX +0xB2 00-0F linux/jtag.h JTAG driver + 0xB3 00 linux/mmc/ioctl.h 0xB4 00-0F linux/gpio.h 0xB5 00-0F uapi/linux/rpmsg.h -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel