Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp189091ybb; Tue, 14 Apr 2020 22:38:57 -0700 (PDT) X-Google-Smtp-Source: APiQypLw9tYMPPq3ikrrgIqrqSkM3uNsPu6dyZHF3EeD21QUwmeoZ+BDNjXd1Ftcu/cXNkSemfDm X-Received: by 2002:a17:906:560b:: with SMTP id f11mr3247145ejq.264.1586929136451; Tue, 14 Apr 2020 22:38:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586929136; cv=none; d=google.com; s=arc-20160816; b=D1GZYpNkm0PanDKSd75j876CcbZyw38c+WICZd6A2wESnWcwWzye4W+IEh0u1w1wKa RA4rBbQ9TBYwXAxhMHzI4Xp7gnkWp7CqynVSl6O4bmGeM+xr69Na47eDKPt/T1ItNiDM OB34z07Bp2i8Iz6Vwad4MazKptVJES+RgcJNnPIsGcvIYnnyzQuHqwfF6B16R62IJCyP upphsFXgAOygCDOQ+44WfCxpkUS+e3iy0IIkgM/X/6X8GVjQ8kBlEZzZ62Fo8n/k+D9o 1xvpSJbdOky3XVcJYwFCClzvUsYW/z0b4xnz1Iy6sioW8RhG/xzaeMUVsYIWNuELjpr2 bIHA== 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:ironport-sdr:ironport-sdr; bh=Yz36R+hZpCyGFT86d3vkAa42MqtIfBRVi8axUeQdhlQ=; b=n7EUMIqEGH0HqnD1p1uIR4WOW6ujYlihVXB1Z2z0cDtT5sce/Zj7zCZOzH0ZEBZFDW 8oJX8C5yAI0SbAFjzs/X+rcqpWU51AejCSv8gdnnRI0hVjmcAlHAasEbLLrK0c2mQq7j lSJM73ydZfTyNfnK7MwQr36HjKlB4EAFPxospSYDDL6E4mtqXGPavhXD4n0OlgpUkqVe NebpGRDBtaSMygXlQEEL21+CJZdamNL/EhnH1/uRxZEyGl+15gEXxbZiLoQ+m4g4EjmN HOE5cWJYLAjkAYxjgg8H+W1vnoxMyg83XTkiUvtRAC6i/WotaKFJwmRKVyFr3t2wLTdF nqhQ== 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 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si8698088ejc.103.2020.04.14.22.38.30; Tue, 14 Apr 2020 22:38:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389657AbgDMWaa (ORCPT + 99 others); Mon, 13 Apr 2020 18:30:30 -0400 Received: from mga09.intel.com ([134.134.136.24]:8320 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389640AbgDMWaT (ORCPT ); Mon, 13 Apr 2020 18:30:19 -0400 IronPort-SDR: 71KRODS1DmKs14YIOf4w/XSc6CEE2MtGqNC+JKlwTh2N+8OOUycYZr/KaHAuSiVtjjcVCLScpV NnHpLwQ/s84A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.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 Cc: Ernesto Corona , Oleksandr Shamray , Jonathan Corbet , Greg Kroah-Hartman , Gustavo Pimentel , Lorenzo Pieralisi , Kishon Vijay Abraham I , "Darrick J . Wong" , "Bryant G . Ly" , Eric Sandeen , Randy Dunlap , Tomohiro Kusumi , Arnd Bergmann , Mauro Carvalho Chehab , Alexandre Belloni , "Theodore Ts'o" , Eric Biggers , Steven Filary , Jiri Pirko , Vadim Pasternak , Amithash Prasad , Patrick Williams , Rgrs 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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