From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp125.sbc.mail.sp1.yahoo.com (smtp125.sbc.mail.sp1.yahoo.com [69.147.65.184]) by ozlabs.org (Postfix) with SMTP id 96564DDE3A for ; Fri, 21 Nov 2008 14:17:41 +1100 (EST) From: David Brownell To: "Jason Hanna" Subject: Re: [spi-devel-general] [PATCH v3] spi: Add PPC4xx SPI driver Date: Thu, 20 Nov 2008 19:17:37 -0800 References: <1225000124-29366-1-git-send-email-sr@denx.de> <20081029145305.GA3676@yoda.jdub.homelinux.org> <8f9e78f00810301624k5925a52ah924960f869388233@mail.gmail.com> In-Reply-To: <8f9e78f00810301624k5925a52ah924960f869388233@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <200811201917.38148.david-b@pacbell.net> Cc: spi-devel-general@lists.sourceforge.net, Stefan Roese , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thursday 30 October 2008, Jason Hanna wrote: > Also, any pointers to sample/test code incorporating a spi protocol > driver would be incredibly helpful. Look at Documentation/spi/*.c ... for user mode code hooking up through "spidev". > I'm very new to device driver > programming and don't really know what I'm doing yet. I seem to be > getting the spi_ppc4xx and spi_bitbang modules loaded, but am unsure > how to verify proper initialization and what next steps I need to > follow in order to develop and associate a protocol driver. Documentation/spi/spi-summary should help. And sticking a 'scope on the outputs (as you said you plan) is a decent place to start, if you don't have something to talk to yet. - dave