From: Miguel Aguilar <miguel.aguilar-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org>
To: "Paulraj, Sandeep" <s-paulraj-l0cyMroinI0@public.gmane.org>
Cc: "davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org"
<davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org>,
"clark.becker-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org"
<clark.becker-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org>,
"linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"santiago.nunez-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org"
<santiago.nunez-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org>,
"todd.fischer-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org"
<todd.fischer-9uBrGCPFOa1Wk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH 1/3] Input: DaVinci Key Scan Driver
Date: Fri, 25 Sep 2009 08:45:31 -0600 [thread overview]
Message-ID: <4ABCD78B.5050605@ridgerun.com> (raw)
In-Reply-To: <0554BEF07D437848AF01B9C9B5F0BC5D92C8EBC0-bGftbgMkZa+IQmiDNMet8wC/G2K4zDHf@public.gmane.org>
>>>>> + /* Enable Keyscan module and enable */
>>>>> + davinci_ks_write(davinci_ks, DAVINCI_KEYSCAN_AUTODET |
>> DAVINCI_KEYSCAN_KEYEN,
>>>>> + DAVINCI_KEYSCAN_KEYCTRL);
>>>> We seem to be hardcoded to the 4x4 matrix type here.
>>>> Some DM365 boards could use 5x3 matrix.
>>>>
>>>> Thanks,
>>>> Sekhar
>>>>
>>> [MA] I will add a platform option for matrix type to choose 4x4 or 5x3
>> matrix.
>>> What do think about this?
>>>
>> Sounds good. I am not sure if any other piece of code
>> needs to change though.
> The strobe and interval have to change. Afcourse that change comes into the picture only when the mode is changed from 4x4 to 5x3.
> I can see that there are options given for this in board specific code.
>> Thanks,
>> Sekhar
>
> Thanks,
> Sandeep
>
struct davinci_ks_platform_data {
unsigned short *keymap;
u32 keymapsize;
u32 rep:1;
u32 strobe;
u32 interval;
+ u32 matrix_type;
};
I will add something like this, so from the board specific code you can define
strobe, interval and matrix type.
Thanks,
Miguel Aguilar
next prev parent reply other threads:[~2009-09-25 14:45 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-24 16:53 [PATCH 1/3] Input: DaVinci Key Scan Driver miguel.aguilar
2009-09-24 17:13 ` Miguel Aguilar
2009-09-25 4:01 ` Dmitry Torokhov
2009-09-25 14:19 ` Miguel Aguilar
2009-09-28 17:02 ` Dmitry Torokhov
2009-09-25 6:13 ` Nori, Sekhar
2009-09-25 14:21 ` Miguel Aguilar
2009-09-25 14:31 ` Nori, Sekhar
[not found] ` <B85A65D85D7EB246BE421B3FB0FBB59301DDAB36C3-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2009-09-25 14:39 ` Paulraj, Sandeep
[not found] ` <0554BEF07D437848AF01B9C9B5F0BC5D92C8EBC0-bGftbgMkZa+IQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2009-09-25 14:45 ` Miguel Aguilar [this message]
2009-09-28 17:02 ` Dmitry Torokhov
2009-09-28 17:06 ` Paulraj, Sandeep
2009-09-29 21:24 ` Kevin Hilman
2009-09-30 13:40 ` Miguel Aguilar
2009-10-05 17:54 ` Dmitry Torokhov
[not found] ` <20091005175428.GB18588-WlK9ik9hQGAhIp7JRqBPierSzoNAToWh@public.gmane.org>
2009-10-05 19:29 ` Miguel Aguilar
2009-09-28 17:14 ` Paulraj, Sandeep
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=4ABCD78B.5050605@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=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=s-paulraj-l0cyMroinI0@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 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).