Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 30C86B7080 for ; Wed, 5 Aug 2009 01:33:10 +1000 (EST) Received: from buildserver.ru.mvista.com (unknown [213.79.90.228]) by ozlabs.org (Postfix) with ESMTP id B0CA3DDD04 for ; Wed, 5 Aug 2009 01:33:09 +1000 (EST) Date: Tue, 4 Aug 2009 19:33:07 +0400 From: Anton Vorontsov To: Joakim Tjernlund Subject: Re: Ang: Re: [PATCH 0/2] Setting GPIOs simultaneously Message-ID: <20090804153307.GA27107@oksana.dev.rtsoft.ru> References: <20090713222005.GA19859@oksana.dev.rtsoft.ru> <20090713151911.GA28114@oksana.dev.rtsoft.ru> <20090713173455.GA9866@oksana.dev.rtsoft.ru> <20090714220931.GA11378@oksana.dev.rtsoft.ru> <20090804142250.GA17398@oksana.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: Cc: linuxppc-dev@ozlabs.org, dbrownell@users.sourceforge.net, linux-kernel@vger.kernel.org Reply-To: avorontsov@ru.mvista.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Aug 04, 2009 at 04:59:13PM +0200, Joakim Tjernlund wrote: [...] > hmm, this looks promising. Can I write my own board-specific-csm > and attach it to the SPI CS engine? Yes, you'd able to do it, but there is no such thing as SPI CS engine, yet. See the two options of how we can implement it: http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg34738.html Grant said that he like option "2.", but also said that we might want to modify SPI requests (messages) before sending the data to the outside world. I think that the option "1." fits better for this task. Which means that implementation should be quite trivial -- just another spi master driver. > [...] the 8xxx SPI driver only looks for gpio functions. Yes, and we should consider removing the gpio stuff too. > Perhaps this is something that you are working on? No, I don't need the feature right now (i.e. no board that I'm working on needs this). But I know how to implement it (see the link above). -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2