From mboxrd@z Thu Jan 1 00:00:00 1970 From: Orjan Friberg Subject: Bitbanged SPI over GPIO probe fail Date: Mon, 9 Aug 2010 17:35:55 +0200 Message-ID: <4C60205B.9090202@flatfrog.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org Hi list, I'm trying to use the bitbanged spi_gpio.c driver on a Beagleboard, using the inlined approach (defining gpio pin numbers and cs). When modprobing the driver platform_driver_probe returns -ENODEV but spi_gpio_probe is not being called, which seems odd to me. Any suggestions? This is on a 2.6.32 TI PSP kernel. There is in fact no device attached on the pins, but as the driver's probe function isn't called I don't think it should matter. Also, I have checked that I can manually control the pins through /sys/class/gpio. Thanks, Orjan -- Orjan Friberg FlatFrog Laboratories AB ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev