From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: SPI question Date: Mon, 15 Jan 2007 13:27:44 -0800 Message-ID: <200701151327.45318.david-b@pacbell.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org On Monday 15 January 2007 6:29 am, zil iram wrote: > I am working on SPI on the osk right now. I connected a sensor > to the uwire pins of the osk. > I enabled the spi driver(spi.c), That's the SPI "framework". Which involves a controller driver (behind the programming interface) and at least one "protocol" driver. > and the microwire driver for omap. Is it > enough to use the spi.c APIs to access(read/write) the sensor that I have > attached through SPI? Does the SPI core driver(spi.c) wrap the microwire > driver? Yes, and yes. Although calling kernel programming interfaces an "Application Programming Interface" (API) is a misnomer. :) - Dave