From: lars@metafoo.de (Lars-Peter Clausen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: gta02: Add gpio bank B quirk for hardware revision 5 and earlier
Date: Sun, 29 Nov 2009 11:56:51 +0100 [thread overview]
Message-ID: <4B125373.9020505@metafoo.de> (raw)
In-Reply-To: <20091129083425.GB1530@ucw.cz>
Pavel Machek wrote:
> Hi!
>
>> On gta02 hardware revision 5 and earlier the basis resistors for
>> transistors of the leds are missing and reading their gpio pin
>> status will always return 0. So we have to shadow the led states
>> in software. This is done by "hijacking" the gpio accessor
>> functions for bank B.
>
> Should that be done in LED driver, instead? Pave
Hi
Nope, that won't work. Every time a gpio on gpb is changed the leds
will turn off. So we would have to ship a special version of each
driver using a gpio pin form gpb. We certainly don't want to do that.
- Lars
next prev parent reply other threads:[~2009-11-29 10:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-28 3:05 ARM: gta02: Add Button, LED and Vibrator support Lars-Peter Clausen
2009-11-28 3:05 ` [PATCH] ARM: gta02: Add button support Lars-Peter Clausen
2009-11-28 3:05 ` [PATCH] ARM: gta02: Add LED support Lars-Peter Clausen
2009-11-28 3:05 ` [PATCH] ARM: gta02: Add vibrator support Lars-Peter Clausen
2009-11-28 3:05 ` [PATCH] ARM: gta02: Add gpio bank B quirk for hardware revision 5 and earlier Lars-Peter Clausen
2009-11-29 8:34 ` Pavel Machek
2009-11-29 10:56 ` Lars-Peter Clausen [this message]
2009-11-30 12:31 ` Pavel Machek
2009-11-30 18:56 ` Jamie Lokier
2009-12-01 12:32 ` Pavel Machek
2009-12-01 18:27 ` Ben Dooks
2009-11-29 8:37 ` [PATCH] ARM: gta02: Add vibrator support Pavel Machek
2009-11-29 8:31 ` [PATCH] ARM: gta02: Add button support Pavel Machek
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=4B125373.9020505@metafoo.de \
--to=lars@metafoo.de \
--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).