Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4679586imm; Mon, 14 May 2018 11:03:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpT8aiDKhsjuhI8M9MloYi6oljOFsFXts9jytpbTGB+OtRSBwcZKq22uPpGNAylnctqjYqw X-Received: by 2002:a62:3bcb:: with SMTP id w72-v6mr11507394pfj.129.1526321025772; Mon, 14 May 2018 11:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526321025; cv=none; d=google.com; s=arc-20160816; b=h4OcbxJQjOY+LL/htVr8MEtC6No0gbOJUd1VOh4vaIQCPaqAusgVd6xExxnLQV456p qDjt8McrYtuyvfIVWm/gz1BrKzbZIBwtLA3YC3HdtnjFbzGmi0tubY/hrrp/BP9D5xpL fYGggFNgw/R1XZJg8yBVphik0rVV5I/G2ohEjZMp4pnKHKdNyQ1WKARILssRschJN7zt krZtJ1/T/5ICiQZih9v7WmG3dDp9/IDXz19eIM0BJSv1iXWqShYRZLpIZK1j4sISctVf WlAgEVG5ciFP0hXuZ8f2wfC+qKbd3wiV3dtpDGPM2tiKUQcx5Jtvpo8qMUY6F5WhcKrd CEFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Xurd6BcuKGJ75DjgRyROHjPQuf98Q5fH7jOa7tA6jkM=; b=MZE2dK8qwiYFiyp1xyrzmexks0eadoK+DPWi3qSmevNbGJWGBBmfHcDg8FWZEfXk1o p7Yj8XWpepJ8HYxT773rORRr1EY0LAuaGni1SAw/N5803E41e+0hdu6xW/ontqMIDaWd WxTP71ssu4fT68bFo9ryffHsOQ2WbpnrYnLA2KEKvUwc+5JfxqupuxMd9GhQsU61g2fP ck3WAqTeO4g7Wg/He5TL8cCXMmNCfuuyqxwGVzSO79um/mgpDAfv7lLFgyUsaUOWbPyP lgBIzT6uHo3JHgElCrvCRcWbMcvd3CtZMkNVO7uPXULQXc1wEk5eqWaCEmvmobbFz0js +3wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=koxT9JOr; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q15-v6si7681802pgt.266.2018.05.14.11.03.30; Mon, 14 May 2018 11:03:45 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=koxT9JOr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752042AbeENSBn (ORCPT + 99 others); Mon, 14 May 2018 14:01:43 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:45738 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751954AbeENSBl (ORCPT ); Mon, 14 May 2018 14:01:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xurd6BcuKGJ75DjgRyROHjPQuf98Q5fH7jOa7tA6jkM=; b=koxT9JOrSxMV8a87XK9ru0EIx GsW9LyrqkAHqDmfNRp8LLV0XYwxe360hjSfWtG/9wGBgPQRyVSFERSdSn5GUzMfWC5gKJbNnCzmJe HR6hsGxov5sjSjU+MjVj4WYe2BoFOFDhLv2BpRR5YLJ8gwtTshSQAPFIfr3wzq3v1luEwSbgeSBzN kTnbmtiKIQgrvhKEjMylCTzB3QXBzoBz3uoeNqY6LfzbYAayddOR6XezaON6A9MJChuNMvDVsCUOr j3jc5xjmMVUJ1CxGr42UY++1jOKHacprJOmYO/l6ILr+0QHO2qZElkYpQUayFCEnWhuTcO5voYAzp h3l74Zipw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIHmz-0004Gq-RI; Mon, 14 May 2018 18:01:37 +0000 Subject: Re: [patch v20 1/4] drivers: jtag: Add JTAG core driver To: Oleksandr Shamray , 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, Jiri Pirko References: <1526314803-3532-1-git-send-email-oleksandrs@mellanox.com> <1526314803-3532-2-git-send-email-oleksandrs@mellanox.com> From: Randy Dunlap Message-ID: <338d958b-f3c3-15b8-32b9-9d30bfb348b5@infradead.org> Date: Mon, 14 May 2018 11:01:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1526314803-3532-2-git-send-email-oleksandrs@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/14/2018 09:20 AM, Oleksandr Shamray wrote: Hi, Just a bit more Kconfig fixing below. > --- > Documentation/ioctl/ioctl-number.txt | 2 + > MAINTAINERS | 10 ++ > drivers/Kconfig | 2 + > drivers/Makefile | 1 + > drivers/jtag/Kconfig | 18 +++ > drivers/jtag/Makefile | 1 + > drivers/jtag/jtag.c | 274 ++++++++++++++++++++++++++++++++++ > include/linux/jtag.h | 41 +++++ > include/uapi/linux/jtag.h | 105 +++++++++++++ > 9 files changed, 454 insertions(+), 0 deletions(-) > create mode 100644 drivers/jtag/Kconfig > create mode 100644 drivers/jtag/Makefile > create mode 100644 drivers/jtag/jtag.c > create mode 100644 include/linux/jtag.h > create mode 100644 include/uapi/linux/jtag.h > diff --git a/drivers/jtag/Kconfig b/drivers/jtag/Kconfig > new file mode 100644 > index 0000000..ba72a2b > --- /dev/null > +++ b/drivers/jtag/Kconfig > @@ -0,0 +1,18 @@ > +menuconfig JTAG > + tristate "JTAG support" > + help > + This provides basic core functionality support for JTAG class devices (end sentence above with '.') devices. > + Hardware that is equipped with a JTAG microcontroller can be > + supported by using this driver's interfaces. > + This driver exposes a set of IOCTL to the user space for IOCTLs > + another commands: various commands: or the following commands: or associated commands: > + SDR: (Scan Data Register) Performs an IEEE 1149.1 Data Register scan > + SIR: (Scan Instruction Register) Performs an IEEE 1149.1 Instruction > + Register scan. > + RUNTEST: Forces the IEEE 1149.1 bus to a run state for a specified > + number of clocks or a specified time period. > + > + If you want this support, you should say Y here. > + > + To compile this driver as a module, choose M here: the module will > + be called jtag. thanks, -- ~Randy