linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Orjan Friberg <of-Gxjboj7dVqxWk0Htik3J/w@public.gmane.org>
To: <spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Bitbanged SPI over GPIO probe fail
Date: Mon, 9 Aug 2010 17:35:55 +0200	[thread overview]
Message-ID: <4C60205B.9090202@flatfrog.com> (raw)

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 

             reply	other threads:[~2010-08-09 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-09 15:35 Orjan Friberg [this message]
     [not found] ` <4C60205B.9090202-Gxjboj7dVqxWk0Htik3J/w@public.gmane.org>
2010-08-11 16:44   ` Bitbanged SPI over GPIO probe fail Orjan Friberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C60205B.9090202@flatfrog.com \
    --to=of-gxjboj7dvqxwk0htik3j/w@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).