From: Marek Vasut <marek.vasut@gmail.com>
To: Oleg Kravchenko <oleg@kaa.org.ua>
Cc: linux-input@vger.kernel.org
Subject: Re: i2c keyboard
Date: Mon, 23 Feb 2009 12:05:38 +0100 [thread overview]
Message-ID: <200902231205.38255.marek.vasut@gmail.com> (raw)
In-Reply-To: <49A2636C.10502@kaa.org.ua>
On Monday 23 of February 2009 09:50:52 Oleg Kravchenko wrote:
> 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?
>
There was some discussion about implementing batch GPIO reads in
linux-arm-kernel mailing list, that's probably what you want.
>
> http://www.kaa.org.ua/asus-p535/hardware.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-input" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2009-02-23 11:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-23 8:50 i2c keyboard Oleg Kravchenko
2009-02-23 11:05 ` Marek Vasut [this message]
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=200902231205.38255.marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=oleg@kaa.org.ua \
/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).