Thread (59 messages) 59 messages, 10 authors, 2009-12-26

GPIO support for HTC Dream

flat view

From: Brian Swetland <hidden>
Date: 2009-12-15 21:07:21
Also in: lkml

On Tue, Dec 15, 2009 at 12:48 PM, Jamie Lokier [off-list ref] wrote:
Perhaps the Dream's GPIOs are similar, but with opposite polarity.
If it also has the same transition driving spike, writing a 1->0
transition would be bad for the hardware making the shadow variable
even more important.
Arve will certainly step in if I'm wrong here, but I believe the issue
is that the dream CPLD GPIOs (which is what we're talking about, not
the MSM7K's onboard GPIOs which are more flexible) have no way to read
the set output state back.  So, you can't read-modify-write to change
just one of the 8 bits in a given bank.  The default mask values in
the android msm tree's trout gpio board files are based on what he
shipping HTC bootloader initializes things to.

Brian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help