From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932891AbZHDPdM (ORCPT ); Tue, 4 Aug 2009 11:33:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932874AbZHDPdK (ORCPT ); Tue, 4 Aug 2009 11:33:10 -0400 Received: from ru.mvista.com ([213.79.90.228]:46604 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932808AbZHDPdK (ORCPT ); Tue, 4 Aug 2009 11:33:10 -0400 Date: Tue, 4 Aug 2009 19:33:07 +0400 From: Anton Vorontsov To: Joakim Tjernlund Cc: dbrownell@users.sourceforge.net, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org Subject: Re: Ang: Re: [PATCH 0/2] Setting GPIOs simultaneously Message-ID: <20090804153307.GA27107@oksana.dev.rtsoft.ru> Reply-To: avorontsov@ru.mvista.com 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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