Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933226AbcKHRGO (ORCPT ); Tue, 8 Nov 2016 12:06:14 -0500 Received: from mail-qk0-f176.google.com ([209.85.220.176]:34407 "EHLO mail-qk0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932329AbcKHRGM (ORCPT ); Tue, 8 Nov 2016 12:06:12 -0500 MIME-Version: 1.0 In-Reply-To: <4bdba358-db18-48f1-3286-a7a7f4c30215@denx.de> References: <1478486962-26794-1-git-send-email-joel@airwebreathe.org.uk> <1478486962-26794-3-git-send-email-joel@airwebreathe.org.uk> <2255968d-b97c-2b9c-4e4d-7f3717a748e3@denx.de> <01d1a97b-2f43-49a6-51fb-e223ef4dce9b@airwebreathe.org.uk> <4bdba358-db18-48f1-3286-a7a7f4c30215@denx.de> From: Moritz Fischer Date: Tue, 8 Nov 2016 09:06:10 -0800 Message-ID: Subject: Re: [PATCH v8 3/3] fpga: Add support for Lattice iCE40 FPGAs To: Marek Vasut Cc: Joel Holdsworth , Alan Tull , Geert Uytterhoeven , Rob Herring , Devicetree List , Linux Kernel Mailing List , linux-spi@vger.kernel.org, Clifford Wolf 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: 334 Lines: 14 Marek, On Mon, Nov 7, 2016 at 10:53 AM, Marek Vasut wrote: >> On the whole, I don't think the zero-length transfers are too >> egregiously bad, and all the alternatives seem worse to me. > > So why not turn the CS line into GPIO and just toggle the GPIO? Does that work with *all* SPI controllers? Cheers, Moritz