From: Michael Hennerich <michael.hennerich@analog.com>
To: "dmitry.torokhov@gmail.com" <dmitry.torokhov@gmail.com>
Cc: "linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
"device-drivers-devel@blackfin.uclinux.org"
<device-drivers-devel@blackfin.uclinux.org>,
Drivers <Drivers@analog.com>
Subject: Re: [PATCH] input: keyboard: adp5589-keys: Add support for the ADP5585 derivatives
Date: Wed, 3 Aug 2011 10:30:08 +0200 [thread overview]
Message-ID: <4E390710.5060503@analog.com> (raw)
In-Reply-To: <1311944415-20197-1-git-send-email-michael.hennerich@analog.com>
On 07/29/2011 03:00 PM, michael.hennerich@analog.com wrote:
> From: Michael Hennerich<michael.hennerich@analog.com>
>
> The ADP5585 family keypad decoder and IO expander is similar to the ADP5589,
> however it features less IO pins, and lacks hardware assisted key-lock
> functionality. Unfortunately the register addresses are different, as well as
> the event codes and bit organization within the port related registers.
>
> Move ADP5589 Register defines from the header file into the main source file.
> Add new defines while making sure we don't break existing platform_data.
> Add register address translation, and turn device specific defines into variables.
> Introduce some helper functions and disable functions that doesn't
> exist on the added devices.
>
> Signed-off-by: Michael Hennerich<michael.hennerich@analog.com>
> ---
> drivers/input/keyboard/Kconfig | 4 +-
> drivers/input/keyboard/adp5589-keys.c | 607 ++++++++++++++++++++++++++-------
> include/linux/input/adp5589.h | 157 ++++-----
> 3 files changed, 549 insertions(+), 219 deletions(-)
>
Hi Dmitry,
If you prefer support for the ADP5585 as separate driver, please let me
know.
--
Greetings,
Michael
--
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin,
Margaret Seif
next prev parent reply other threads:[~2011-08-03 8:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-29 13:00 [PATCH] input: keyboard: adp5589-keys: Add support for the ADP5585 derivatives michael.hennerich
2011-08-03 8:30 ` Michael Hennerich [this message]
2011-08-04 3:19 ` Dmitry Torokhov
2011-08-04 7:49 ` Michael Hennerich
2011-08-04 7:55 ` Dmitry Torokhov
2011-09-02 8:08 ` Hennerich, Michael
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=4E390710.5060503@analog.com \
--to=michael.hennerich@analog.com \
--cc=Drivers@analog.com \
--cc=device-drivers-devel@blackfin.uclinux.org \
--cc=dmitry.torokhov@gmail.com \
--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 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).