Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753929AbdLNSNu (ORCPT ); Thu, 14 Dec 2017 13:13:50 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:40032 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753703AbdLNSNs (ORCPT ); Thu, 14 Dec 2017 13:13:48 -0500 X-Google-Smtp-Source: ACJfBotStIXl7oDpqaMXpaoFU3akH8gGQeE9xrU6hOI1lRAan44Flov0edvOTVdDXdTph0Tgve6th0UpeRYwjZlQDVo= MIME-Version: 1.0 In-Reply-To: <1513268971-13518-2-git-send-email-oleksandrs@mellanox.com> References: <1513268971-13518-1-git-send-email-oleksandrs@mellanox.com> <1513268971-13518-2-git-send-email-oleksandrs@mellanox.com> From: Philippe Ombredanne Date: Thu, 14 Dec 2017 19:13:06 +0100 Message-ID: Subject: Re: [patch v14 1/4] drivers: jtag: Add JTAG core driver To: Oleksandr Shamray Cc: Greg Kroah-Hartman , Arnd Bergmann , LKML , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , OpenBMC Maillist , joel@jms.id.au, =?UTF-8?B?SmnFmcOtIFDDrXJrbw==?= , Tobias Klauser , linux-serial@vger.kernel.org, vadimp@mellanox.com, system-sw-low-level@mellanox.com, Rob Herring , openocd-devel-owner@lists.sourceforge.net, linux-api@vger.kernel.org, "David S. Miller" , Mauro Carvalho Chehab , Jiri Pirko Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1815 Lines: 54 Oleksandr, On Thu, Dec 14, 2017 at 5:29 PM, Oleksandr Shamray wrote: > Initial patch for JTAG driver > 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); > - RUNTEST (Forces the IEEE 1149.1 bus to a run state for a specified > number of clocks). > - SIOCFREQ/GIOCFREQ for setting and reading JTAG frequency. > > Driver core provides set of internal APIs for allocation and > registration: > - jtag_register; > - jtag_unregister; > - jtag_alloc; > - jtag_free; > > Platform driver on registration with jtag-core creates the next > entry in dev folder: > /dev/jtagX > > Signed-off-by: Oleksandr Shamray > Signed-off-by: Jiri Pirko > --- > v13->v14 > Comments pointed by Philippe Ombredanne > - Change style of head block comment from /**/ to // > > v12->v13 > Comments pointed by Philippe Ombredanne > - Change jtag.c licence type to > SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note > and reorder line with license in description > v11->v12 > Comments pointed by Greg KH > - Change jtag.h licence type to > SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note > and reorder line with license in description Thanks for the SPDX bits: for this part you have my ack: Acked-by: Philippe Ombredanne