From: David Brownell <david-b@pacbell.net>
To: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>,
linux-omap@vger.kernel.org
Subject: Re: [PATCH] Debobs and ETK padconf implementation
Date: Thu, 25 Sep 2008 13:37:53 -0700 [thread overview]
Message-ID: <200809251337.54394.david-b@pacbell.net> (raw)
In-Reply-To: <48DBF45F.7020601@deeprootsystems.com>
On Thursday 25 September 2008, Kevin Hilman wrote:
> But I'm still not sure how to best deal with the possibiltity that the
> pin might not always be a GPIO, but might be reconfigured/re-mux'd by
> this debobs interface as a debug observability pin.
Some platforms have interfaces to reserve and unreserve pins.
Normally used to ensure drivers can't do things like remux
address bus pins, but I suppose it could also be used for this
sort of thing too.
> My initial thought
> was to have the debobs interface gpio_request() the line if it was in
> observability mode so that nobody else could use it as a GPIO line, then
> gpio_free() it when it was put back into GPIO mode thus making it
> available to other users as a GPIO. While that may work, it seems
> counter-intuitive and rather kludgy. Not sure what the best way is..
GPIOs are all that get managed with GPIO calls.
The pinmux calls use enums for pins, which could be used as
identifiers with some reservation scheme that copes with
other non-GPIO usages.
The worst case, design wise, is OMAP1 chips where many GPIOs
can come out on several pins ... and conversely, many pins
could be connected to any of several GPIOs (or MPUIOs).
- Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-09-25 20:37 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
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 [this message]
-- 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=200809251337.54394.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox