From: Kevin Hilman <khilman@deeprootsystems.com>
To: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] Debobs and ETK padconf implementation
Date: Thu, 25 Sep 2008 14:40:19 +0300 [thread overview]
Message-ID: <873ajoo3mk.fsf@deeprootsystems.com> (raw)
In-Reply-To: <20080925113550.GC4654@codecarver.research.nokia.com> (Peter De Schrijver's message of "Thu\, 25 Sep 2008 14\:35\:50 +0300")
"Peter 'p2' De Schrijver" <peter.de-schrijver@nokia.com> writes:
>>
>> The cross-platform gpiolib calls should be used here.
>>
>> > + snprintf(name, sizeof(name), "hw_dbg%d", i);
>> > + err = _new_debobs_pad(&debobs_pads[i], name, i,
>> > + debobs_root);
>> > + if (err) {
>> > + omap_free_gpio(ETK_GPIO(i));
>> > + return err;
>> > + }
>> > + }
>> > + }
>>
>> In the successful case, future calls to gpio_request() to use these
>> lines will fail, since the line is reserved by the omap_request_gpio()
>> call.
>>
>
> Yes. That's intended. If debobs sucessfully claims the GPIO line, noone
> else should be allowed to claim it, unless debobs releases it again.
>
In that case, what is the proposed method for other kernel code to use
the debobs lines?
Kevin
next prev parent reply other threads:[~2008-09-25 11:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-17 15:02 [PATCH] debobs support for OMAP3430 Peter 'p2' De Schrijver
2008-09-17 15:02 ` [PATCH] Add definitions for ETK pads and debobs registers Peter 'p2' De Schrijver
2008-09-17 15:02 ` [PATCH] Debobs and ETK padconf implementation Peter 'p2' De Schrijver
2008-09-17 15:02 ` [PATCH] Add debobs Kconfig item Peter 'p2' De Schrijver
2008-09-25 8:58 ` Kevin Hilman
2008-09-25 8:56 ` [PATCH] Debobs and ETK padconf implementation Kevin Hilman
2008-09-25 11:35 ` Peter 'p2' De Schrijver
2008-09-25 11:40 ` Kevin Hilman [this message]
2008-09-25 11:52 ` Peter 'p2' De Schrijver
2008-09-25 12:06 ` Peter 'p2' De Schrijver
2008-09-25 12:31 ` Kevin Hilman
2008-09-25 17:04 ` David Brownell
2008-09-25 20:28 ` Kevin Hilman
2008-09-25 20:37 ` David Brownell
-- strict thread matches above, loose matches on Subject: below --
2008-09-16 9:51 [PATCH] debobs support for OMAP3430 Peter 'p2' De Schrijver
2008-09-16 9:51 ` [PATCH] Add definitions for ETK pads and debobs registers Peter 'p2' De Schrijver
2008-09-16 9:51 ` [PATCH] Debobs and ETK padconf implementation Peter 'p2' De Schrijver
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=873ajoo3mk.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=linux-omap@vger.kernel.org \
--cc=peter.de-schrijver@nokia.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.