Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941878AbcJYQcY (ORCPT ); Tue, 25 Oct 2016 12:32:24 -0400 Received: from auth.a.painless.aa.net.uk ([90.155.4.51]:52972 "EHLO auth.a.painless.aa.net.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756547AbcJYQcD (ORCPT ); Tue, 25 Oct 2016 12:32:03 -0400 Subject: Re: [v2 2/2] fpga: Add support for Lattice iCE40 FPGAs To: atull References: <1477283989-21947-1-git-send-email-joel@airwebreathe.org.uk> <1477283989-21947-2-git-send-email-joel@airwebreathe.org.uk> Cc: ijc+devicetree@hellion.org.uk, galak@codeaurora.org, mark.rutland@arm.com, moritz.fischer@ettus.com, pawel.moll@arm.com, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org From: Joel Holdsworth Message-ID: <0cf56793-f0e4-5584-946e-6bb0fbc6a454@airwebreathe.org.uk> Date: Tue, 25 Oct 2016 10:31:49 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Painless-Spam-Score: -4.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 27 Hi Alan > Yes! I have submitted patches for doing exactly that. About to > submit v21. Here's patch 1 of v20: > > https://patchwork.kernel.org/patch/9379859/ That's really cool. I hope it gets accepted. >> and/or if there were any patches for loading >> firmware from userspace - something like this: "cat firmware.bin > >> /dev/fpga0"? > > We discussed doing a char driver interface. That's where all this > started. It met with lots of resistance. > Yeah I saw some slides about it. Personally I don't care too much about the character device thing. It could be something in sysfs - anything that allows the user to inject firmware firmware from user-space. Joel