From: Miguel Aguilar <miguel.aguilar-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org>
To: Kevin Hilman <khilman-1D3HCaltpLuhEniVeURVKkEOCMrvLtNR@public.gmane.org>
Cc: davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org,
clark.becker-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org,
linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
santiago.nunez-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org,
todd.fischer-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org
Subject: Re: [PATCH v4 1/2] Input: DaVinci Keypad Driver
Date: Tue, 13 Oct 2009 12:58:53 -0600 [thread overview]
Message-ID: <4AD4CDED.90208@ridgerun.com> (raw)
In-Reply-To: <874oq4sc1b.fsf-1D3HCaltpLuhEniVeURVKkEOCMrvLtNR@public.gmane.org>
Kevin Hilman wrote:
> <miguel.aguilar-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org> writes:
>
>> From: Miguel Aguilar <miguel.aguilar-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org>
>>
>> Adds the driver for enabling keypad support for DaVinci platforms.
>>
>> DM365 is the only platform that uses this driver at the moment.
>>
>> Signed-off-by: Miguel Aguilar <miguel.aguilar-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org>
>> ---
>> arch/arm/mach-davinci/include/mach/keyscan.h | 44 ++++
>> drivers/input/keyboard/Kconfig | 10 +
>> drivers/input/keyboard/Makefile | 1 +
>> drivers/input/keyboard/davinci_keyscan.c | 338 ++++++++++++++++++++++++++
>> 4 files changed, 393 insertions(+), 0 deletions(-)
>> create mode 100644 arch/arm/mach-davinci/include/mach/keyscan.h
>> create mode 100644 drivers/input/keyboard/davinci_keyscan.c
>>
>> diff --git a/arch/arm/mach-davinci/include/mach/keyscan.h b/arch/arm/mach-davinci/include/mach/keyscan.h
>> new file mode 100644
>> index 0000000..dd84361
>> --- /dev/null
>> +++ b/arch/arm/mach-davinci/include/mach/keyscan.h
>> @@ -0,0 +1,44 @@
>> +/*
>> + * Copyright (C) 2009 Texas Instruments, Inc
>> + *
>> + * Author: Miguel Aguilar <miguel.aguilar-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org>
>> + *
>> + * This program is free software; you can redistribute it and/or modify
>> + * it under the terms of the GNU General Public License as published by
>> + * the Free Software Foundation; either version 2 of the License, or
>> + * (at your option) any later version.
>> + *
>> + * This program is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
>> + * GNU General Public License for more details.
>> + *
>> + * You should have received a copy of the GNU General Public License
>> + * along with this program; if not, write to the Free Software
>> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
>> + */
>> +
>> +#ifndef DAVINCI_KEYSCAN_H
>> +#define DAVINCI_KEYSCAN_H
>> +
>> +#include <linux/io.h>
>> +
>> +/* Base of key scan register bank */
> n> +#define DM365_KEYSCAN_BASE (0x01C69400)
>
> This base address is not used in the driver code and is SoC specific.
>
> You've already defined it in PATCH 2/2 in the SoC specific files which
> is the right place.
>
> Kevin
Ok, I will move it to dm365.h.
Thanks,
Miguel Aguilar
next prev parent reply other threads:[~2009-10-13 18:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-09 17:27 [PATCH v4 1/2] Input: DaVinci Keypad Driver miguel.aguilar-9uBrGCPFOa1Wk0Htik3J/w
[not found] ` <1255109225-6833-1-git-send-email-miguel.aguilar-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org>
2009-10-12 18:27 ` Kevin Hilman
[not found] ` <874oq4sc1b.fsf-1D3HCaltpLuhEniVeURVKkEOCMrvLtNR@public.gmane.org>
2009-10-13 18:58 ` Miguel Aguilar [this message]
2009-10-13 5:46 ` Dmitry Torokhov
2009-10-13 16:21 ` H Hartley Sweeten
2009-10-13 16:55 ` Dmitry Torokhov
[not found] ` <20091013165524.GA21593-WlK9ik9hQGAhIp7JRqBPierSzoNAToWh@public.gmane.org>
2009-10-13 17:03 ` Miguel Aguilar
[not found] ` <20091013054644.GF2887-WlK9ik9hQGAhIp7JRqBPierSzoNAToWh@public.gmane.org>
2009-10-13 16:43 ` Miguel Aguilar
[not found] <1254772537-30836-1-git-send-email-miguel.aguilar@ridgerun.com>
[not found] ` <4ACF6DBA.8080307@ridgerun.com>
[not found] ` <20091009172011.GF1092@core.coreip.homeip.net>
2009-10-09 17:21 ` Dmitry Torokhov
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=4AD4CDED.90208@ridgerun.com \
--to=miguel.aguilar-9ubrgcpfoa1wk0htik3j/w@public.gmane.org \
--cc=clark.becker-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org \
--cc=davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org \
--cc=khilman-1D3HCaltpLuhEniVeURVKkEOCMrvLtNR@public.gmane.org \
--cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=santiago.nunez-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org \
--cc=todd.fischer-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.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.