[PATCH 2/3] Matrix keypad

STALE6401d

10 messages, 3 authors, 2009-04-10 · open the first message on its own page

[PATCH 2/3] Matrix keypad

From: Marek Vasut <hidden>
Date: 2008-07-09 01:39:26

Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.

Re: [PATCH 2/3] Matrix keypad

From: Trilok Soni <hidden>
Date: 2009-04-07 11:37:52

Hi Marek Vasut,

On Wed, Jul 9, 2008 at 7:11 AM, Marek Vasut [off-list ref] wrote:
Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.
Is there any interest for this patch to get mainlined through input subsystem ?

-- 
---Trilok Soni
http://triloksoni.wordpress.com
http://www.linkedin.com/in/triloksoni

Re: [PATCH 2/3] Matrix keypad

From: Marek Vasut <hidden>
Date: 2009-04-07 13:16:48

On Tuesday 07 of April 2009 13:37:50 Trilok Soni wrote:
Hi Marek Vasut,

On Wed, Jul 9, 2008 at 7:11 AM, Marek Vasut [off-list ref] wrote:
quoted
Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.
Is there any interest for this patch to get mainlined through input
subsystem ?
Yes, I'd like to see it mainlined as I need it on some devices. I haven't 
gotten to rewriting it as Dmitry Torokhov requested me to (see his reply in 
linux-input) though.

Re: [PATCH 2/3] Matrix keypad

From: Trilok Soni <hidden>
Date: 2009-04-07 13:41:06

Hi Marek,

On Tue, Apr 7, 2009 at 6:46 PM, Marek Vasut [off-list ref] wrote:
On Tuesday 07 of April 2009 13:37:50 Trilok Soni wrote:
quoted
Hi Marek Vasut,

On Wed, Jul 9, 2008 at 7:11 AM, Marek Vasut [off-list ref] wrote:
quoted
Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.
Is there any interest for this patch to get mainlined through input
subsystem ?
Yes, I'd like to see it mainlined as I need it on some devices. I haven't
gotten to rewriting it as Dmitry Torokhov requested me to (see his reply in
linux-input) though.
I found only this thread where Dmitry Baryshkov had given some comments.

http://marc.info/?t=121732956800006&r=1&w=2

AFAIK, there is no need to give irqf_sample_random for input drivers
interrupts, as it is already done by input subsystem. Could you please
point to the exact thread where Dmitry Torokhov commented?


-- 
---Trilok Soni
http://triloksoni.wordpress.com
http://www.linkedin.com/in/triloksoni

Re: [PATCH 2/3] Matrix keypad

From: Marek Vasut <hidden>
Date: 2009-04-07 13:59:54

On Tuesday 07 of April 2009 15:41:05 Trilok Soni wrote:
Hi Marek,

On Tue, Apr 7, 2009 at 6:46 PM, Marek Vasut [off-list ref] wrote:
quoted
On Tuesday 07 of April 2009 13:37:50 Trilok Soni wrote:
quoted
Hi Marek Vasut,

On Wed, Jul 9, 2008 at 7:11 AM, Marek Vasut [off-list ref] 
wrote:
quoted
quoted
quoted
Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.
Is there any interest for this patch to get mainlined through input
subsystem ?
Yes, I'd like to see it mainlined as I need it on some devices. I haven't
gotten to rewriting it as Dmitry Torokhov requested me to (see his reply
in linux-input) though.
I found only this thread where Dmitry Baryshkov had given some comments.

http://marc.info/?t=121732956800006&r=1&w=2

AFAIK, there is no need to give irqf_sample_random for input drivers
interrupts, as it is already done by input subsystem. Could you please
point to the exact thread where Dmitry Torokhov commented?
http://article.gmane.org/gmane.linux.kernel.input/5551 try here

Re: [PATCH 2/3] Matrix keypad

From: Marek Vasut <hidden>
Date: 2009-04-09 16:57:21

On Tuesday 07 of April 2009 15:59:59 Marek Vasut wrote:
On Tuesday 07 of April 2009 15:41:05 Trilok Soni wrote:
quoted
Hi Marek,

On Tue, Apr 7, 2009 at 6:46 PM, Marek Vasut [off-list ref] wrote:
quoted
On Tuesday 07 of April 2009 13:37:50 Trilok Soni wrote:
quoted
Hi Marek Vasut,

On Wed, Jul 9, 2008 at 7:11 AM, Marek Vasut [off-list ref]
wrote:
quoted
quoted
quoted
quoted
Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.
Is there any interest for this patch to get mainlined through input
subsystem ?
Yes, I'd like to see it mainlined as I need it on some devices. I
haven't gotten to rewriting it as Dmitry Torokhov requested me to (see
his reply in linux-input) though.
I found only this thread where Dmitry Baryshkov had given some comments.

http://marc.info/?t=121732956800006&r=1&w=2

AFAIK, there is no need to give irqf_sample_random for input drivers
interrupts, as it is already done by input subsystem. Could you please
point to the exact thread where Dmitry Torokhov commented?
http://article.gmane.org/gmane.linux.kernel.input/5551 try here
just wondering ... do you need that driver or something ? or are you willing 
to do the final fixes ? :)

Re: [PATCH 2/3] Matrix keypad

From: Eric Miao <hidden>
Date: 2009-04-10 04:19:11

On Fri, Apr 10, 2009 at 12:57 AM, Marek Vasut [off-list ref] wrote:
On Tuesday 07 of April 2009 15:59:59 Marek Vasut wrote:
quoted
On Tuesday 07 of April 2009 15:41:05 Trilok Soni wrote:
quoted
Hi Marek,

On Tue, Apr 7, 2009 at 6:46 PM, Marek Vasut [off-list ref] wrote:
quoted
On Tuesday 07 of April 2009 13:37:50 Trilok Soni wrote:
quoted
Hi Marek Vasut,

On Wed, Jul 9, 2008 at 7:11 AM, Marek Vasut [off-list ref]
wrote:
quoted
quoted
quoted
quoted
Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.
Is there any interest for this patch to get mainlined through input
subsystem ?
Yes, I'd like to see it mainlined as I need it on some devices. I
haven't gotten to rewriting it as Dmitry Torokhov requested me to (see
his reply in linux-input) though.
I found only this thread where Dmitry Baryshkov had given some comments.

http://marc.info/?t=121732956800006&r=1&w=2

AFAIK, there is no need to give irqf_sample_random for input drivers
interrupts, as it is already done by input subsystem. Could you please
point to the exact thread where Dmitry Torokhov commented?
http://article.gmane.org/gmane.linux.kernel.input/5551 try here
just wondering ... do you need that driver or something ? or are you willing
to do the final fixes ? :)
I'll take a look into this. I need this driver to deprecate the original
corgi/poodle keyboard driver, which causes a lot of ugly warnings.

Re: [PATCH 2/3] Matrix keypad

From: Marek Vasut <hidden>
Date: 2009-04-10 05:52:20

On Friday 10 of April 2009 06:19:09 Eric Miao wrote:
On Fri, Apr 10, 2009 at 12:57 AM, Marek Vasut [off-list ref] wrote:
quoted
On Tuesday 07 of April 2009 15:59:59 Marek Vasut wrote:
quoted
On Tuesday 07 of April 2009 15:41:05 Trilok Soni wrote:
quoted
Hi Marek,

On Tue, Apr 7, 2009 at 6:46 PM, Marek Vasut [off-list ref] 
wrote:
quoted
quoted
quoted
quoted
On Tuesday 07 of April 2009 13:37:50 Trilok Soni wrote:
quoted
Hi Marek Vasut,

On Wed, Jul 9, 2008 at 7:11 AM, Marek Vasut [off-list ref]
wrote:
quoted
quoted
quoted
quoted
Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.
Is there any interest for this patch to get mainlined through input
subsystem ?
Yes, I'd like to see it mainlined as I need it on some devices. I
haven't gotten to rewriting it as Dmitry Torokhov requested me to
(see his reply in linux-input) though.
I found only this thread where Dmitry Baryshkov had given some
comments.

http://marc.info/?t=121732956800006&r=1&w=2

AFAIK, there is no need to give irqf_sample_random for input drivers
interrupts, as it is already done by input subsystem. Could you please
point to the exact thread where Dmitry Torokhov commented?
http://article.gmane.org/gmane.linux.kernel.input/5551 try here
just wondering ... do you need that driver or something ? or are you
willing to do the final fixes ? :)
I'll take a look into this. I need this driver to deprecate the original
corgi/poodle keyboard driver, which causes a lot of ugly warnings.
That'd be great, I need it on two devices too. I'm a little frightened about 
it's speed though as it's iterating over all the GPIOs, but there is a 
possibility to read a whole bunch of GPIOs at one time now, right ?

Re: [PATCH 2/3] Matrix keypad

From: Eric Miao <hidden>
Date: 2009-04-10 07:05:54

On Fri, Apr 10, 2009 at 1:52 PM, Marek Vasut [off-list ref] wrote:
On Friday 10 of April 2009 06:19:09 Eric Miao wrote:
quoted
On Fri, Apr 10, 2009 at 12:57 AM, Marek Vasut [off-list ref] wrote:
quoted
On Tuesday 07 of April 2009 15:59:59 Marek Vasut wrote:
quoted
On Tuesday 07 of April 2009 15:41:05 Trilok Soni wrote:
quoted
Hi Marek,

On Tue, Apr 7, 2009 at 6:46 PM, Marek Vasut [off-list ref]
wrote:
quoted
quoted
quoted
quoted
quoted
On Tuesday 07 of April 2009 13:37:50 Trilok Soni wrote:
quoted
Hi Marek Vasut,

On Wed, Jul 9, 2008 at 7:11 AM, Marek Vasut [off-list ref]
wrote:
quoted
quoted
quoted
quoted
Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.
Is there any interest for this patch to get mainlined through input
subsystem ?
Yes, I'd like to see it mainlined as I need it on some devices. I
haven't gotten to rewriting it as Dmitry Torokhov requested me to
(see his reply in linux-input) though.
I found only this thread where Dmitry Baryshkov had given some
comments.

http://marc.info/?t=121732956800006&r=1&w=2

AFAIK, there is no need to give irqf_sample_random for input drivers
interrupts, as it is already done by input subsystem. Could you please
point to the exact thread where Dmitry Torokhov commented?
http://article.gmane.org/gmane.linux.kernel.input/5551 try here
just wondering ... do you need that driver or something ? or are you
willing to do the final fixes ? :)
I'll take a look into this. I need this driver to deprecate the original
corgi/poodle keyboard driver, which causes a lot of ugly warnings.
That'd be great, I need it on two devices too. I'm a little frightened about
it's speed though as it's iterating over all the GPIOs, but there is a
possibility to read a whole bunch of GPIOs at one time now, right ?
I'm not sure if Jaya Kumar's batch gpio patches have been merged or
not. Performance should not be that sensitive for keypad :)

-- 
Cheers
- eric

Re: [PATCH 2/3] Matrix keypad

From: Trilok Soni <hidden>
Date: 2009-04-10 16:06:17

Hi Marek,

On Thu, Apr 9, 2009 at 10:27 PM, Marek Vasut [off-list ref] wrote:
On Tuesday 07 of April 2009 15:59:59 Marek Vasut wrote:
quoted
On Tuesday 07 of April 2009 15:41:05 Trilok Soni wrote:
quoted
Hi Marek,

On Tue, Apr 7, 2009 at 6:46 PM, Marek Vasut [off-list ref] wrote:
quoted
On Tuesday 07 of April 2009 13:37:50 Trilok Soni wrote:
quoted
Hi Marek Vasut,

On Wed, Jul 9, 2008 at 7:11 AM, Marek Vasut [off-list ref]
wrote:
quoted
quoted
quoted
quoted
Hi,
this is the gpio driven matrix keypad. Final version.
I also CCed it to linux-input since it might interest them.
Is there any interest for this patch to get mainlined through input
subsystem ?
Yes, I'd like to see it mainlined as I need it on some devices. I
haven't gotten to rewriting it as Dmitry Torokhov requested me to (see
his reply in linux-input) though.
I found only this thread where Dmitry Baryshkov had given some comments.

http://marc.info/?t=121732956800006&r=1&w=2

AFAIK, there is no need to give irqf_sample_random for input drivers
interrupts, as it is already done by input subsystem. Could you please
point to the exact thread where Dmitry Torokhov commented?
http://article.gmane.org/gmane.linux.kernel.input/5551 try here
just wondering ... do you need that driver or something ? or are you willing
to do the final fixes ? :)
Actually both as time permits.

1. input_polldev support for gpios which can't be configured for irqs
2. hopefully removing kthread with timer

I was also comparing this driver with one written for matrix gpio
keypad in android-msm-kernel. You might want to have look at it.

gpio_matrix.c:

http://android.git.kernel.org/?p=kernel/msm.git;a=blob;f=drivers/input/misc/gpio_matrix.c;h=c1f47651a4937d5c976a9625ca5da389dd7e4a7c;hb=HEAD

gpio_input.c:

http://android.git.kernel.org/?p=kernel/msm.git;a=blob;f=drivers/input/misc/gpio_input.c;h=7e307f267a2a059b64a3fb9c8a379b149016b2f8;hb=HEAD


-- 
---Trilok Soni
http://triloksoni.wordpress.com
http://www.linkedin.com/in/triloksoni
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help