Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751554AbdGYLwo (ORCPT ); Tue, 25 Jul 2017 07:52:44 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:36284 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbdGYLwm (ORCPT ); Tue, 25 Jul 2017 07:52:42 -0400 Date: Tue, 25 Jul 2017 13:52:35 +0200 From: Johan Hovold To: Anatolij Gustschin Cc: Johan Hovold , Lee Jones , Linus Walleij , Alan Tull , Moritz Fischer , linux-gpio@vger.kernel.org, linux-fpga@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, David Laight Subject: Re: [PATCH 1/3] mfd: Add support for FTDI FT232H devices Message-ID: <20170725115235.GO2729@localhost> References: <1499374158-12388-1-git-send-email-agust@denx.de> <1499374158-12388-2-git-send-email-agust@denx.de> <20170710125210.GK29638@localhost> <20170719085934.GU29638@localhost> <20170719145900.42172f44@crub> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170719145900.42172f44@crub> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1149 Lines: 27 On Wed, Jul 19, 2017 at 02:59:00PM +0200, Anatolij Gustschin wrote: > On Wed, 19 Jul 2017 10:59:34 +0200 > Johan Hovold johan@kernel.org wrote: > >> And as David Laight already pointed out, your ftdi-fifo-fpp-mgr driver > >> seems too application specific for a generic chip like this. > > > >Of which this is one is one of the major. > > Thanks all for feedback. I'm still pondering how to interface the > fpga manager driver to FTDI FIFO driver. > > >In short, your driver is much to application specific and is probably > >something that needs to be implemented in userspace using libftdi. > > I have a requirement to use the fpga manager framework, therefore the > kernel driver is needed. Our usage scenario is a multi stage fpga > configuration process, the first stage is a pre-configuration via > FTDI SPI/FIFO, all subsequent stages are also done by other fpga > manager drivers. libftdi based driver already existed for hardware > bring-up, now I need similar functionality as kernel fpga manager. How are you even accessing these fpga-managers from userspace? I thought current interface was for in-kernel use only? Thanks, Johan