From: Oleg Kravchenko <oleg@kaa.org.ua>
To: linux-input@vger.kernel.org
Subject: i2c keyboard
Date: Mon, 23 Feb 2009 10:50:52 +0200 [thread overview]
Message-ID: <49A2636C.10502@kaa.org.ua> (raw)
Hello, everyone.
We are porting the Linux kernel to our PDA, Asus P525/P535. This device
has a pca9535 gpio extender. The keyboard is connected to it. The
extender has only one irq. At the moment, the pca9535 is handled by
pca953x gpio driver. We need to have the access to its registers from
our keyboard driver (so as not to read 13 gpios, but decode the register
containing gpio states). If i try to read each of these 13 gpios after
the interrupt from the extender comes, the kernel crashes. Is there a
solution to read i2c client addresses when there is a client registered
already?
http://www.kaa.org.ua/asus-p535/hardware.html
next reply other threads:[~2009-02-23 9:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-23 8:50 Oleg Kravchenko [this message]
2009-02-23 11:05 ` i2c keyboard Marek Vasut
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=49A2636C.10502@kaa.org.ua \
--to=oleg@kaa.org.ua \
--cc=linux-input@vger.kernel.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 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.