improve pxa27x keypad driver

Started by eric miao on Jan 23, 2008

DORMANTno replies

open the first message on its own page

Message details and related content
Most of the code are actually identical to the previous pxa3xx version
I sent to this list month ago. These are separated patches based on
the existing pxa27x_keyboard.c, as requested.

The series of the patches can actually be divided into two groups:
---
      pxa: rename the pxa27x_keyboard to pxa27x_keypad
      pxa: remove the pin configuration from the keypad driver
      pxa: introduce driver structure and use KEY() to define matrix keys
      pxa: introduce pxa27x_keypad_config() for keypad registers configuration
      pxa: enable both rotary encoders and direct keys for keypad
      pxa: use device resources for I/O memory mapping and IRQ
      pxa: add debounce_interval configuration to the keypad platform data
      pxa: make pxa27x_keypad.c support both pxa27x and pxa3xx

---
      pxa: add pxa27x_keypad device and pxa_set_keypad_info()
      pxa: add partial keypad support for mainstone
      pxa: add keypad support for zylonite
      pxa: add keypad support for littleton

I'll send the below 4 patches to RMK's tree if the above 6 are merged.
I'm listing them here for the purpose of completeness and illustration
of the usage.

-- 
Cheers
- eric
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help