From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from casper.infradead.org ([85.118.1.10]:45438 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752919Ab0LaL1u (ORCPT ); Fri, 31 Dec 2010 06:27:50 -0500 Message-ID: <4D1DBE2A.5080003@infradead.org> Date: Fri, 31 Dec 2010 09:27:38 -0200 From: Mauro Carvalho Chehab MIME-Version: 1.0 To: Laurent Pinchart CC: "Igor M. Liplianin" , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, aospan@netup.ru Subject: Re: [PATCH 01/18] Altera FPGA firmware download module. References: <201012310726.31851.liplianin@netup.ru> <201012311212.19715.laurent.pinchart@ideasonboard.com> In-Reply-To: <201012311212.19715.laurent.pinchart@ideasonboard.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-ID: Sender: Mauro Carvalho Chehab Em 31-12-2010 09:12, Laurent Pinchart escreveu: > Hi Igor, > > On Friday 31 December 2010 06:26:31 Igor M. Liplianin wrote: >> It uses STAPL files and programs Altera FPGA through JTAG. >> Interface to JTAG must be provided from main device module, >> for example through cx23885 GPIO. > > It might be a bit late for this comment (sorry for not having noticed the > patch set earlier), but... > > Do we really need a complete JTAG implementation in the kernel ? Wouldn't it > better to handle this in userspace with a tiny kernel driver to access the > JTAG signals ? > Laurent, Igor already explained it. From what I understood, the device he is working has a firmware that needs to be loaded via JTAG/FPGA. Actually, I liked the idea, as the FPGA programming driver could be useful if other drivers have similar usecases. Cheers, Mauro