linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: alandpearson@gmail.com (Alan Pearson)
To: linux-arm-kernel@lists.infradead.org
Subject: w1-gpio oops
Date: Tue, 9 Nov 2010 16:52:31 +0000	[thread overview]
Message-ID: <F67FCEAB-7AD7-4920-969C-124C4C172DBC@gmail.com> (raw)
In-Reply-To: <87lj524hrt.fsf@lechat.rtp-net.org>


>>> P. So u might need to define those
>>> in your board file.
>>> 
>> 
>> OK, I've modified my board file like so (guruplug-setup.c) :
>> 
>> 
>> static struct w1_gpio_platform_data guru_gpio_platform_data = {
>>        .pin                    = MPP38_GPIO,
> 
> It's 38 not MPP38_GPIO. MPP38_GPIO is for the guruplug_mpp_config[]
> stuff (looks at how the leds are configured for instance)
> 
> 
> Arnaud
> 
> 


Guys, thanks. I've now got the module loading and utilising the GPIO pin.
I know it is, because I cannot now grab the GPIO pin for normal GPIO as the w1_gpio driver has claimed ownership.

I can't get it to see my device yet, but I'll get that figured out soon I hope.

Many thanks for all your help, it is really appreciated here.

Alan

      reply	other threads:[~2010-11-09 16:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09 13:59 w1-gpio oops Alan Pearson
2010-11-09 14:29 ` Hemanth V
2010-11-09 14:44   ` Alan Pearson
2010-11-09 14:53     ` Hemanth V
2010-11-09 14:56       ` Alan Pearson
2010-11-09 15:40       ` Alan Pearson
2010-11-09 15:51         ` Arnaud Patard (Rtp)
2010-11-09 16:52           ` Alan Pearson [this message]

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=F67FCEAB-7AD7-4920-969C-124C4C172DBC@gmail.com \
    --to=alandpearson@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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).