From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Cyril Chemparathy <cyril@ti.com>
Cc: linux-input@vger.kernel.org,
davinci-linux-open-source@linux.davincidsp.com
Subject: Re: [PATCH 1/7] davinci: define tnetv107x keypad platform data
Date: Mon, 13 Sep 2010 18:26:48 -0700 [thread overview]
Message-ID: <20100914012648.GC2491@core.coreip.homeip.net> (raw)
In-Reply-To: <1284395388-32687-2-git-send-email-cyril@ti.com>
Hi Cyril,
On Mon, Sep 13, 2010 at 12:29:42PM -0400, Cyril Chemparathy wrote:
> This patch adds a definition for the platform data structure needed to
> configure the keypad controller on tnetv107x socs.
>
> Since this controller is (so far) present only on tnetv107x devices, the data
> structure definition has been kept local to tnetv107x.
>
> Signed-off-by: Cyril Chemparathy <cyril@ti.com>
> ---
> arch/arm/mach-davinci/include/mach/tnetv107x.h | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/include/mach/tnetv107x.h b/arch/arm/mach-davinci/include/mach/tnetv107x.h
> index c720647..1ee3035 100644
> --- a/arch/arm/mach-davinci/include/mach/tnetv107x.h
> +++ b/arch/arm/mach-davinci/include/mach/tnetv107x.h
> @@ -37,6 +37,16 @@
> #include <mach/nand.h>
> #include <mach/serial.h>
>
> +struct tnetv107x_keypad_data {
> + int *keymap;
> + const char **keynames;
> + int keymap_size;
> + int rows;
> + int cols;
> + u32 debounce;
> + u32 stable;
> +};
> +
This should be folded into the next patch and probably split into a
separate header file. Also, please consider switching to interface in
linux/input/matrix_keymap.h
Thanks.
-
Dmitry
next prev parent reply other threads:[~2010-09-14 1:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-13 16:29 [PATCH 0/7] add tnetv107x input drivers Cyril Chemparathy
2010-09-13 16:29 ` [PATCH 1/7] davinci: define tnetv107x keypad platform data Cyril Chemparathy
2010-09-14 1:26 ` Dmitry Torokhov [this message]
2010-09-13 16:29 ` [PATCH 2/7] input: add driver for tnetv107x on-chip keypad controller Cyril Chemparathy
2010-09-14 1:26 ` Dmitry Torokhov
2010-09-13 16:29 ` [PATCH 3/7] davinci: add tnetv107x keypad platform device Cyril Chemparathy
2010-09-13 16:29 ` [PATCH 4/7] davinci: add keypad config for tnetv107x evm board Cyril Chemparathy
2010-09-13 16:29 ` [PATCH 5/7] input: add driver for tnetv107x touchscreen controller Cyril Chemparathy
2010-09-14 1:27 ` Dmitry Torokhov
2010-09-14 6:38 ` Datta, Shubhrajyoti
2010-09-13 16:29 ` [PATCH 6/7] davinci: add tnetv107x touchscreen platform device Cyril Chemparathy
2010-09-13 16:29 ` [PATCH 7/7] davinci: add touchscreen config for tnetv107x evm board Cyril Chemparathy
2010-09-16 17:53 ` [PATCH 0/7] add tnetv107x input drivers Kevin Hilman
2010-09-16 18:11 ` Dmitry Torokhov
2010-09-16 18:29 ` Kevin Hilman
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=20100914012648.GC2491@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=cyril@ti.com \
--cc=davinci-linux-open-source@linux.davincidsp.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).