Re: [PATCH] Generic, platform independent matrix keyboard support

2007-10-14 Thread David Brownell
On Sunday 14 October 2007, Pavel Pisa wrote: > I would be much more happy, if such pressure for generality would > be pushed into directions where such universality makes more sense. > GPIO is an example. It would be great if there would be support to test > if pin can become input, output, has pul

Re: [PATCH] Generic, platform independent matrix keyboard support

2007-10-14 Thread Pavel Pisa
On Wednesday 10 October 2007 15:10, Dmitry Torokhov wrote: > On 10/9/07, David Brownell <[EMAIL PROTECTED]> wrote: > > On Tuesday 09 October 2007, Pavel Pisa wrote: > > > On the other hand I cannot imagine electronic designed wanting > > > so many wires. Reduction of the wires counts is why matrix

Re: [PATCH] Generic, platform independent matrix keyboard support

2007-10-10 Thread Dmitry Torokhov
On 10/9/07, Pavel Pisa <[EMAIL PROTECTED]> wrote: > > Name of corresponding platform and PCI methods is probe. > But name can be changed if new one is seen as more logical. > There you indeed probing devices for supported functionality. But here you just register a new object with the system (note

Re: [PATCH] Generic, platform independent matrix keyboard support

2007-10-10 Thread Dmitry Torokhov
On 10/9/07, David Brownell <[EMAIL PROTECTED]> wrote: > On Tuesday 09 October 2007, Pavel Pisa wrote: > > On the other hand I cannot imagine electronic designed wanting > > so many wires. Reduction of the wires counts is why matrix keyboards > > are used. The 32 bits limitation then means that maxi

Re: [PATCH] Generic, platform independent matrix keyboard support

2007-10-09 Thread David Brownell
On Tuesday 09 October 2007, Pavel Pisa wrote: > On the other hand I cannot imagine electronic designed wanting > so many wires. Reduction of the wires counts is why matrix keyboards > are used. The 32 bits limitation then means that maximal supported > keyboard can be 32x32 key => 1024 keys, that i

Re: [PATCH] Generic, platform independent matrix keyboard support

2007-10-09 Thread Pavel Pisa
Hello Dimitry, thanks for review and excuse for my mistakes and not well described things. On Tuesday 09 October 2007 18:22, Dmitry Torokhov wrote: > On 10/9/07, Pavel Pisa <[EMAIL PROTECTED]> wrote: > > Subject: Generic, platform independent matrix keyboard support > > Only commenting on the gen

Re: [PATCH] Generic, platform independent matrix keyboard support

2007-10-09 Thread Dmitry Torokhov
Hi Pavel, On 10/9/07, Pavel Pisa <[EMAIL PROTECTED]> wrote: > Subject: Generic, platform independent matrix keyboard support > From: Pavel Pisa <[EMAIL PROTECTED]> > > The genmatrix_kbd module provides support for matrix keyboard > where switches interconnects return lines with port driven > scan

[PATCH] Generic, platform independent matrix keyboard support

2007-08-26 Thread Pavel Pisa
The genmatrix_kbd module provides support for matrix keyboard where switches interconnects return lines with port driven scan lines. Actual version code allow to register concrete hardware described by platform device. Hardware can be described by list of output and input pins and manipulation can